Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 2021 13:17:19 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7ed7f84d22e0 - main - textproc/py-restructuredtext-lint: Add new port
Message-ID:  <202107221317.16MDHJhR069211@gitrepo.freebsd.org>

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

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

commit 7ed7f84d22e0a8d6240334769629b63cc7d76a16
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2021-07-22 13:13:56 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2021-07-22 13:16:29 +0000

    textproc/py-restructuredtext-lint: Add new port
---
 textproc/Makefile                           |  1 +
 textproc/py-restructuredtext-lint/Makefile  | 21 +++++++++++++++++++++
 textproc/py-restructuredtext-lint/distinfo  |  3 +++
 textproc/py-restructuredtext-lint/pkg-descr |  4 ++++
 4 files changed, 29 insertions(+)

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



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