git: 7e1228039346 - main - textproc/py-grapheme: Add py-grapheme 0.6.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Jan 2023 13:04:49 UTC
The branch main has been updated by sunpoet:

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

commit 7e122803934657446903febeae5d6ac68e816e23
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:21:15 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 12:58:49 +0000

    textproc/py-grapheme: Add py-grapheme 0.6.0
    
    grapheme 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-grapheme/Makefile  | 18 ++++++++++++++++++
 textproc/py-grapheme/distinfo  |  3 +++
 textproc/py-grapheme/pkg-descr |  4 ++++
 4 files changed, 26 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 3d52828e2e12..18fb8d2b115f 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1342,6 +1342,7 @@
     SUBDIR += py-gi-docgen
     SUBDIR += py-googletrans
     SUBDIR += py-grako
+    SUBDIR += py-grapheme
     SUBDIR += py-guess-language
     SUBDIR += py-hashids
     SUBDIR += py-hexdump
diff --git a/textproc/py-grapheme/Makefile b/textproc/py-grapheme/Makefile
new file mode 100644
index 000000000000..b4376490493b
--- /dev/null
+++ b/textproc/py-grapheme/Makefile
@@ -0,0 +1,18 @@
+PORTNAME=	grapheme
+PORTVERSION=	0.6.0
+CATEGORIES=	textproc python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Unicode grapheme helpers
+WWW=		https://github.com/alvinlindstam/grapheme
+
+LICENSE=	MIT
+
+USES=		python:3.5+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-grapheme/distinfo b/textproc/py-grapheme/distinfo
new file mode 100644
index 000000000000..143342405b78
--- /dev/null
+++ b/textproc/py-grapheme/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1674588066
+SHA256 (grapheme-0.6.0.tar.gz) = 44c2b9f21bbe77cfb05835fec230bd435954275267fea1858013b102f8603cca
+SIZE (grapheme-0.6.0.tar.gz) = 207306
diff --git a/textproc/py-grapheme/pkg-descr b/textproc/py-grapheme/pkg-descr
new file mode 100644
index 000000000000..feeff6c4c1a0
--- /dev/null
+++ b/textproc/py-grapheme/pkg-descr
@@ -0,0 +1,4 @@
+grapheme 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.