mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
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:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1702543604
|
||||
SHA256 (python_ulid-2.2.0.tar.gz) = 9ec777177d396880d94be49ac7eb4ae2cd4a7474448bfdbfe911537add970aeb
|
||||
SIZE (python_ulid-2.2.0.tar.gz) = 21595
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user