diff --git a/textproc/Makefile b/textproc/Makefile index 0d77c9286f60..dfe8cce0b9ec 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1464,6 +1464,7 @@ SUBDIR += py-reverend SUBDIR += py-rich SUBDIR += py-rich-cli + SUBDIR += py-rich-rst SUBDIR += py-rnc2rng SUBDIR += py-rss2gen SUBDIR += py-rst2ansi diff --git a/textproc/py-rich-rst/Makefile b/textproc/py-rich-rst/Makefile new file mode 100644 index 000000000000..0fccabc8ec9a --- /dev/null +++ b/textproc/py-rich-rst/Makefile @@ -0,0 +1,22 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= rich-rst +PORTVERSION= 1.1.7 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Beautiful reStructuredText renderer for Rich + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0,1:textproc/py-docutils@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/textproc/py-rich-rst/distinfo b/textproc/py-rich-rst/distinfo new file mode 100644 index 000000000000..243605076f20 --- /dev/null +++ b/textproc/py-rich-rst/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1652122537 +SHA256 (rich-rst-1.1.7.tar.gz) = 898bd5defd6bde9fba819614575dc5bff18047af38ae1981de0c1e78f17bbfd5 +SIZE (rich-rst-1.1.7.tar.gz) = 12570 diff --git a/textproc/py-rich-rst/pkg-descr b/textproc/py-rich-rst/pkg-descr new file mode 100644 index 000000000000..e328c92a081b --- /dev/null +++ b/textproc/py-rich-rst/pkg-descr @@ -0,0 +1,4 @@ +rich-rst allows rich to print a reStructuredText document in a rich format +similar to rich.Markdown. + +WWW: https://github.com/wasi-master/rich-rst