svn commit: r480355 - in head/devel: . py-yamllint
Matthew Seaman
matthew at FreeBSD.org
Sat Sep 22 07:22:42 UTC 2018
Author: matthew
Date: Sat Sep 22 07:22:40 2018
New Revision: 480355
URL: https://svnweb.freebsd.org/changeset/ports/480355
Log:
Add py-yamllint 1.11.1, linter for YAML files.
Added:
head/devel/py-yamllint/
head/devel/py-yamllint/Makefile (contents, props changed)
head/devel/py-yamllint/distinfo (contents, props changed)
head/devel/py-yamllint/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sat Sep 22 07:18:11 2018 (r480354)
+++ head/devel/Makefile Sat Sep 22 07:22:40 2018 (r480355)
@@ -5211,6 +5211,7 @@
SUBDIR += py-xoltar-toolkit
SUBDIR += py-xxhash
SUBDIR += py-yaml
+ SUBDIR += py-yamllint
SUBDIR += py-yandex-money-sdk
SUBDIR += py-yappi
SUBDIR += py-yapps2
Added: head/devel/py-yamllint/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-yamllint/Makefile Sat Sep 22 07:22:40 2018 (r480355)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= yamllint
+PORTVERSION= 1.11.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= matthew at FreeBSD.org
+COMMENT= Linter for YAML files
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pathspec>=0.5.3:devel/py-pathspec@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+do-test:
+ @cd ${WRKSRC} && ${LOCALBASE}/bin/pytest-${PYTHON_VER} tests
+
+.include <bsd.port.mk>
Added: head/devel/py-yamllint/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-yamllint/distinfo Sat Sep 22 07:22:40 2018 (r480355)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1537599057
+SHA256 (yamllint-1.11.1.tar.gz) = e9b7dec24921ef13180902e5dbcaae9157c773e3e3e2780ef77d3a4dd67d799f
+SIZE (yamllint-1.11.1.tar.gz) = 112567
Added: head/devel/py-yamllint/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-yamllint/pkg-descr Sat Sep 22 07:22:40 2018 (r480355)
@@ -0,0 +1,7 @@
+A linter for YAML files.
+
+yamllint does not only check for syntax validity, but for weirdnesses
+like key repetition and cosmetic problems such as lines length,
+trailing spaces, indentation, etc.
+
+WWW: https://pypi.org/project/yamllint/
More information about the svn-ports-head
mailing list