textproc/py-ansicolors: New port: ANSI colors for Python

This commit is contained in:
Yuri Victorovich 2024-01-01 12:36:23 -08:00
parent 088dde6b7a
commit d35ce1ef16
4 changed files with 27 additions and 0 deletions

View File

@ -1298,6 +1298,7 @@
SUBDIR += py-agate-excel
SUBDIR += py-alabaster
SUBDIR += py-ansi2html
SUBDIR += py-ansicolors
SUBDIR += py-anyascii
SUBDIR += py-arabic-reshaper
SUBDIR += py-asciinema

View File

@ -0,0 +1,22 @@
PORTNAME= ansicolors
DISTVERSION= 1.1.8
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= ANSI colors for Python
WWW= https://github.com/jonathaneunice/ansiwrap
LICENSE= APACHE20
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 = 1704141221
SHA256 (ansicolors-1.1.8.zip) = 99f94f5e3348a0bcd43c82e5fc4414013ccc19d70bd939ad71e0133ce9c372e0
SIZE (ansicolors-1.1.8.zip) = 23027

View File

@ -0,0 +1 @@
ansicolors adds ANSI colors and decorations to your strings.