git: b45424548781 - main - devel/py-pyuca: New port: Python implementation of the Unicode Collation Algorithm

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 07 Sep 2024 06:25:02 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b454245487812c4e3b9d68e1b52fa0d9466025d4

commit b454245487812c4e3b9d68e1b52fa0d9466025d4
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-09-07 00:35:51 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-09-07 06:21:33 +0000

    devel/py-pyuca: New port: Python implementation of the Unicode Collation Algorithm
---
 devel/Makefile           |  1 +
 devel/py-pyuca/Makefile  | 19 +++++++++++++++++++
 devel/py-pyuca/distinfo  |  3 +++
 devel/py-pyuca/pkg-descr |  3 +++
 4 files changed, 26 insertions(+)

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.