git: 5e404bd75d46 - main - devel/py-domdf-python-tools: Add py-domdf-python-tools 3.8.0.post2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 05 Apr 2024 00:44:28 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5e404bd75d460e3ec3bfade6b328ea501403f833

commit 5e404bd75d460e3ec3bfade6b328ea501403f833
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-05 00:36:50 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-05 00:36:50 +0000

    devel/py-domdf-python-tools: Add py-domdf-python-tools 3.8.0.post2
    
    domdf_python_tools provides helpful functions for Python.
---
 devel/Makefile                        |  1 +
 devel/py-domdf-python-tools/Makefile  | 32 ++++++++++++++++++++++++++++++++
 devel/py-domdf-python-tools/distinfo  |  3 +++
 devel/py-domdf-python-tools/pkg-descr |  1 +
 4 files changed, 37 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index f81c4502b62a..1999d0ad2b63 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4639,6 +4639,7 @@
     SUBDIR += py-dodgy
     SUBDIR += py-dogpile.cache
     SUBDIR += py-doit
+    SUBDIR += py-domdf-python-tools
     SUBDIR += py-donut-shellcode
     SUBDIR += py-dotted
     SUBDIR += py-dotty-dict
diff --git a/devel/py-domdf-python-tools/Makefile b/devel/py-domdf-python-tools/Makefile
new file mode 100644
index 000000000000..ba52b7e7a578
--- /dev/null
+++ b/devel/py-domdf-python-tools/Makefile
@@ -0,0 +1,32 @@
+PORTNAME=	domdf-python-tools
+PORTVERSION=	3.8.0.post2
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	domdf_python_tools-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Helpful functions for Python
+WWW=		https://domdf-python-tools.readthedocs.io/en/latest/ \
+		https://github.com/domdfcoding/domdf_python_tools
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=40.6.0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0.34.2:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}natsort>=7.0.1:devel/py-natsort@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.4.1:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30900
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6.0:devel/py-importlib-metadata@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-domdf-python-tools/distinfo b/devel/py-domdf-python-tools/distinfo
new file mode 100644
index 000000000000..86511a72795c
--- /dev/null
+++ b/devel/py-domdf-python-tools/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1712084444
+SHA256 (domdf_python_tools-3.8.0.post2.tar.gz) = a1fd255ea29f767b08de462d2da39d360262304389227d980bc307ee8aa3366a
+SIZE (domdf_python_tools-3.8.0.post2.tar.gz) = 148620
diff --git a/devel/py-domdf-python-tools/pkg-descr b/devel/py-domdf-python-tools/pkg-descr
new file mode 100644
index 000000000000..bf6aef525a67
--- /dev/null
+++ b/devel/py-domdf-python-tools/pkg-descr
@@ -0,0 +1 @@
+domdf_python_tools provides helpful functions for Python.