mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
textproc/py-python-ulid2: Add py-python-ulid2 2.7.0 (copied from py-python-ulid)
- Add PORTSCOUT
This commit is contained in:
parent
534b2644c0
commit
655655bce5
4 changed files with 49 additions and 0 deletions
|
@ -1554,6 +1554,7 @@
|
|||
SUBDIR += py-python-pptx
|
||||
SUBDIR += py-python-slugify
|
||||
SUBDIR += py-python-ulid
|
||||
SUBDIR += py-python-ulid2
|
||||
SUBDIR += py-python-xmp-toolkit
|
||||
SUBDIR += py-pytidylib
|
||||
SUBDIR += py-pytkdocs
|
||||
|
|
33
textproc/py-python-ulid2/Makefile
Normal file
33
textproc/py-python-ulid2/Makefile
Normal file
|
@ -0,0 +1,33 @@
|
|||
PORTNAME= python-ulid
|
||||
PORTVERSION= 2.7.0
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
PKGNAMESUFFIX= 2
|
||||
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
|
||||
|
||||
PORTSCOUT= limit:^2\.
|
||||
|
||||
OPTIONS_DEFINE= PYDANTIC
|
||||
PYDANTIC_DESC= Pydantic support
|
||||
|
||||
PYDANTIC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0:devel/py-pydantic2@${PY_FLAVOR}
|
||||
|
||||
.include <bsd.port.mk>
|
3
textproc/py-python-ulid2/distinfo
Normal file
3
textproc/py-python-ulid2/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1718690484
|
||||
SHA256 (python_ulid-2.7.0.tar.gz) = 18eb595885140851a490a95b0da4447911ff69fa9f434732067b97f6956f9fe9
|
||||
SIZE (python_ulid-2.7.0.tar.gz) = 25010
|
12
textproc/py-python-ulid2/pkg-descr
Normal file
12
textproc/py-python-ulid2/pkg-descr
Normal 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)
|
Loading…
Add table
Reference in a new issue