pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc py-yamllint: added version 1.26.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0df066f192a8
branches:  trunk
changeset: 379150:0df066f192a8
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu May 12 08:10:26 2022 +0000

description:
py-yamllint: added version 1.26.3

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.

diffstat:

 textproc/Makefile                 |   3 +-
 textproc/py-yamllint/ALTERNATIVES |   1 +
 textproc/py-yamllint/DESCR        |   5 ++
 textproc/py-yamllint/Makefile     |  25 ++++++++++
 textproc/py-yamllint/PLIST        |  97 +++++++++++++++++++++++++++++++++++++++
 textproc/py-yamllint/distinfo     |   5 ++
 6 files changed, 135 insertions(+), 1 deletions(-)

diffs (170 lines):

diff -r 982ddc174c52 -r 0df066f192a8 textproc/Makefile
--- a/textproc/Makefile Thu May 12 08:07:34 2022 +0000
+++ b/textproc/Makefile Thu May 12 08:10:26 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1315 2022/05/09 21:53:38 pin Exp $
+# $NetBSD: Makefile,v 1.1316 2022/05/12 08:10:26 adam Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -1160,6 +1160,7 @@
 SUBDIR+=       py-xmltodict
 SUBDIR+=       py-yamcha
 SUBDIR+=       py-yaml
+SUBDIR+=       py-yamllint
 SUBDIR+=       py27-cssselect2
 SUBDIR+=       py27-jinja2
 SUBDIR+=       py27-markupsafe
