aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2021-07-22 13:13:56 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2021-07-22 13:16:29 +0000
commit7ed7f84d22e0a8d6240334769629b63cc7d76a16 (patch)
treef4e2f331a249ebfb939dcc9b534c04ca122a38b9
parentc580a81e15c8d2592e7cc15c06e21179b44c7973 (diff)
textproc/py-restructuredtext-lint: Add new port
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-restructuredtext-lint/Makefile21
-rw-r--r--textproc/py-restructuredtext-lint/distinfo3
-rw-r--r--textproc/py-restructuredtext-lint/pkg-descr4
4 files changed, 29 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 51e48c564f16..029d5b36b43e 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1414,6 +1414,7 @@
SUBDIR += py-recommonmark
SUBDIR += py-regex
SUBDIR += py-reno
+ SUBDIR += py-restructuredtext-lint
SUBDIR += py-reverend
SUBDIR += py-rich
SUBDIR += py-rnc2rng
diff --git a/textproc/py-restructuredtext-lint/Makefile b/textproc/py-restructuredtext-lint/Makefile
new file mode 100644
index 000000000000..4b5e4108ac61
--- /dev/null
+++ b/textproc/py-restructuredtext-lint/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= restructuredtext-lint
+DISTVERSION= 1.3.2
+CATEGORIES= textproc devel python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= 0mp@FreeBSD.org
+COMMENT= reStructuredText linter
+
+LICENSE= UNLICENSE
+LICENSE_FILE= ${WRKSRC}/UNLICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0.11<1.0:textproc/py-docutils@${PY_FLAVOR}
+
+USES= python
+USE_GITHUB= yes
+GH_ACCOUNT= twolfson
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-restructuredtext-lint/distinfo b/textproc/py-restructuredtext-lint/distinfo
new file mode 100644
index 000000000000..c1be76b00463
--- /dev/null
+++ b/textproc/py-restructuredtext-lint/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1626959162
+SHA256 (twolfson-restructuredtext-lint-1.3.2_GH0.tar.gz) = 07bcdb8365918412865de169e3070028bf58f57af23023dd859f5e772f894783
+SIZE (twolfson-restructuredtext-lint-1.3.2_GH0.tar.gz) = 12305
diff --git a/textproc/py-restructuredtext-lint/pkg-descr b/textproc/py-restructuredtext-lint/pkg-descr
new file mode 100644
index 000000000000..5a4f745e3c24
--- /dev/null
+++ b/textproc/py-restructuredtext-lint/pkg-descr
@@ -0,0 +1,4 @@
+This is a linter for reStructuredText files. It is being
+developed in junction with a Sublime Text linter.
+
+WWW: https://github.com/twolfson/restructuredtext-lint