freebsd-ports/textproc/py-python-ulid/Makefile
Po-Chuan Hsieh 96f825ff33
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)
2023-12-15 04:41:51 +08:00

25 lines
757 B
Makefile

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>