diff options
| author | Neel Chauhan <nc@FreeBSD.org> | 2021-04-28 17:39:12 +0000 |
|---|---|---|
| committer | Neel Chauhan <nc@FreeBSD.org> | 2021-04-28 17:39:12 +0000 |
| commit | dc4703998b5fdf23facca9e7a57c6da809aad4e8 (patch) | |
| tree | 3144bab62058b7769e3f9b7d8ddb54e55b50e210 | |
| parent | 5d4a672b91382e55873a45acbf1ec2c6268e3edd (diff) | |
| -rw-r--r-- | textproc/Makefile | 1 | ||||
| -rw-r--r-- | textproc/py-rst2ansi/Makefile | 23 | ||||
| -rw-r--r-- | textproc/py-rst2ansi/distinfo | 3 | ||||
| -rw-r--r-- | textproc/py-rst2ansi/pkg-descr | 3 |
4 files changed, 30 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 38a675bf649f..0e772a61fc8a 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1399,6 +1399,7 @@ SUBDIR += py-rich SUBDIR += py-rnc2rng SUBDIR += py-rss2gen + SUBDIR += py-rst2ansi SUBDIR += py-rst2html5 SUBDIR += py-scour SUBDIR += py-simplebayes diff --git a/textproc/py-rst2ansi/Makefile b/textproc/py-rst2ansi/Makefile new file mode 100644 index 000000000000..a7ee10e66b3f --- /dev/null +++ b/textproc/py-rst2ansi/Makefile @@ -0,0 +1,23 @@ +PORTNAME= rst2ansi +PORTVERSION= 0.1.5 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= PopularMoment@protonmail.com +COMMENT= RST converter to ansi-decorated console output + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0.14:textproc/py-docutils@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils concurrent autoplist + +NO_ARCH= yes + +do-test: + @cd ${WRKSRC}/ && ${PYTHON_CMD} setup.py test + +.include <bsd.port.mk> diff --git a/textproc/py-rst2ansi/distinfo b/textproc/py-rst2ansi/distinfo new file mode 100644 index 000000000000..eafb1d72f680 --- /dev/null +++ b/textproc/py-rst2ansi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1619631513 +SHA256 (rst2ansi-0.1.5.tar.gz) = 1b17fb9a628d40f57933ad1a3aa952346444be069469508e73e95060da33fe6f +SIZE (rst2ansi-0.1.5.tar.gz) = 9989 diff --git a/textproc/py-rst2ansi/pkg-descr b/textproc/py-rst2ansi/pkg-descr new file mode 100644 index 000000000000..dd6c8ea291e0 --- /dev/null +++ b/textproc/py-rst2ansi/pkg-descr @@ -0,0 +1,3 @@ +rst2ansi is a library for rendering reStructuredText (RST) in a terminal. + +WWW: https://github.com/Snaipe/python-rst2ansi |
