python-iso639 is a Python package for ISO 639 language codes, names, and other associated information. Current features: * A representation of languages mapped across ISO 639-1, 639-2, and 639-3. * Functionality to "guess" what a language is for a given unknown language code or name. * Optimized for speed in retrieving language information.
27 lines
684 B
Makefile
27 lines
684 B
Makefile
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>
|