pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Apr  5 07:17:31 UTC 2022

Modified Files:
        pkgsrc/textproc: Makefile
Added Files:
        pkgsrc/textproc/py-validate-pyproject: ALTERNATIVES DESCR Makefile
            PLIST distinfo

Log Message:
py-validate-pyproject: added version 0.7.1

With the approval of PEP 517 and PEP 518, the Python community shifted towards
a strong focus on standardisation for packaging software, which allows more
freedom when choosing tools during development and make sure packages created
using different technologies can interoperate without the need for custom
installation procedures.

This shift became even more clear when PEP 621 was also approved, as a
standardised way of specifying project metadata and dependencies.

validate-pyproject was born in this context, with the mission of validating
pyproject.toml files, and make sure they are compliant with the standards and
PEPs. Behind the scenes, validate-pyproject relies on JSON Schema files, which,
in turn, are also a standardised way of checking if a given data structure
complies with a certain specification.


To generate a diff of this commit:
cvs rdiff -u -r1.1298 -r1.1299 pkgsrc/textproc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-validate-pyproject/ALTERNATIVES \
    pkgsrc/textproc/py-validate-pyproject/DESCR \
    pkgsrc/textproc/py-validate-pyproject/Makefile \
    pkgsrc/textproc/py-validate-pyproject/PLIST \
    pkgsrc/textproc/py-validate-pyproject/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/Makefile
diff -u pkgsrc/textproc/Makefile:1.1298 pkgsrc/textproc/Makefile:1.1299
--- pkgsrc/textproc/Makefile:1.1298     Tue Apr  5 07:15:09 2022
+++ pkgsrc/textproc/Makefile    Tue Apr  5 07:17:31 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1298 2022/04/05 07:15:09 adam Exp $
+# $NetBSD: Makefile,v 1.1299 2022/04/05 07:17:31 adam Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -1134,6 +1134,7 @@ SUBDIR+=  py-tomli_w
 SUBDIR+=       py-tomlkit
 SUBDIR+=       py-ujson
 SUBDIR+=       py-uritemplate
+SUBDIR+=       py-validate-pyproject
 SUBDIR+=       py-validators
 SUBDIR+=       py-vobject
 SUBDIR+=       py-wcmatch

Added files:

