git: a40593959f02 - main - textproc/py-rich-rst: Add py-rich-rst 1.1.7

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 13 May 2022 11:44:28 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a40593959f0231e84838ea0f7b3b43d8568122c7

commit a40593959f0231e84838ea0f7b3b43d8568122c7
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-13 11:27:36 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-13 11:39:11 +0000

    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
---
 textproc/Makefile              |  1 +
 textproc/py-rich-rst/Makefile  | 22 ++++++++++++++++++++++
 textproc/py-rich-rst/distinfo  |  3 +++
 textproc/py-rich-rst/pkg-descr |  4 ++++
 4 files changed, 30 insertions(+)

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