pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-openapi-spec-validator py-openapi-spec-val...
details: https://anonhg.NetBSD.org/pkgsrc/rev/60f33773f309
branches: trunk
changeset: 387309:60f33773f309
user: adam <adam%pkgsrc.org@localhost>
date: Wed Oct 26 12:52:34 2022 +0000
description:
py-openapi-spec-validator: updated to 0.5.1
0.5.1
Responses schema validation
0.5.0
detect spec schema version
static types and Mypy static type check
tests mark network
schemas and validators lazy loading proxy
CLI detect spec version
Shortcuts refactor and validators explicit usage
Backward incompatibilities
redundant shortcuts validate_v*_spec and validate_v*_spec_url removed. Use validate_spec and validate_spec_url with validator parameter instead.
default_handlers (and whole handlers package) removed. Use handlers from jsonschema_spec.handlers instead.
diffstat:
textproc/py-openapi-spec-validator/Makefile | 11 ++-
textproc/py-openapi-spec-validator/PLIST | 70 +++++++++++-----------------
textproc/py-openapi-spec-validator/distinfo | 8 +-
3 files changed, 38 insertions(+), 51 deletions(-)
diffs (132 lines):
diff -r c6d51bac58cd -r 60f33773f309 textproc/py-openapi-spec-validator/Makefile
--- a/textproc/py-openapi-spec-validator/Makefile Wed Oct 26 12:51:46 2022 +0000
+++ b/textproc/py-openapi-spec-validator/Makefile Wed Oct 26 12:52:34 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2022/04/09 07:42:19 adam Exp $
+# $NetBSD: Makefile,v 1.5 2022/10/26 12:52:34 adam Exp $
-DISTNAME= openapi-spec-validator-0.4.0
+DISTNAME= openapi-spec-validator-0.5.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc www python
MASTER_SITES= ${MASTER_SITE_PYPI:=o/openapi-spec-validator/}
@@ -10,8 +10,11 @@
COMMENT= OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0 spec validator
LICENSE= apache-2.0
-DEPENDS+= ${PYPKGPREFIX}-jsonschema>=3.2.0:../../textproc/py-jsonschema
-DEPENDS+= ${PYPKGPREFIX}-openapi-schema-validator>=0.2.0:../../textproc/py-openapi-schema-validator
+DEPENDS+= ${PYPKGPREFIX}-importlib-resources>=5.8.0:../../devel/py-importlib-resources
+DEPENDS+= ${PYPKGPREFIX}-jsonschema>=4.0.0:../../textproc/py-jsonschema
+DEPENDS+= ${PYPKGPREFIX}-jsonschema-spec>=0.1.1:../../textproc/py-jsonschema-spec
+DEPENDS+= ${PYPKGPREFIX}-lazy-object-proxy>=1.7.1:../../devel/py-lazy-object-proxy
+DEPENDS+= ${PYPKGPREFIX}-openapi-schema-validator>=0.3.2:../../textproc/py-openapi-schema-validator
DEPENDS+= ${PYPKGPREFIX}-yaml>=5.1:../../textproc/py-yaml
USE_LANGUAGES= # none
diff -r c6d51bac58cd -r 60f33773f309 textproc/py-openapi-spec-validator/PLIST
--- a/textproc/py-openapi-spec-validator/PLIST Wed Oct 26 12:51:46 2022 +0000
+++ b/textproc/py-openapi-spec-validator/PLIST Wed Oct 26 12:52:34 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2022/04/09 07:42:19 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/10/26 12:52:34 adam Exp $
bin/openapi-spec-validator-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -12,57 +12,41 @@
${PYSITELIB}/openapi_spec_validator/__main__.py
${PYSITELIB}/openapi_spec_validator/__main__.pyc
${PYSITELIB}/openapi_spec_validator/__main__.pyo
-${PYSITELIB}/openapi_spec_validator/constructors.py
-${PYSITELIB}/openapi_spec_validator/constructors.pyc
-${PYSITELIB}/openapi_spec_validator/constructors.pyo
-${PYSITELIB}/openapi_spec_validator/decorators.py
-${PYSITELIB}/openapi_spec_validator/decorators.pyc
-${PYSITELIB}/openapi_spec_validator/decorators.pyo
${PYSITELIB}/openapi_spec_validator/exceptions.py
${PYSITELIB}/openapi_spec_validator/exceptions.pyc
${PYSITELIB}/openapi_spec_validator/exceptions.pyo
-${PYSITELIB}/openapi_spec_validator/factories.py
-${PYSITELIB}/openapi_spec_validator/factories.pyc
-${PYSITELIB}/openapi_spec_validator/factories.pyo
-${PYSITELIB}/openapi_spec_validator/generators.py
-${PYSITELIB}/openapi_spec_validator/generators.pyc
-${PYSITELIB}/openapi_spec_validator/generators.pyo
-${PYSITELIB}/openapi_spec_validator/handlers/__init__.py
-${PYSITELIB}/openapi_spec_validator/handlers/__init__.pyc
-${PYSITELIB}/openapi_spec_validator/handlers/__init__.pyo
-${PYSITELIB}/openapi_spec_validator/handlers/base.py
-${PYSITELIB}/openapi_spec_validator/handlers/base.pyc
-${PYSITELIB}/openapi_spec_validator/handlers/base.pyo
-${PYSITELIB}/openapi_spec_validator/handlers/file.py
-${PYSITELIB}/openapi_spec_validator/handlers/file.pyc
-${PYSITELIB}/openapi_spec_validator/handlers/file.pyo
-${PYSITELIB}/openapi_spec_validator/handlers/requests.py
-${PYSITELIB}/openapi_spec_validator/handlers/requests.pyc
-${PYSITELIB}/openapi_spec_validator/handlers/requests.pyo
-${PYSITELIB}/openapi_spec_validator/handlers/urllib.py
-${PYSITELIB}/openapi_spec_validator/handlers/urllib.pyc
-${PYSITELIB}/openapi_spec_validator/handlers/urllib.pyo
-${PYSITELIB}/openapi_spec_validator/handlers/utils.py
-${PYSITELIB}/openapi_spec_validator/handlers/utils.pyc
-${PYSITELIB}/openapi_spec_validator/handlers/utils.pyo
-${PYSITELIB}/openapi_spec_validator/loaders.py
-${PYSITELIB}/openapi_spec_validator/loaders.pyc
-${PYSITELIB}/openapi_spec_validator/loaders.pyo
-${PYSITELIB}/openapi_spec_validator/managers.py
-${PYSITELIB}/openapi_spec_validator/managers.pyc
-${PYSITELIB}/openapi_spec_validator/managers.pyo
+${PYSITELIB}/openapi_spec_validator/py.typed
${PYSITELIB}/openapi_spec_validator/readers.py
${PYSITELIB}/openapi_spec_validator/readers.pyc
${PYSITELIB}/openapi_spec_validator/readers.pyo
${PYSITELIB}/openapi_spec_validator/resources/schemas/v2.0/schema.json
${PYSITELIB}/openapi_spec_validator/resources/schemas/v3.0.0/schema.json
${PYSITELIB}/openapi_spec_validator/resources/schemas/v3.0/schema.json
-${PYSITELIB}/openapi_spec_validator/schemas.py
-${PYSITELIB}/openapi_spec_validator/schemas.pyc
-${PYSITELIB}/openapi_spec_validator/schemas.pyo
+${PYSITELIB}/openapi_spec_validator/resources/schemas/v3.1/schema.json
+${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/utils.py
+${PYSITELIB}/openapi_spec_validator/schemas/utils.pyc
+${PYSITELIB}/openapi_spec_validator/schemas/utils.pyo
${PYSITELIB}/openapi_spec_validator/shortcuts.py
${PYSITELIB}/openapi_spec_validator/shortcuts.pyc
${PYSITELIB}/openapi_spec_validator/shortcuts.pyo
-${PYSITELIB}/openapi_spec_validator/validators.py
-${PYSITELIB}/openapi_spec_validator/validators.pyc
-${PYSITELIB}/openapi_spec_validator/validators.pyo
+${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/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/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/validators.py
+${PYSITELIB}/openapi_spec_validator/validation/validators.pyc
+${PYSITELIB}/openapi_spec_validator/validation/validators.pyo
diff -r c6d51bac58cd -r 60f33773f309 textproc/py-openapi-spec-validator/distinfo
--- a/textproc/py-openapi-spec-validator/distinfo Wed Oct 26 12:51:46 2022 +0000
+++ b/textproc/py-openapi-spec-validator/distinfo Wed Oct 26 12:52:34 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2022/04/09 07:42:19 adam Exp $
+$NetBSD: distinfo,v 1.3 2022/10/26 12:52:34 adam Exp $
-BLAKE2s (openapi-spec-validator-0.4.0.tar.gz) = 858d98cef7893c1567ca4cf401ca1602d33189b370b8af1cc91ab9be7f32ac46
-SHA512 (openapi-spec-validator-0.4.0.tar.gz) = 2a1bbc10b46122d2bf472bf469f5a562a0edbd1aa9908bb1d8a55b15496465d014df7bafdf2e4458a266fb372a73790612d2513aa6d26578007a8ba10ee7758e
-Size (openapi-spec-validator-0.4.0.tar.gz) = 26679 bytes
+BLAKE2s (openapi-spec-validator-0.5.1.tar.gz) = 8ea950c9b8e553d027f244eabaa17908e2426adf3d8865f6a8bb2b1663956234
+SHA512 (openapi-spec-validator-0.5.1.tar.gz) = 303d8ebb66a05664423f2012c91b9bdf745712a61b98308a778c49ab9053a4cd89f02a185e0f99def8c4286bfa6b8f5c4b20dc152f828c455d090023b6694ec1
+Size (openapi-spec-validator-0.5.1.tar.gz) = 27941 bytes
Home |
Main Index |
Thread Index |
Old Index