diff -r 982ddc174c52 -r 0df066f192a8 textproc/py-yamllint/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-yamllint/ALTERNATIVES Thu May 12 08:10:26 2022 +0000
@@ -0,0 +1,1 @@
+bin/yamllint @PREFIX@/bin/yamllint-@PYVERSSUFFIX@
diff -r 982ddc174c52 -r 0df066f192a8 textproc/py-yamllint/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-yamllint/DESCR        Thu May 12 08:10:26 2022 +0000
@@ -0,0 +1,5 @@
+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.
diff -r 982ddc174c52 -r 0df066f192a8 textproc/py-yamllint/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-yamllint/Makefile     Thu May 12 08:10:26 2022 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2022/05/12 08:10:26 adam Exp $
+
+DISTNAME=      yamllint-1.26.3
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    textproc python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=y/yamllint/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/adrienverge/yamllint
+COMMENT=       Linter for YAML files
+LICENSE=       gnu-gpl-v3
+
+DEPENDS+=      ${PYPKGPREFIX}-pathspec>=0.5.3:../../devel/py-pathspec
+DEPENDS+=      ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} yamllint yamllint-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 982ddc174c52 -r 0df066f192a8 textproc/py-yamllint/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-yamllint/PLIST        Thu May 12 08:10:26 2022 +0000
@@ -0,0 +1,97 @@
+@comment $NetBSD: PLIST,v 1.1 2022/05/12 08:10:26 adam Exp $
+bin/yamllint-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/yamllint/__init__.py
+${PYSITELIB}/yamllint/__init__.pyc
+${PYSITELIB}/yamllint/__init__.pyo
+${PYSITELIB}/yamllint/__main__.py
+${PYSITELIB}/yamllint/__main__.pyc
+${PYSITELIB}/yamllint/__main__.pyo
+${PYSITELIB}/yamllint/cli.py
+${PYSITELIB}/yamllint/cli.pyc
+${PYSITELIB}/yamllint/cli.pyo
+${PYSITELIB}/yamllint/conf/default.yaml
+${PYSITELIB}/yamllint/conf/relaxed.yaml
+${PYSITELIB}/yamllint/config.py
+${PYSITELIB}/yamllint/config.pyc
+${PYSITELIB}/yamllint/config.pyo
+${PYSITELIB}/yamllint/linter.py
+${PYSITELIB}/yamllint/linter.pyc
+${PYSITELIB}/yamllint/linter.pyo
+${PYSITELIB}/yamllint/parser.py
+${PYSITELIB}/yamllint/parser.pyc
+${PYSITELIB}/yamllint/parser.pyo
+${PYSITELIB}/yamllint/rules/__init__.py
+${PYSITELIB}/yamllint/rules/__init__.pyc
+${PYSITELIB}/yamllint/rules/__init__.pyo
+${PYSITELIB}/yamllint/rules/braces.py
+${PYSITELIB}/yamllint/rules/braces.pyc
+${PYSITELIB}/yamllint/rules/braces.pyo
+${PYSITELIB}/yamllint/rules/brackets.py
+${PYSITELIB}/yamllint/rules/brackets.pyc
+${PYSITELIB}/yamllint/rules/brackets.pyo
+${PYSITELIB}/yamllint/rules/colons.py
+${PYSITELIB}/yamllint/rules/colons.pyc
+${PYSITELIB}/yamllint/rules/colons.pyo
+${PYSITELIB}/yamllint/rules/commas.py
+${PYSITELIB}/yamllint/rules/commas.pyc
+${PYSITELIB}/yamllint/rules/commas.pyo
+${PYSITELIB}/yamllint/rules/comments.py
+${PYSITELIB}/yamllint/rules/comments.pyc
+${PYSITELIB}/yamllint/rules/comments.pyo
+${PYSITELIB}/yamllint/rules/comments_indentation.py
+${PYSITELIB}/yamllint/rules/comments_indentation.pyc
+${PYSITELIB}/yamllint/rules/comments_indentation.pyo
+${PYSITELIB}/yamllint/rules/common.py
+${PYSITELIB}/yamllint/rules/common.pyc
+${PYSITELIB}/yamllint/rules/common.pyo
+${PYSITELIB}/yamllint/rules/document_end.py
+${PYSITELIB}/yamllint/rules/document_end.pyc
+${PYSITELIB}/yamllint/rules/document_end.pyo
+${PYSITELIB}/yamllint/rules/document_start.py
+${PYSITELIB}/yamllint/rules/document_start.pyc
+${PYSITELIB}/yamllint/rules/document_start.pyo
+${PYSITELIB}/yamllint/rules/empty_lines.py
+${PYSITELIB}/yamllint/rules/empty_lines.pyc
+${PYSITELIB}/yamllint/rules/empty_lines.pyo
+${PYSITELIB}/yamllint/rules/empty_values.py
+${PYSITELIB}/yamllint/rules/empty_values.pyc
+${PYSITELIB}/yamllint/rules/empty_values.pyo
+${PYSITELIB}/yamllint/rules/hyphens.py
+${PYSITELIB}/yamllint/rules/hyphens.pyc
+${PYSITELIB}/yamllint/rules/hyphens.pyo
+${PYSITELIB}/yamllint/rules/indentation.py
+${PYSITELIB}/yamllint/rules/indentation.pyc
+${PYSITELIB}/yamllint/rules/indentation.pyo
+${PYSITELIB}/yamllint/rules/key_duplicates.py
+${PYSITELIB}/yamllint/rules/key_duplicates.pyc
+${PYSITELIB}/yamllint/rules/key_duplicates.pyo
+${PYSITELIB}/yamllint/rules/key_ordering.py
+${PYSITELIB}/yamllint/rules/key_ordering.pyc
+${PYSITELIB}/yamllint/rules/key_ordering.pyo
+${PYSITELIB}/yamllint/rules/line_length.py
+${PYSITELIB}/yamllint/rules/line_length.pyc
+${PYSITELIB}/yamllint/rules/line_length.pyo
+${PYSITELIB}/yamllint/rules/new_line_at_end_of_file.py
+${PYSITELIB}/yamllint/rules/new_line_at_end_of_file.pyc
+${PYSITELIB}/yamllint/rules/new_line_at_end_of_file.pyo
+${PYSITELIB}/yamllint/rules/new_lines.py
+${PYSITELIB}/yamllint/rules/new_lines.pyc
+${PYSITELIB}/yamllint/rules/new_lines.pyo
+${PYSITELIB}/yamllint/rules/octal_values.py
+${PYSITELIB}/yamllint/rules/octal_values.pyc
+${PYSITELIB}/yamllint/rules/octal_values.pyo
+${PYSITELIB}/yamllint/rules/quoted_strings.py
+${PYSITELIB}/yamllint/rules/quoted_strings.pyc
+${PYSITELIB}/yamllint/rules/quoted_strings.pyo
+${PYSITELIB}/yamllint/rules/trailing_spaces.py
+${PYSITELIB}/yamllint/rules/trailing_spaces.pyc
+${PYSITELIB}/yamllint/rules/trailing_spaces.pyo
+${PYSITELIB}/yamllint/rules/truthy.py
+${PYSITELIB}/yamllint/rules/truthy.pyc
+${PYSITELIB}/yamllint/rules/truthy.pyo
diff -r 982ddc174c52 -r 0df066f192a8 textproc/py-yamllint/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-yamllint/distinfo     Thu May 12 08:10:26 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/05/12 08:10:26 adam Exp $
+
+BLAKE2s (yamllint-1.26.3.tar.gz) = c23362bf963a4381f4c46a1b57603cb3a7ee049c9a4dc24da4ff215afecd5db4
+SHA512 (yamllint-1.26.3.tar.gz) = c5ed17ecec102324bec077484dcede6fbf8c01a37a9292929a52163a4a9d9e9989809879c29b69c45b7cce8cbeefc830d4542118f617e846702f216f49d9db5b
+Size (yamllint-1.26.3.tar.gz) = 126746 bytes



Home | Main Index | Thread Index | Old Index