git: 088dde6b7a8e - main - textproc/py-textwrap3: New port: Textwrap from Python 3.6 backport (plus a few tweaks)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Jan 2024 23:43:22 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=088dde6b7a8eb87af8860b3d1c5f84461403c40f commit 088dde6b7a8eb87af8860b3d1c5f84461403c40f Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-01-01 19:50:27 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-01-01 23:43:14 +0000 textproc/py-textwrap3: New port: Textwrap from Python 3.6 backport (plus a few tweaks) --- textproc/Makefile | 1 + textproc/py-textwrap3/Makefile | 22 ++++++++++++++++++++++ textproc/py-textwrap3/distinfo | 3 +++ textproc/py-textwrap3/pkg-descr | 2 ++ 4 files changed, 28 insertions(+) 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.