diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2025-08-25 03:38:21 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2025-08-25 06:18:06 +0000 |
| commit | fe399511665d206b2e4e40bde580a3a42e3446fa (patch) | |
| tree | fe235e666254f065046f3ee1767dbf0279ea5b0d | |
| parent | dc5de92bc27f37f87ba162b8d29a2a2e7ba17274 (diff) | |
textproc/py-language-tags: New port: IANA language tags in Python
| -rw-r--r-- | textproc/Makefile | 1 | ||||
| -rw-r--r-- | textproc/py-language-tags/Makefile | 20 | ||||
| -rw-r--r-- | textproc/py-language-tags/distinfo | 3 | ||||
| -rw-r--r-- | textproc/py-language-tags/pkg-descr | 2 |
4 files changed, 26 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 9b267892ae78..1d744ad9e0d0 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1442,6 +1442,7 @@ SUBDIR += py-langdetect SUBDIR += py-langid SUBDIR += py-language-data + SUBDIR += py-language-tags SUBDIR += py-laserhammer SUBDIR += py-latexcodec SUBDIR += py-license-expression diff --git a/textproc/py-language-tags/Makefile b/textproc/py-language-tags/Makefile new file mode 100644 index 000000000000..e430fddef489 --- /dev/null +++ b/textproc/py-language-tags/Makefile @@ -0,0 +1,20 @@ +PORTNAME= language-tags +DISTVERSION= 1.2.0 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= IANA language tags in Python +WWW= https://github.com/OnroerendErfgoed/language-tags + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/textproc/py-language-tags/distinfo b/textproc/py-language-tags/distinfo new file mode 100644 index 000000000000..2e7122638da0 --- /dev/null +++ b/textproc/py-language-tags/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1756092858 +SHA256 (language_tags-1.2.0.tar.gz) = e934acba3e3dc85f867703eca421847a9ab7b7679b11b5d5cfd096febbf8bde6 +SIZE (language_tags-1.2.0.tar.gz) = 207901 diff --git a/textproc/py-language-tags/pkg-descr b/textproc/py-language-tags/pkg-descr new file mode 100644 index 000000000000..73e9ed3061c3 --- /dev/null +++ b/textproc/py-language-tags/pkg-descr @@ -0,0 +1,2 @@ +language-tags is a Python API offers a way to validate and lookup +languages tags. |
