textproc/py-langcodes: Add py-langcodes 3.3.0
langcodes knows what languages are. It knows the standardized codes that refer to them, such as en for English, es for Spanish and hi for Hindi. These are IETF language tags. You may know them by their old name, ISO 639 language codes. IETF has done some important things for backward compatibility and supporting language variations that you won't find in the ISO standard.
This commit is contained in:
parent
51e1402c84
commit
2a33c9bfda
|
@ -1403,6 +1403,7 @@
|
|||
SUBDIR += py-junit-xml
|
||||
SUBDIR += py-jupyter_sphinx
|
||||
SUBDIR += py-jupyterlab-pygments
|
||||
SUBDIR += py-langcodes
|
||||
SUBDIR += py-langdetect
|
||||
SUBDIR += py-langid
|
||||
SUBDIR += py-laserhammer
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
PORTNAME= langcodes
|
||||
PORTVERSION= 3.3.0
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Tools for labeling human languages with IETF language tags
|
||||
WWW= https://github.com/rspeer/langcodes
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
OPTIONS_DEFINE= DATA
|
||||
OPTIONS_DEFAULT=DATA
|
||||
DATA_DESC= Use supplementary language data
|
||||
|
||||
DATA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}language-data>=1.1<2:textproc/py-language-data@${PY_FLAVOR}
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1708448846
|
||||
SHA256 (langcodes-3.3.0.tar.gz) = 794d07d5a28781231ac335a1561b8442f8648ca07cd518310aeb45d6f0807ef6
|
||||
SIZE (langcodes-3.3.0.tar.gz) = 189505
|
|
@ -0,0 +1,6 @@
|
|||
langcodes knows what languages are. It knows the standardized codes that refer
|
||||
to them, such as en for English, es for Spanish and hi for Hindi.
|
||||
|
||||
These are IETF language tags. You may know them by their old name, ISO 639
|
||||
language codes. IETF has done some important things for backward compatibility
|
||||
and supporting language variations that you won't find in the ISO standard.
|
Loading…
Reference in New Issue