Skip to content

Commit

Permalink
textproc/py-restructuredtext-lint: Add new port
Browse files Browse the repository at this point in the history
  • Loading branch information
0mp committed Jul 22, 2021
1 parent c580a81 commit 7ed7f84
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions textproc/Makefile
Expand Up @@ -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
Expand Down
21 changes: 21 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions 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
4 changes: 4 additions & 0 deletions 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

0 comments on commit 7ed7f84

Please sign in to comment.