pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-openapi-spec-validator



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Nov  9 18:55:58 UTC 2023

Modified Files:
        pkgsrc/textproc/py-openapi-spec-validator: Makefile PLIST distinfo

Log Message:
py-openapi-spec-validator: updated to 0.7.1

0.7.1

Features

Versions submodule
Move to jsonschema-path package
Validator accepts any schema (schema dictionary or SchemaPath)
validate and validate_url shortcuts

Deprecations

validate_spec shortcut in deprecated. Usevalidate instead.
validate_spec_url shortcut is deprecated. Use validate_url instead.

0.7.0

Features

Allow validate multiple files (also with pre-commit hook)
Validators and keywords refactor
Python 3.12 support
Bump docker image python from 3.11.5-alpine to 3.12.0-alpine

Deprecations

openapi_*_spec_validator objects are deprecated. Use *SpecValidator classes instead.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/py-openapi-spec-validator/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/py-openapi-spec-validator/PLIST \
    pkgsrc/textproc/py-openapi-spec-validator/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/py-openapi-spec-validator/Makefile
diff -u pkgsrc/textproc/py-openapi-spec-validator/Makefile:1.9 pkgsrc/textproc/py-openapi-spec-validator/Makefile:1.10
--- pkgsrc/textproc/py-openapi-spec-validator/Makefile:1.9      Sat Oct 28 19:57:18 2023
+++ pkgsrc/textproc/py-openapi-spec-validator/Makefile  Thu Nov  9 18:55:58 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2023/10/28 19:57:18 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2023/11/09 18:55:58 adam Exp $
 
-DISTNAME=      openapi_spec_validator-0.6.0
+DISTNAME=      openapi_spec_validator-0.7.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/g}
-PKGREVISION=   1
 CATEGORIES=    textproc www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=o/openapi-spec-validator/}
 
@@ -13,10 +12,9 @@ LICENSE=     apache-2.0
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=1.0.0:../../devel/py-poetry-core
 DEPENDS+=      ${PYPKGPREFIX}-jsonschema>=4.18.0:../../textproc/py-jsonschema
-DEPENDS+=      ${PYPKGPREFIX}-jsonschema-spec>=0.2.3:../../textproc/py-jsonschema-spec
+DEPENDS+=      ${PYPKGPREFIX}-jsonschema-path>=0.3.1:../../textproc/py-jsonschema-path
 DEPENDS+=      ${PYPKGPREFIX}-lazy-object-proxy>=1.7.1:../../devel/py-lazy-object-proxy
 DEPENDS+=      ${PYPKGPREFIX}-openapi-schema-validator>=0.6.0:../../textproc/py-openapi-schema-validator
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
 
@@ -33,8 +31,5 @@ post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} openapi-spec-validator openapi-spec-validator-${PYVERSSUFFIX} || ${TRUE}
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
-
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-openapi-spec-validator/PLIST
diff -u pkgsrc/textproc/py-openapi-spec-validator/PLIST:1.5 pkgsrc/textproc/py-openapi-spec-validator/PLIST:1.6
--- pkgsrc/textproc/py-openapi-spec-validator/PLIST:1.5 Sat Oct 28 19:57:18 2023
+++ pkgsrc/textproc/py-openapi-spec-validator/PLIST     Thu Nov  9 18:55:58 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2023/10/28 19:57:18 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2023/11/09 18:55:58 adam Exp $
 bin/openapi-spec-validator-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
@@ -25,6 +25,9 @@ ${PYSITELIB}/openapi_spec_validator/reso
 ${PYSITELIB}/openapi_spec_validator/schemas/__init__.py
 ${PYSITELIB}/openapi_spec_validator/schemas/__init__.pyc
 ${PYSITELIB}/openapi_spec_validator/schemas/__init__.pyo
+${PYSITELIB}/openapi_spec_validator/schemas/types.py
+${PYSITELIB}/openapi_spec_validator/schemas/types.pyc
+${PYSITELIB}/openapi_spec_validator/schemas/types.pyo
 ${PYSITELIB}/openapi_spec_validator/schemas/utils.py
 ${PYSITELIB}/openapi_spec_validator/schemas/utils.pyc
 ${PYSITELIB}/openapi_spec_validator/schemas/utils.pyo
@@ -34,18 +37,48 @@ ${PYSITELIB}/openapi_spec_validator/shor
 ${PYSITELIB}/openapi_spec_validator/validation/__init__.py
 ${PYSITELIB}/openapi_spec_validator/validation/__init__.pyc
 ${PYSITELIB}/openapi_spec_validator/validation/__init__.pyo
+${PYSITELIB}/openapi_spec_validator/validation/caches.py
+${PYSITELIB}/openapi_spec_validator/validation/caches.pyc
+${PYSITELIB}/openapi_spec_validator/validation/caches.pyo
 ${PYSITELIB}/openapi_spec_validator/validation/decorators.py
 ${PYSITELIB}/openapi_spec_validator/validation/decorators.pyc
 ${PYSITELIB}/openapi_spec_validator/validation/decorators.pyo
 ${PYSITELIB}/openapi_spec_validator/validation/exceptions.py
 ${PYSITELIB}/openapi_spec_validator/validation/exceptions.pyc
 ${PYSITELIB}/openapi_spec_validator/validation/exceptions.pyo
