git: 916d8ac54c35 - main - devel/py-jaraco.text: Add py-jaraco.text 3.11.0

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

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

commit 916d8ac54c355e670a37fff6d3f30653a72bb6be
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:20:57 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 12:58:46 +0000

    devel/py-jaraco.text: Add py-jaraco.text 3.11.0
    
    This package provides handy routines for dealing with text, such as wrapping,
    substitution, trimming, stripping, prefix and suffix removal, line continuation,
    indentation, comment processing, identifier processing, values parsing, case
    insensitive comparison, and more. See the docs (linked in the badge above) for
    the detailed documentation and examples.
---
 devel/Makefile                      |  1 +
 devel/py-jaraco.text/Makefile       | 34 ++++++++++++++++++++++++++++++++++
 devel/py-jaraco.text/distinfo       |  3 +++
 devel/py-jaraco.text/files/setup.py |  3 +++
 devel/py-jaraco.text/pkg-descr      |  5 +++++
 5 files changed, 46 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 34c1d095e7bb..e8e54e018fa7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4729,6 +4729,7 @@
     SUBDIR += py-jaraco.functools
     SUBDIR += py-jaraco.itertools
     SUBDIR += py-jaraco.logging
+    SUBDIR += py-jaraco.text
     SUBDIR += py-jaraco.timing
     SUBDIR += py-jaraco.util
     SUBDIR += py-javaproperties
diff --git a/devel/py-jaraco.text/Makefile b/devel/py-jaraco.text/Makefile
new file mode 100644
index 000000000000..f6a71c9727ea
--- /dev/null
+++ b/devel/py-jaraco.text/Makefile
@@ -0,0 +1,34 @@
+PORTNAME=	jaraco.text
+PORTVERSION=	3.11.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Module for text manipulation
+WWW=		https://github.com/jaraco/jaraco.text
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}autocommand>=0:devel/py-autocommand@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}inflect>=0:devel/py-inflect@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jaraco.context>=4.1:devel/py-jaraco.context@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jaraco.functools>=0:devel/py-jaraco.functools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}more-itertools>=0:devel/py-more-itertools@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30900
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-resources>=0:devel/py-importlib-resources@${PY_FLAVOR}
+.endif
+
+post-patch:
+	@${CP} ${FILESDIR}/setup.py ${WRKSRC}/
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-jaraco.text/distinfo b/devel/py-jaraco.text/distinfo
new file mode 100644
index 000000000000..70dd44190658
--- /dev/null
+++ b/devel/py-jaraco.text/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1674588048
+SHA256 (jaraco.text-3.11.0.tar.gz) = 0ddb589595fe176ea8179c801ca4ece2be0aa71f377b91f3ca65b4d741948351
+SIZE (jaraco.text-3.11.0.tar.gz) = 15883
diff --git a/devel/py-jaraco.text/files/setup.py b/devel/py-jaraco.text/files/setup.py
new file mode 100644
index 000000000000..606849326a40
--- /dev/null
+++ b/devel/py-jaraco.text/files/setup.py
@@ -0,0 +1,3 @@
+from setuptools import setup
+
+setup()
diff --git a/devel/py-jaraco.text/pkg-descr b/devel/py-jaraco.text/pkg-descr
new file mode 100644
index 000000000000..835af72dc1f0
--- /dev/null
+++ b/devel/py-jaraco.text/pkg-descr
@@ -0,0 +1,5 @@
+This package provides handy routines for dealing with text, such as wrapping,
+substitution, trimming, stripping, prefix and suffix removal, line continuation,
+indentation, comment processing, identifier processing, values parsing, case
+insensitive comparison, and more. See the docs (linked in the badge above) for
+the detailed documentation and examples.