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/9b75c707ddc1
branches:  trunk
changeset: 376524:9b75c707ddc1
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Apr 09 07:42:19 2022 +0000

description:
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

diffstat:

 textproc/py-openapi-spec-validator/ALTERNATIVES |   1 +
 textproc/py-openapi-spec-validator/Makefile     |  22 +++++++++-------------
 textproc/py-openapi-spec-validator/PLIST        |   5 ++---
 textproc/py-openapi-spec-validator/distinfo     |   8 ++++----
 4 files changed, 16 insertions(+), 20 deletions(-)

diffs (78 lines):

diff -r 66cbd646875b -r 9b75c707ddc1 textproc/py-openapi-spec-validator/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-openapi-spec-validator/ALTERNATIVES   Sat Apr 09 07:42:19 2022 +0000
@@ -0,0 +1,1 @@
+bin/openapi-spec-validator @PREFIX@/bin/openapi-spec-validator-@PYVERSSUFFIX@
diff -r 66cbd646875b -r 9b75c707ddc1 textproc/py-openapi-spec-validator/Makefile
--- a/textproc/py-openapi-spec-validator/Makefile       Sat Apr 09 07:40:34 2022 +0000
+++ b/textproc/py-openapi-spec-validator/Makefile       Sat Apr 09 07:42:19 2022 +0000
@@ -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 @@
 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"
diff -r 66cbd646875b -r 9b75c707ddc1 textproc/py-openapi-spec-validator/PLIST
--- a/textproc/py-openapi-spec-validator/PLIST  Sat Apr 09 07:40:34 2022 +0000
+++ b/textproc/py-openapi-spec-validator/PLIST  Sat Apr 09 07:42:19 2022 +0000
@@ -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
diff -r 66cbd646875b -r 9b75c707ddc1 textproc/py-openapi-spec-validator/distinfo
--- a/textproc/py-openapi-spec-validator/distinfo       Sat Apr 09 07:40:34 2022 +0000
+++ b/textproc/py-openapi-spec-validator/distinfo       Sat Apr 09 07:42:19 2022 +0000
@@ -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



Home | Main Index | Thread Index | Old Index