diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2024-01-01 19:50:27 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2024-01-01 23:43:14 +0000 |
| commit | 088dde6b7a8eb87af8860b3d1c5f84461403c40f (patch) | |
| tree | 1b3f3890de5e098dfdae398e35b19dbfd3801d8a | |
| parent | 247718dd69ee4d861c4f32f302b22d6073356196 (diff) | |
textproc/py-textwrap3: New port: Textwrap from Python 3.6 backport (plus a few tweaks)
| -rw-r--r-- | textproc/Makefile | 1 | ||||
| -rw-r--r-- | textproc/py-textwrap3/Makefile | 22 | ||||
| -rw-r--r-- | textproc/py-textwrap3/distinfo | 3 | ||||
| -rw-r--r-- | textproc/py-textwrap3/pkg-descr | 2 |
4 files changed, 28 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 6420842add6e..2c74f827da2b 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1606,6 +1606,7 @@ SUBDIR += py-textract SUBDIR += py-texttable SUBDIR += py-textual + SUBDIR += py-textwrap3 SUBDIR += py-three-merge SUBDIR += py-tiktoken SUBDIR += py-tinycss diff --git a/textproc/py-textwrap3/Makefile b/textproc/py-textwrap3/Makefile new file mode 100644 index 000000000000..eed4bec2795f --- /dev/null +++ b/textproc/py-textwrap3/Makefile @@ -0,0 +1,22 @@ +PORTNAME= textwrap3 +DISTVERSION= 0.9.2 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Textwrap from Python 3.6 backport (plus a few tweaks) +WWW= https://github.com/jonathaneunice/textwrap3 + +LICENSE= PSFL + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} + +USES= python zip +USE_PYTHON= distutils autoplist pytest + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/textproc/py-textwrap3/distinfo b/textproc/py-textwrap3/distinfo new file mode 100644 index 000000000000..1df710c37d4d --- /dev/null +++ b/textproc/py-textwrap3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1704138341 +SHA256 (textwrap3-0.9.2.zip) = 5008eeebdb236f6303dcd68f18b856d355f6197511d952ba74bc75e40e0c3414 +SIZE (textwrap3-0.9.2.zip) = 24951 diff --git a/textproc/py-textwrap3/pkg-descr b/textproc/py-textwrap3/pkg-descr new file mode 100644 index 000000000000..22ca0c2a917f --- /dev/null +++ b/textproc/py-textwrap3/pkg-descr @@ -0,0 +1,2 @@ +textwrap3 is a compatibility back-port of Python 3.6's textwrap module that +supports Python 2.6 forward. |
