diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-09-30 00:18:37 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-09-30 00:44:18 +0000 |
commit | 54334ae7efb47a5d329d15f0ad3a5d80f6b68a06 (patch) | |
tree | 00a2d7f5db3cd9347ed3eb73a51db34a1bb0d1f3 | |
parent | dbfbec3be66458fd9443e8264524ea0316fd07ce (diff) | |
download | ports-54334ae7efb47a5d329d15f0ad3a5d80f6b68a06.tar.gz ports-54334ae7efb47a5d329d15f0ad3a5d80f6b68a06.zip |
textproc/py-ansi2html: Add py-ansi2html 1.8.0
ansi2html converts text with ANSI color codes to HTML or to LaTeX. It is
inspired by and developed off of the work of pixelbeat and blackjack.
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/py-ansi2html/Makefile | 25 | ||||
-rw-r--r-- | textproc/py-ansi2html/distinfo | 3 | ||||
-rw-r--r-- | textproc/py-ansi2html/pkg-descr | 2 |
4 files changed, 31 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index d129c87fc82d..f184899e6b1c 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1303,6 +1303,7 @@ SUBDIR += py-agate-dbf SUBDIR += py-agate-excel SUBDIR += py-alabaster + SUBDIR += py-ansi2html SUBDIR += py-anyascii SUBDIR += py-arabic-reshaper SUBDIR += py-asciinema diff --git a/textproc/py-ansi2html/Makefile b/textproc/py-ansi2html/Makefile new file mode 100644 index 000000000000..a89a590eb2d3 --- /dev/null +++ b/textproc/py-ansi2html/Makefile @@ -0,0 +1,25 @@ +PORTNAME= ansi2html +PORTVERSION= 1.8.0 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Convert text with ansi color codes to HTML +WWW= https://ansi2html.readthedocs.io/ \ + https://github.com/pycontribs/ansi2html + +LICENSE= LGPL3+ +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=41.0.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.0.1:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>=1.0:devel/py-setuptools_scm_git_archive@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/textproc/py-ansi2html/distinfo b/textproc/py-ansi2html/distinfo new file mode 100644 index 000000000000..c2cf8057210c --- /dev/null +++ b/textproc/py-ansi2html/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1696001250 +SHA256 (ansi2html-1.8.0.tar.gz) = 38b82a298482a1fa2613f0f9c9beb3db72a8f832eeac58eb2e47bf32cd37f6d5 +SIZE (ansi2html-1.8.0.tar.gz) = 44146 diff --git a/textproc/py-ansi2html/pkg-descr b/textproc/py-ansi2html/pkg-descr new file mode 100644 index 000000000000..85374cf0837b --- /dev/null +++ b/textproc/py-ansi2html/pkg-descr @@ -0,0 +1,2 @@ +ansi2html converts text with ANSI color codes to HTML or to LaTeX. It is +inspired by and developed off of the work of pixelbeat and blackjack. |