diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2024-01-01 20:36:23 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2024-01-01 23:43:15 +0000 |
| commit | d35ce1ef16b7a2e8ed3e6ba9219347d1d6e6d232 (patch) | |
| tree | 7937adfc40ad4c3a70870f22e28ced174bcf0e2c | |
| parent | 088dde6b7a8eb87af8860b3d1c5f84461403c40f (diff) | |
textproc/py-ansicolors: New port: ANSI colors for Python
| -rw-r--r-- | textproc/Makefile | 1 | ||||
| -rw-r--r-- | textproc/py-ansicolors/Makefile | 22 | ||||
| -rw-r--r-- | textproc/py-ansicolors/distinfo | 3 | ||||
| -rw-r--r-- | textproc/py-ansicolors/pkg-descr | 1 |
4 files changed, 27 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 2c74f827da2b..83b074d9ae58 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -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 diff --git a/textproc/py-ansicolors/Makefile b/textproc/py-ansicolors/Makefile new file mode 100644 index 000000000000..24fe4c27d785 --- /dev/null +++ b/textproc/py-ansicolors/Makefile @@ -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> diff --git a/textproc/py-ansicolors/distinfo b/textproc/py-ansicolors/distinfo new file mode 100644 index 000000000000..f87a7f7d1c1f --- /dev/null +++ b/textproc/py-ansicolors/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1704141221 +SHA256 (ansicolors-1.1.8.zip) = 99f94f5e3348a0bcd43c82e5fc4414013ccc19d70bd939ad71e0133ce9c372e0 +SIZE (ansicolors-1.1.8.zip) = 23027 diff --git a/textproc/py-ansicolors/pkg-descr b/textproc/py-ansicolors/pkg-descr new file mode 100644 index 000000000000..92df11eed9bb --- /dev/null +++ b/textproc/py-ansicolors/pkg-descr @@ -0,0 +1 @@ +ansicolors adds ANSI colors and decorations to your strings. |
