Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 2021 17:39:14 GMT
From:      Neel Chauhan <nc@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: dc4703998b5f - main - New port: textproc/py-rst2ansi: RST converter to ansi-decorated console output
Message-ID:  <202104281739.13SHdET3004563@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by nc:

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

commit dc4703998b5fdf23facca9e7a57c6da809aad4e8
Author:     Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2021-04-28 17:39:12 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2021-04-28 17:39:12 +0000

    New port: textproc/py-rst2ansi: RST converter to ansi-decorated console output
    
    PR:             255382
    Submitted by:   Henry <PopularMoment@protonmail.com>
---
 textproc/Makefile              |  1 +
 textproc/py-rst2ansi/Makefile  | 23 +++++++++++++++++++++++
 textproc/py-rst2ansi/distinfo  |  3 +++
 textproc/py-rst2ansi/pkg-descr |  3 +++
 4 files changed, 30 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104281739.13SHdET3004563>