summaryrefslogtreecommitdiff
path: root/textproc/py-python-ulid2/Makefile
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-10-18 02:59:36 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-10-18 02:59:36 +0800
commit655655bce571ad4ad8ef7160ff1d3756cbd881d7 (patch)
tree65c44544f0d0c396e6d3f52e4e99024ade5e1615 /textproc/py-python-ulid2/Makefile
parentgames/veloren-weekly: update to s20241017 (diff)
textproc/py-python-ulid2: Add py-python-ulid2 2.7.0 (copied from py-python-ulid)
- Add PORTSCOUT
Diffstat (limited to 'textproc/py-python-ulid2/Makefile')
-rw-r--r--textproc/py-python-ulid2/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/textproc/py-python-ulid2/Makefile b/textproc/py-python-ulid2/Makefile
new file mode 100644
index 000000000000..515f895f9d9c
--- /dev/null
+++ b/textproc/py-python-ulid2/Makefile
@@ -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>