py-openapi-spec-validator: updated to 0.4.0 0.4.0 Drop Python 2.7, 3.5 and 3.6 support Add Python 3.10 support Bump dependency upper bounds Drop pyrsistent direct dependencydiff -r0 -r1.1 pkgsrc/textproc/py-openapi-spec-validator/ALTERNATIVES
(adam)
bin/openapi-spec-validator @PREFIX@/bin/openapi-spec-validator-@PYVERSSUFFIX@
@@ -1,32 +1,28 @@ | @@ -1,32 +1,28 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2022/01/05 15:41:25 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2022/04/09 07:42:19 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= openapi-spec-validator-0.3.1 | 3 | DISTNAME= openapi-spec-validator-0.4.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | PKGREVISION= 2 | |||
6 | CATEGORIES= textproc www python | 5 | CATEGORIES= textproc www python | |
7 | MASTER_SITES= ${MASTER_SITE_PYPI:=o/openapi-spec-validator/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=o/openapi-spec-validator/} | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://github.com/p1c2u/openapi-spec-validator | 9 | HOMEPAGE= https://github.com/p1c2u/openapi-spec-validator | |
11 | COMMENT= OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0 spec validator | 10 | COMMENT= OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0 spec validator | |
12 | LICENSE= apache-2.0 | 11 | LICENSE= apache-2.0 | |
13 | 12 | |||
14 | DEPENDS+= ${PYPKGPREFIX}-jsonschema-[0-9]*:../../textproc/py-jsonschema | 13 | DEPENDS+= ${PYPKGPREFIX}-jsonschema>=3.2.0:../../textproc/py-jsonschema | |
15 | DEPENDS+= ${PYPKGPREFIX}-openapi-schema-validator-[0-9]*:../../textproc/py-openapi-schema-validator | 14 | DEPENDS+= ${PYPKGPREFIX}-openapi-schema-validator>=0.2.0:../../textproc/py-openapi-schema-validator | |
16 | DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml | 15 | DEPENDS+= ${PYPKGPREFIX}-yaml>=5.1:../../textproc/py-yaml | |
17 | DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six | |||
18 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | |||
19 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov | |||
20 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8 | |||
21 | 16 | |||
22 | USE_LANGUAGES= # none | 17 | USE_LANGUAGES= # none | |
23 | 18 | |||
24 | USE_PKG_RESOURCES= yes | 19 | USE_PKG_RESOURCES= yes | |
25 | 20 | |||
26 | TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib | 21 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
27 | 22 | |||
28 | do-test: | 23 | post-install: | |
29 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} | 24 | cd ${DESTDIR}${PREFIX}/bin && \ | |
25 | ${MV} openapi-spec-validator openapi-spec-validator-${PYVERSSUFFIX} || ${TRUE} | |||
30 | 26 | |||
31 | .include "../../lang/python/egg.mk" | 27 | .include "../../lang/python/egg.mk" | |
32 | .include "../../mk/bsd.pkg.mk" | 28 | .include "../../mk/bsd.pkg.mk" |
@@ -1,20 +1,19 @@ | @@ -1,20 +1,19 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2021/11/23 12:36:48 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2022/04/09 07:42:19 adam Exp $ | |
2 | bin/openapi-spec-validator | 2 | bin/openapi-spec-validator-${PYVERSSUFFIX} | |
3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |
5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |
6 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | 6 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | |
7 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | |||
8 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 7 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | |
9 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 8 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |
10 | ${PYSITELIB}/openapi_spec_validator/__init__.py | 9 | ${PYSITELIB}/openapi_spec_validator/__init__.py | |
11 | ${PYSITELIB}/openapi_spec_validator/__init__.pyc | 10 | ${PYSITELIB}/openapi_spec_validator/__init__.pyc | |
12 | ${PYSITELIB}/openapi_spec_validator/__init__.pyo | 11 | ${PYSITELIB}/openapi_spec_validator/__init__.pyo | |
13 | ${PYSITELIB}/openapi_spec_validator/__main__.py | 12 | ${PYSITELIB}/openapi_spec_validator/__main__.py | |
14 | ${PYSITELIB}/openapi_spec_validator/__main__.pyc | 13 | ${PYSITELIB}/openapi_spec_validator/__main__.pyc | |
15 | ${PYSITELIB}/openapi_spec_validator/__main__.pyo | 14 | ${PYSITELIB}/openapi_spec_validator/__main__.pyo | |
16 | ${PYSITELIB}/openapi_spec_validator/constructors.py | 15 | ${PYSITELIB}/openapi_spec_validator/constructors.py | |
17 | ${PYSITELIB}/openapi_spec_validator/constructors.pyc | 16 | ${PYSITELIB}/openapi_spec_validator/constructors.pyc | |
18 | ${PYSITELIB}/openapi_spec_validator/constructors.pyo | 17 | ${PYSITELIB}/openapi_spec_validator/constructors.pyo | |
19 | ${PYSITELIB}/openapi_spec_validator/decorators.py | 18 | ${PYSITELIB}/openapi_spec_validator/decorators.py | |
20 | ${PYSITELIB}/openapi_spec_validator/decorators.pyc | 19 | ${PYSITELIB}/openapi_spec_validator/decorators.pyc |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.1 2021/11/23 12:36:48 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.2 2022/04/09 07:42:19 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (openapi-spec-validator-0.3.1.tar.gz) = 7ad866d9bf3af8784a98b682037cc624cfaf5062a57a1a264ccf07391db0b8c4 | 3 | BLAKE2s (openapi-spec-validator-0.4.0.tar.gz) = 858d98cef7893c1567ca4cf401ca1602d33189b370b8af1cc91ab9be7f32ac46 | |
4 | SHA512 (openapi-spec-validator-0.3.1.tar.gz) = 40e8f1539ce9db50c2029e070d40d837032fc7e69a110c729197dc3486e01a37c8995086de6760e7089ca01e75c5c0280d986f9dd81c9617b5f266f4d04de2d8 | 4 | SHA512 (openapi-spec-validator-0.4.0.tar.gz) = 2a1bbc10b46122d2bf472bf469f5a562a0edbd1aa9908bb1d8a55b15496465d014df7bafdf2e4458a266fb372a73790612d2513aa6d26578007a8ba10ee7758e | |
5 | Size (openapi-spec-validator-0.3.1.tar.gz) = 26310 bytes | 5 | Size (openapi-spec-validator-0.4.0.tar.gz) = 26679 bytes |