textproc/py-ansiwrap: New port: Textwrap, but savvy to ANSI colors and styles
This commit is contained in:
parent
d35ce1ef16
commit
57185ef9a6
|
@ -1299,6 +1299,7 @@
|
|||
SUBDIR += py-alabaster
|
||||
SUBDIR += py-ansi2html
|
||||
SUBDIR += py-ansicolors
|
||||
SUBDIR += py-ansiwrap
|
||||
SUBDIR += py-anyascii
|
||||
SUBDIR += py-arabic-reshaper
|
||||
SUBDIR += py-asciinema
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
PORTNAME= ansiwrap
|
||||
DISTVERSION= 0.8.4
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Textwrap, but savvy to ANSI colors and styles
|
||||
WWW= https://github.com/jonathaneunice/ansiwrap
|
||||
|
||||
LICENSE= APACHE20
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}textwrap3>=0.9.2:textproc/py-textwrap3@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ansicolors>=1.1.8:textproc/py-ansicolors@${PY_FLAVOR} \
|
||||
${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>
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1704138692
|
||||
SHA256 (ansiwrap-0.8.4.zip) = ca0c740734cde59bf919f8ff2c386f74f9a369818cdc60efe94893d01ea8d9b7
|
||||
SIZE (ansiwrap-0.8.4.zip) = 17666
|
|
@ -0,0 +1,2 @@
|
|||
ansiwrap wraps text, like the standard textwrap module. But it also correctly
|
||||
wraps text that contains ANSI control sequences that colorize or style text.
|
Loading…
Reference in New Issue