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: Mon May 15 20:18:42 UTC 2023
Modified Files:
pkgsrc/textproc/py-openapi-spec-validator: Makefile PLIST distinfo
Log Message:
py-openapi-spec-validator: updated to 0.5.6
0.5.6
Fix typo in server variables schema for OpenAPI 3.1.0
Include tests in sdist archives
jsonschema 4.17 dependency limit
add python 3.11 support
0.5.5
update openapi-schema-validator dependecy
0.5.4
schema properties validation recursion fix
0.5.3
fix custom format checker not found test
fix property missing reference validation
0.5.2
Use stdlib importlib.resources on python >= 3.9
mypy typing module version fix
Drop no longer used runtime dependency on PyYAML
allow openapi-schema-validator 0.4
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/py-openapi-spec-validator/Makefile
cvs rdiff -u -r1.3 -r1.4 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.5 pkgsrc/textproc/py-openapi-spec-validator/Makefile:1.6
--- pkgsrc/textproc/py-openapi-spec-validator/Makefile:1.5 Wed Oct 26 12:52:34 2022
+++ pkgsrc/textproc/py-openapi-spec-validator/Makefile Mon May 15 20:18:42 2023
@@ -1,31 +1,39 @@
-# $NetBSD: Makefile,v 1.5 2022/10/26 12:52:34 adam Exp $
+# $NetBSD: Makefile,v 1.6 2023/05/15 20:18:42 adam Exp $
-DISTNAME= openapi-spec-validator-0.5.1
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+DISTNAME= openapi_spec_validator-0.5.6
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES= textproc www python
MASTER_SITES= ${MASTER_SITE_PYPI:=o/openapi-spec-validator/}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://github.com/p1c2u/openapi-spec-validator
+HOMEPAGE= https://github.com/python-openapi/openapi-spec-validator
COMMENT= OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0 spec validator
LICENSE= apache-2.0
-DEPENDS+= ${PYPKGPREFIX}-importlib-resources>=5.8.0:../../devel/py-importlib-resources
+TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=1.0.0:../../devel/py-poetry-core
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
+DEPENDS+= ${PYPKGPREFIX}-openapi-schema-validator>=0.4.2:../../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
USE_LANGUAGES= # none
-USE_PKG_RESOURCES= yes
-
PYTHON_VERSIONS_INCOMPATIBLE= 27
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 309
+DEPENDS+= ${PYPKGPREFIX}-importlib-resources>=5.8.0:../../devel/py-importlib-resources
+.endif
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} openapi-spec-validator openapi-spec-validator-${PYVERSSUFFIX} || ${TRUE}
-.include "../../lang/python/egg.mk"
+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.3 pkgsrc/textproc/py-openapi-spec-validator/PLIST:1.4
--- pkgsrc/textproc/py-openapi-spec-validator/PLIST:1.3 Wed Oct 26 12:52:34 2022
+++ pkgsrc/textproc/py-openapi-spec-validator/PLIST Mon May 15 20:18:42 2023
@@ -1,52 +1,41 @@
-@comment $NetBSD: PLIST,v 1.3 2022/10/26 12:52:34 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2023/05/15 20:18:42 adam Exp $
bin/openapi-spec-validator-${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}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
${PYSITELIB}/openapi_spec_validator/__init__.py
${PYSITELIB}/openapi_spec_validator/__init__.pyc
-${PYSITELIB}/openapi_spec_validator/__init__.pyo
${PYSITELIB}/openapi_spec_validator/__main__.py
${PYSITELIB}/openapi_spec_validator/__main__.pyc
-${PYSITELIB}/openapi_spec_validator/__main__.pyo
${PYSITELIB}/openapi_spec_validator/exceptions.py
${PYSITELIB}/openapi_spec_validator/exceptions.pyc
-${PYSITELIB}/openapi_spec_validator/exceptions.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/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/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
Index: pkgsrc/textproc/py-openapi-spec-validator/distinfo
diff -u pkgsrc/textproc/py-openapi-spec-validator/distinfo:1.3 pkgsrc/textproc/py-openapi-spec-validator/distinfo:1.4
--- pkgsrc/textproc/py-openapi-spec-validator/distinfo:1.3 Wed Oct 26 12:52:34 2022
+++ pkgsrc/textproc/py-openapi-spec-validator/distinfo Mon May 15 20:18:42 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2022/10/26 12:52:34 adam Exp $
+$NetBSD: distinfo,v 1.4 2023/05/15 20:18:42 adam Exp $
-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
+BLAKE2s (openapi_spec_validator-0.5.6.tar.gz) = b6bac3ee5022669a03e473bfce75d5f6c6fc53d5f9441d8c1b609ffc9826b72d
+SHA512 (openapi_spec_validator-0.5.6.tar.gz) = ea1e810ecf49ff3d237e3368cd2cbcc6b733e9657f101759860ef16d3e2f14c97ccfe52fae2897d12a50c803d709d61d7ef8b40b288e5f73265da9ac5c88280b
+Size (openapi_spec_validator-0.5.6.tar.gz) = 33031 bytes
Home |
Main Index |
Thread Index |
Old Index