Index: pkgsrc/textproc/py-validate-pyproject/ALTERNATIVES
diff -u /dev/null pkgsrc/textproc/py-validate-pyproject/ALTERNATIVES:1.1
--- /dev/null   Tue Apr  5 07:17:31 2022
+++ pkgsrc/textproc/py-validate-pyproject/ALTERNATIVES  Tue Apr  5 07:17:31 2022
@@ -0,0 +1 @@
+bin/validate-pyproject @PREFIX@/bin/validate-pyproject-@PYVERSSUFFIX@
Index: pkgsrc/textproc/py-validate-pyproject/DESCR
diff -u /dev/null pkgsrc/textproc/py-validate-pyproject/DESCR:1.1
--- /dev/null   Tue Apr  5 07:17:31 2022
+++ pkgsrc/textproc/py-validate-pyproject/DESCR Tue Apr  5 07:17:31 2022
@@ -0,0 +1,14 @@
+With the approval of PEP 517 and PEP 518, the Python community shifted towards
+a strong focus on standardisation for packaging software, which allows more
+freedom when choosing tools during development and make sure packages created
+using different technologies can interoperate without the need for custom
+installation procedures.
+
+This shift became even more clear when PEP 621 was also approved, as a
+standardised way of specifying project metadata and dependencies.
+
+validate-pyproject was born in this context, with the mission of validating
+pyproject.toml files, and make sure they are compliant with the standards and
+PEPs. Behind the scenes, validate-pyproject relies on JSON Schema files, which,
+in turn, are also a standardised way of checking if a given data structure
+complies with a certain specification.
Index: pkgsrc/textproc/py-validate-pyproject/Makefile
diff -u /dev/null pkgsrc/textproc/py-validate-pyproject/Makefile:1.1
--- /dev/null   Tue Apr  5 07:17:31 2022
+++ pkgsrc/textproc/py-validate-pyproject/Makefile      Tue Apr  5 07:17:31 2022
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1 2022/04/05 07:17:31 adam Exp $
+
+DISTNAME=      validate-pyproject-0.7.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    textproc python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=v/validate-pyproject/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/abravalheri/validate-pyproject
+COMMENT=       Validation library and CLI tool for checking on pyproject.toml files
+LICENSE=       mpl-2.0 AND mit AND modified-bsd
+
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-packaging>=20.7:../../devel/py-packaging
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>0:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>0:../../devel/py-test-cov
+
+USE_LANGUAGES= # none
+
+USE_PKG_RESOURCES=     yes
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/pyversion.mk"
+
+.if ${_PYTHON_VERSION} == 37
+DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata>0:../../devel/py-importlib-metadata
+.endif
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} validate-pyproject validate-pyproject-${PYVERSSUFFIX} || ${TRUE}
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-validate-pyproject/PLIST
diff -u /dev/null pkgsrc/textproc/py-validate-pyproject/PLIST:1.1
--- /dev/null   Tue Apr  5 07:17:31 2022
+++ pkgsrc/textproc/py-validate-pyproject/PLIST Tue Apr  5 07:17:31 2022
@@ -0,0 +1,100 @@
+@comment $NetBSD: PLIST,v 1.1 2022/04/05 07:17:31 adam Exp $
+bin/validate-pyproject-${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}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/validate_pyproject/__init__.py
+${PYSITELIB}/validate_pyproject/__init__.pyc
+${PYSITELIB}/validate_pyproject/__init__.pyo
+${PYSITELIB}/validate_pyproject/__main__.py
+${PYSITELIB}/validate_pyproject/__main__.pyc
+${PYSITELIB}/validate_pyproject/__main__.pyo
+${PYSITELIB}/validate_pyproject/_vendor/__init__.py
+${PYSITELIB}/validate_pyproject/_vendor/__init__.pyc
+${PYSITELIB}/validate_pyproject/_vendor/__init__.pyo
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/LICENSE
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/__init__.py
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/__init__.pyc
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/__init__.pyo
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/__main__.py
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/__main__.pyc
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/__main__.pyo
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/draft04.py
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/draft04.pyc
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/draft04.pyo
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/draft06.py
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/draft06.pyc
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/draft06.pyo
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/draft07.py
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/draft07.pyc
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/draft07.pyo
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/exceptions.py
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/exceptions.pyc
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/exceptions.pyo
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/generator.py
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/generator.pyc
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/generator.pyo
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/indent.py
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/indent.pyc
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/indent.pyo
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/ref_resolver.py
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/ref_resolver.pyc
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/ref_resolver.pyo
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/version.py
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/version.pyc
+${PYSITELIB}/validate_pyproject/_vendor/fastjsonschema/version.pyo
+${PYSITELIB}/validate_pyproject/_vendor/vendoring_instructions.rst
+${PYSITELIB}/validate_pyproject/api.py
+${PYSITELIB}/validate_pyproject/api.pyc
+${PYSITELIB}/validate_pyproject/api.pyo
+${PYSITELIB}/validate_pyproject/cli.py
+${PYSITELIB}/validate_pyproject/cli.pyc
+${PYSITELIB}/validate_pyproject/cli.pyo
+${PYSITELIB}/validate_pyproject/error_reporting.py
+${PYSITELIB}/validate_pyproject/error_reporting.pyc
+${PYSITELIB}/validate_pyproject/error_reporting.pyo
+${PYSITELIB}/validate_pyproject/errors.py
+${PYSITELIB}/validate_pyproject/errors.pyc
+${PYSITELIB}/validate_pyproject/errors.pyo
+${PYSITELIB}/validate_pyproject/extra_validations.py
+${PYSITELIB}/validate_pyproject/extra_validations.pyc
+${PYSITELIB}/validate_pyproject/extra_validations.pyo
+${PYSITELIB}/validate_pyproject/formats.py
+${PYSITELIB}/validate_pyproject/formats.pyc
+${PYSITELIB}/validate_pyproject/formats.pyo
+${PYSITELIB}/validate_pyproject/plugins/__init__.py
+${PYSITELIB}/validate_pyproject/plugins/__init__.pyc
+${PYSITELIB}/validate_pyproject/plugins/__init__.pyo
+${PYSITELIB}/validate_pyproject/plugins/distutils.schema.json
+${PYSITELIB}/validate_pyproject/plugins/setuptools.schema.json
+${PYSITELIB}/validate_pyproject/pre_compile/NOTICE.template
+${PYSITELIB}/validate_pyproject/pre_compile/__init__.py
+${PYSITELIB}/validate_pyproject/pre_compile/__init__.pyc
+${PYSITELIB}/validate_pyproject/pre_compile/__init__.pyo
+${PYSITELIB}/validate_pyproject/pre_compile/__main__.py
+${PYSITELIB}/validate_pyproject/pre_compile/__main__.pyc
+${PYSITELIB}/validate_pyproject/pre_compile/__main__.pyo
+${PYSITELIB}/validate_pyproject/pre_compile/api-notice.template
+${PYSITELIB}/validate_pyproject/pre_compile/cli-notice.template
+${PYSITELIB}/validate_pyproject/pre_compile/cli.py
+${PYSITELIB}/validate_pyproject/pre_compile/cli.pyc
+${PYSITELIB}/validate_pyproject/pre_compile/cli.pyo
+${PYSITELIB}/validate_pyproject/pre_compile/main_file.template
+${PYSITELIB}/validate_pyproject/project_metadata.schema.json
+${PYSITELIB}/validate_pyproject/pyproject_toml.schema.json
+${PYSITELIB}/validate_pyproject/types.py
+${PYSITELIB}/validate_pyproject/types.pyc
+${PYSITELIB}/validate_pyproject/types.pyo
+${PYSITELIB}/validate_pyproject/vendoring/__init__.py
+${PYSITELIB}/validate_pyproject/vendoring/__init__.pyc
+${PYSITELIB}/validate_pyproject/vendoring/__init__.pyo
+${PYSITELIB}/validate_pyproject/vendoring/__main__.py
+${PYSITELIB}/validate_pyproject/vendoring/__main__.pyc
+${PYSITELIB}/validate_pyproject/vendoring/__main__.pyo
+${PYSITELIB}/validate_pyproject/vendoring/cli.py
+${PYSITELIB}/validate_pyproject/vendoring/cli.pyc
+${PYSITELIB}/validate_pyproject/vendoring/cli.pyo
Index: pkgsrc/textproc/py-validate-pyproject/distinfo
diff -u /dev/null pkgsrc/textproc/py-validate-pyproject/distinfo:1.1
--- /dev/null   Tue Apr  5 07:17:31 2022
+++ pkgsrc/textproc/py-validate-pyproject/distinfo      Tue Apr  5 07:17:31 2022
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/04/05 07:17:31 adam Exp $
+
+BLAKE2s (validate-pyproject-0.7.1.tar.gz) = dc0c090aba4c06bcd57e41c07bea8203b432f7d0447c329808661abe4c0aec23
+SHA512 (validate-pyproject-0.7.1.tar.gz) = b893e2d051c759452a1c26344a5964d065025eb58993e7314475217b7b385938234346f32c57bc46edc087a505914c2be971b011d881e228720685fda52ba628
+Size (validate-pyproject-0.7.1.tar.gz) = 102987 bytes



Home | Main Index | Thread Index | Old Index