git: 37ed6b4bf88b - main - textproc/py-graphemeu: Add py-graphemeu 0.7.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 14 Mar 2025 09:57:14 UTC
The branch main has been updated by sunpoet:

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

commit 37ed6b4bf88b1e4203763a82212fb2bc4abd3fa1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-03-14 09:37:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-03-14 09:53:59 +0000

    textproc/py-graphemeu: Add py-graphemeu 0.7.2
    
    graphemeu is a Python package for working with user perceived characters. More
    specifically, string manipulation and calculation functions for working with
    grapheme cluster groups (graphemes) as defined by the Unicode Standard Annex
    #29.
---
 textproc/Makefile               |  1 +
 textproc/py-graphemeu/Makefile  | 22 ++++++++++++++++++++++
 textproc/py-graphemeu/distinfo  |  3 +++
 textproc/py-graphemeu/pkg-descr |  4 ++++
 4 files changed, 30 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 3a3cb35409bf..a51569527111 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1406,6 +1406,7 @@
     SUBDIR += py-gensim
     SUBDIR += py-gi-docgen
     SUBDIR += py-grapheme
+    SUBDIR += py-graphemeu
     SUBDIR += py-grep-ast
     SUBDIR += py-griffe
     SUBDIR += py-grimoire-elk
diff --git a/textproc/py-graphemeu/Makefile b/textproc/py-graphemeu/Makefile
new file mode 100644
index 000000000000..5a984ddddfdc
--- /dev/null
+++ b/textproc/py-graphemeu/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	graphemeu
+PORTVERSION=	0.7.2
+CATEGORIES=	textproc python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Unicode grapheme helpers
+WWW=		https://graphemeu.readthedocs.io/en/latest/ \
+		https://github.com/timendum/grapheme
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-graphemeu/distinfo b/textproc/py-graphemeu/distinfo
new file mode 100644
index 000000000000..d48237e90a4c
--- /dev/null
+++ b/textproc/py-graphemeu/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1740836006
+SHA256 (graphemeu-0.7.2.tar.gz) = 42bbe373d7c146160f286cd5f76b1a8ad29172d7333ce10705c5cc282462a4f8
+SIZE (graphemeu-0.7.2.tar.gz) = 307626
diff --git a/textproc/py-graphemeu/pkg-descr b/textproc/py-graphemeu/pkg-descr
new file mode 100644
index 000000000000..233f486da569
--- /dev/null
+++ b/textproc/py-graphemeu/pkg-descr
@@ -0,0 +1,4 @@
+graphemeu is a Python package for working with user perceived characters. More
+specifically, string manipulation and calculation functions for working with
+grapheme cluster groups (graphemes) as defined by the Unicode Standard Annex
+#29.