aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-python-iso639/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-python-iso639/Makefile')
-rw-r--r--textproc/py-python-iso639/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/textproc/py-python-iso639/Makefile b/textproc/py-python-iso639/Makefile
new file mode 100644
index 000000000000..6daefe6442a4
--- /dev/null
+++ b/textproc/py-python-iso639/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= python-iso639
+DISTVERSION= 2025.2.18
+CATEGORIES= textproc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= python_iso639-${DISTVERSION}
+
+MAINTAINER= wen@FreeBSD.org
+COMMENT= ISO 639 language codes, names, and other associated information
+WWW= https://pypi.org/project/python-iso639/
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517 pytest
+
+NO_ARCH= yes
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
+
+.include <bsd.port.mk>