textproc/py-python-ulid: Add py-python-ulid 2.2.0

This port provides an implementation of ULID.

A ULID is a universally unique lexicographically sortable identifier. It is
- 128-bit compatible with UUID
- 1.21e+24 unique ULIDs per millisecond
- Lexicographically sortable!
- Canonically encoded as a 26 character string, as opposed to the 36 character
  UUID
- Uses Crockford's base32 for better efficiency and readability (5 bits per
  character)
- Case insensitive
- No special characters (URL safe)
This commit is contained in:
Po-Chuan Hsieh
2023-12-15 04:41:51 +08:00
parent 7335a129b2
commit 96f825ff33
4 changed files with 41 additions and 0 deletions
+1
View File
@@ -1521,6 +1521,7 @@
SUBDIR += py-python-markdown-math
SUBDIR += py-python-pptx
SUBDIR += py-python-slugify
SUBDIR += py-python-ulid
SUBDIR += py-python-xmp-toolkit
SUBDIR += py-pytidylib
SUBDIR += py-pytkdocs
+25
View File
@@ -0,0 +1,25 @@
PORTNAME= python-ulid
PORTVERSION= 2.2.0
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= python_ulid-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Universally unique lexicographically sortable identifier
WWW= https://python-ulid.readthedocs.io/en/latest/ \
https://github.com/mdomke/python-ulid
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
USES= python:3.9+
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
.include <bsd.port.mk>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1702543604
SHA256 (python_ulid-2.2.0.tar.gz) = 9ec777177d396880d94be49ac7eb4ae2cd4a7474448bfdbfe911537add970aeb
SIZE (python_ulid-2.2.0.tar.gz) = 21595
+12
View File
@@ -0,0 +1,12 @@
This port provides an implementation of ULID.
A ULID is a universally unique lexicographically sortable identifier. It is
- 128-bit compatible with UUID
- 1.21e+24 unique ULIDs per millisecond
- Lexicographically sortable!
- Canonically encoded as a 26 character string, as opposed to the 36 character
UUID
- Uses Crockford's base32 for better efficiency and readability (5 bits per
character)
- Case insensitive
- No special characters (URL safe)