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 dependency
This commit is contained in:
adam 2022-04-09 07:42:19 +00:00
parent 5c0837e221
commit 7427380f07
4 changed files with 16 additions and 20 deletions

View file

@ -0,0 +1 @@
bin/openapi-spec-validator @PREFIX@/bin/openapi-spec-validator-@PYVERSSUFFIX@

View file

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.3 2022/01/05 15:41:25 wiz Exp $
# $NetBSD: Makefile,v 1.4 2022/04/09 07:42:19 adam Exp $
DISTNAME= openapi-spec-validator-0.3.1
DISTNAME= openapi-spec-validator-0.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 2
CATEGORIES= textproc www python
MASTER_SITES= ${MASTER_SITE_PYPI:=o/openapi-spec-validator/}
@ -11,22 +10,19 @@ HOMEPAGE= https://github.com/p1c2u/openapi-spec-validator
COMMENT= OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0 spec validator
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-jsonschema-[0-9]*:../../textproc/py-jsonschema
DEPENDS+= ${PYPKGPREFIX}-openapi-schema-validator-[0-9]*:../../textproc/py-openapi-schema-validator
DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
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
DEPENDS+= ${PYPKGPREFIX}-jsonschema>=3.2.0:../../textproc/py-jsonschema
DEPENDS+= ${PYPKGPREFIX}-openapi-schema-validator>=0.2.0:../../textproc/py-openapi-schema-validator
DEPENDS+= ${PYPKGPREFIX}-yaml>=5.1:../../textproc/py-yaml
USE_LANGUAGES= # none
USE_PKG_RESOURCES= yes
TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
PYTHON_VERSIONS_INCOMPATIBLE= 27
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} openapi-spec-validator openapi-spec-validator-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,10 +1,9 @@
@comment $NetBSD: PLIST,v 1.1 2021/11/23 12:36:48 wiz Exp $
bin/openapi-spec-validator
@comment $NetBSD: PLIST,v 1.2 2022/04/09 07:42:19 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}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/openapi_spec_validator/__init__.py

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.1 2021/11/23 12:36:48 wiz Exp $
$NetBSD: distinfo,v 1.2 2022/04/09 07:42:19 adam Exp $
BLAKE2s (openapi-spec-validator-0.3.1.tar.gz) = 7ad866d9bf3af8784a98b682037cc624cfaf5062a57a1a264ccf07391db0b8c4
SHA512 (openapi-spec-validator-0.3.1.tar.gz) = 40e8f1539ce9db50c2029e070d40d837032fc7e69a110c729197dc3486e01a37c8995086de6760e7089ca01e75c5c0280d986f9dd81c9617b5f266f4d04de2d8
Size (openapi-spec-validator-0.3.1.tar.gz) = 26310 bytes
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