aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-05-13 11:27:36 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-05-13 11:39:11 +0000
commita40593959f0231e84838ea0f7b3b43d8568122c7 (patch)
tree09eed9ace6eee758b3b4b83f6d8ee20b1b361acb
parentf9cb8936e073bae1f622c3dbb0de77c0fe2d7b82 (diff)
textproc/py-rich-rst: Add py-rich-rst 1.1.7
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
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-rich-rst/Makefile22
-rw-r--r--textproc/py-rich-rst/distinfo3
-rw-r--r--textproc/py-rich-rst/pkg-descr4
4 files changed, 30 insertions, 0 deletions
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 <sunpoet@FreeBSD.org>
+
+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 <bsd.port.mk>
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