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: Sat Apr 9 07:42:19 UTC 2022
Modified Files:
pkgsrc/textproc/py-openapi-spec-validator: Makefile PLIST distinfo
Added Files:
pkgsrc/textproc/py-openapi-spec-validator: ALTERNATIVES
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-openapi-spec-validator/ALTERNATIVES
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/py-openapi-spec-validator/Makefile
cvs rdiff -u -r1.1 -r1.2 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.3 pkgsrc/textproc/py-openapi-spec-validator/Makefile:1.4
--- pkgsrc/textproc/py-openapi-spec-validator/Makefile:1.3 Wed Jan 5 15:41:25 2022
+++ pkgsrc/textproc/py-openapi-spec-validator/Makefile Sat Apr 9 07:42:19 2022
@@ -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/opena
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"
Index: pkgsrc/textproc/py-openapi-spec-validator/PLIST
diff -u pkgsrc/textproc/py-openapi-spec-validator/PLIST:1.1 pkgsrc/textproc/py-openapi-spec-validator/PLIST:1.2
--- pkgsrc/textproc/py-openapi-spec-validator/PLIST:1.1 Tue Nov 23 12:36:48 2021
+++ pkgsrc/textproc/py-openapi-spec-validator/PLIST Sat Apr 9 07:42:19 2022
@@ -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
Index: pkgsrc/textproc/py-openapi-spec-validator/distinfo
diff -u pkgsrc/textproc/py-openapi-spec-validator/distinfo:1.1 pkgsrc/textproc/py-openapi-spec-validator/distinfo:1.2
--- pkgsrc/textproc/py-openapi-spec-validator/distinfo:1.1 Tue Nov 23 12:36:48 2021
+++ pkgsrc/textproc/py-openapi-spec-validator/distinfo Sat Apr 9 07:42:19 2022
@@ -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
Added files:
Index: pkgsrc/textproc/py-openapi-spec-validator/ALTERNATIVES
diff -u /dev/null pkgsrc/textproc/py-openapi-spec-validator/ALTERNATIVES:1.1
--- /dev/null Sat Apr 9 07:42:19 2022
+++ pkgsrc/textproc/py-openapi-spec-validator/ALTERNATIVES Sat Apr 9 07:42:19 2022
@@ -0,0 +1 @@
+bin/openapi-spec-validator @PREFIX@/bin/openapi-spec-validator-@PYVERSSUFFIX@
Home |
Main Index |
Thread Index |
Old Index