aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-09-07 00:35:51 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-09-07 06:21:33 +0000
commitb454245487812c4e3b9d68e1b52fa0d9466025d4 (patch)
treed2cdce8da39ad508aa3d4bf0a30a0f2091e69ef2
parente20f501c26615d27e00ccee480255dbc94b844e0 (diff)
devel/py-pyuca: New port: Python implementation of the Unicode Collation Algorithm
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-pyuca/Makefile19
-rw-r--r--devel/py-pyuca/distinfo3
-rw-r--r--devel/py-pyuca/pkg-descr3
4 files changed, 26 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index dbb0276cff5b..edf82dd4f875 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5674,6 +5674,7 @@
SUBDIR += py-pytz
SUBDIR += py-pytz-deprecation-shim
SUBDIR += py-pytzdata
+ SUBDIR += py-pyuca
SUBDIR += py-pyudev
SUBDIR += py-pyupgrade
SUBDIR += py-pyusb
diff --git a/devel/py-pyuca/Makefile b/devel/py-pyuca/Makefile
new file mode 100644
index 000000000000..d93b3b295def
--- /dev/null
+++ b/devel/py-pyuca/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= pyuca
+DISTVERSION= 1.2
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Python implementation of the Unicode Collation Algorithm
+WWW= https://github.com/jtauber/pyuca
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python
+USE_PYTHON= distutils autoplist pytest
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pyuca/distinfo b/devel/py-pyuca/distinfo
new file mode 100644
index 000000000000..f1a14e7b492c
--- /dev/null
+++ b/devel/py-pyuca/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1725659880
+SHA256 (pyuca-1.2.tar.gz) = 8a382fe74627f08c0d18908c0713ca4a20aad5385f077579e56208beea2893b2
+SIZE (pyuca-1.2.tar.gz) = 1398641
diff --git a/devel/py-pyuca/pkg-descr b/devel/py-pyuca/pkg-descr
new file mode 100644
index 000000000000..e6e52a93e3e5
--- /dev/null
+++ b/devel/py-pyuca/pkg-descr
@@ -0,0 +1,3 @@
+pyuca is a Python implementation of the Unicode Collation Algorithm (UCA).
+
+UCA is used to sort non-English strings properly.