textproc/py-textwrap3: New port: Textwrap from Python 3.6 backport (plus a few tweaks)

This commit is contained in:
Yuri Victorovich 2024-01-01 11:50:27 -08:00
parent 247718dd69
commit 088dde6b7a
4 changed files with 28 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1704138341
SHA256 (textwrap3-0.9.2.zip) = 5008eeebdb236f6303dcd68f18b856d355f6197511d952ba74bc75e40e0c3414
SIZE (textwrap3-0.9.2.zip) = 24951

View File

@ -0,0 +1,2 @@
textwrap3 is a compatibility back-port of Python 3.6's textwrap module that
supports Python 2.6 forward.