+${PYSITELIB}/openapi_spec_validator/validation/keywords.py
+${PYSITELIB}/openapi_spec_validator/validation/keywords.pyc
+${PYSITELIB}/openapi_spec_validator/validation/keywords.pyo
 ${PYSITELIB}/openapi_spec_validator/validation/protocols.py
 ${PYSITELIB}/openapi_spec_validator/validation/protocols.pyc
 ${PYSITELIB}/openapi_spec_validator/validation/protocols.pyo
 ${PYSITELIB}/openapi_spec_validator/validation/proxies.py
 ${PYSITELIB}/openapi_spec_validator/validation/proxies.pyc
 ${PYSITELIB}/openapi_spec_validator/validation/proxies.pyo
+${PYSITELIB}/openapi_spec_validator/validation/registries.py
+${PYSITELIB}/openapi_spec_validator/validation/registries.pyc
+${PYSITELIB}/openapi_spec_validator/validation/registries.pyo
+${PYSITELIB}/openapi_spec_validator/validation/types.py
+${PYSITELIB}/openapi_spec_validator/validation/types.pyc
+${PYSITELIB}/openapi_spec_validator/validation/types.pyo
 ${PYSITELIB}/openapi_spec_validator/validation/validators.py
 ${PYSITELIB}/openapi_spec_validator/validation/validators.pyc
 ${PYSITELIB}/openapi_spec_validator/validation/validators.pyo
+${PYSITELIB}/openapi_spec_validator/versions/__init__.py
+${PYSITELIB}/openapi_spec_validator/versions/__init__.pyc
+${PYSITELIB}/openapi_spec_validator/versions/__init__.pyo
+${PYSITELIB}/openapi_spec_validator/versions/consts.py
+${PYSITELIB}/openapi_spec_validator/versions/consts.pyc
+${PYSITELIB}/openapi_spec_validator/versions/consts.pyo
+${PYSITELIB}/openapi_spec_validator/versions/datatypes.py
+${PYSITELIB}/openapi_spec_validator/versions/datatypes.pyc
+${PYSITELIB}/openapi_spec_validator/versions/datatypes.pyo
+${PYSITELIB}/openapi_spec_validator/versions/exceptions.py
+${PYSITELIB}/openapi_spec_validator/versions/exceptions.pyc
+${PYSITELIB}/openapi_spec_validator/versions/exceptions.pyo
+${PYSITELIB}/openapi_spec_validator/versions/finders.py
+${PYSITELIB}/openapi_spec_validator/versions/finders.pyc
+${PYSITELIB}/openapi_spec_validator/versions/finders.pyo
+${PYSITELIB}/openapi_spec_validator/versions/shortcuts.py
+${PYSITELIB}/openapi_spec_validator/versions/shortcuts.pyc
+${PYSITELIB}/openapi_spec_validator/versions/shortcuts.pyo
Index: pkgsrc/textproc/py-openapi-spec-validator/distinfo
diff -u pkgsrc/textproc/py-openapi-spec-validator/distinfo:1.5 pkgsrc/textproc/py-openapi-spec-validator/distinfo:1.6
--- pkgsrc/textproc/py-openapi-spec-validator/distinfo:1.5      Sun Aug 27 13:27:28 2023
+++ pkgsrc/textproc/py-openapi-spec-validator/distinfo  Thu Nov  9 18:55:58 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2023/08/27 13:27:28 adam Exp $
+$NetBSD: distinfo,v 1.6 2023/11/09 18:55:58 adam Exp $
 
-BLAKE2s (openapi_spec_validator-0.6.0.tar.gz) = 53e579fd22b69e3797b1139c0d01145020bad82f272d00be43b836aaf4c1de47
-SHA512 (openapi_spec_validator-0.6.0.tar.gz) = 71434f131f34902210237940d75f07f250b296c3e1814e03f0eaae436321ca11ac63d0014c85ad571852e66b2e11545c9d0cf21d771c0c67210a60c1f9094cc2
-Size (openapi_spec_validator-0.6.0.tar.gz) = 33646 bytes
+BLAKE2s (openapi_spec_validator-0.7.1.tar.gz) = 20b5110b20c4757cf001394e600599e2303960c83b774f9a400978d51034f79d
+SHA512 (openapi_spec_validator-0.7.1.tar.gz) = c2a4be4a945058a4e77857bf0d6dabf2bef27c25fbe72947db3ac011c5a60d2d0159ef0d1d44571152c5ffdc650f7d3d6c54f82834e499e9506fb474b7c9b270
+Size (openapi_spec_validator-0.7.1.tar.gz) = 37985 bytes



Home | Main Index | Thread Index | Old Index