pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-openapi-schema-validator



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon May 15 20:12:39 UTC 2023

Modified Files:
        pkgsrc/textproc/py-openapi-schema-validator: Makefile PLIST distinfo

Log Message:
py-openapi-schema-validator: updated to 0.4.4

0.4.4

Include tests in sdist archives
jsonschema 4.17 dependency limit
add python 3.11 support

0.4.3

test required formats only

0.4.2

Rely on jsonschema date date-time and uuid format checkers. Format checkers assigned to validators

Backward incompatibility

Missing format checker for format no longer raise FormatError

0.4.1

OAS30 read write validators

0.4.0

Drop no longer used runtime dependency on attrs
Re-implemented nullable based on OAS 3.0.3 definition.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/py-openapi-schema-validator/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/py-openapi-schema-validator/PLIST \
    pkgsrc/textproc/py-openapi-schema-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-schema-validator/Makefile
diff -u pkgsrc/textproc/py-openapi-schema-validator/Makefile:1.4 pkgsrc/textproc/py-openapi-schema-validator/Makefile:1.5
--- pkgsrc/textproc/py-openapi-schema-validator/Makefile:1.4    Wed Oct 26 10:49:04 2022
+++ pkgsrc/textproc/py-openapi-schema-validator/Makefile        Mon May 15 20:12:39 2023
@@ -1,22 +1,28 @@
-# $NetBSD: Makefile,v 1.4 2022/10/26 10:49:04 adam Exp $
+# $NetBSD: Makefile,v 1.5 2023/05/15 20:12:39 adam Exp $
 
-DISTNAME=      openapi-schema-validator-0.3.4
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+DISTNAME=      openapi_schema_validator-0.4.4
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/g}
 CATEGORIES=    textproc www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=o/openapi-schema-validator/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/p1c2u/openapi-schema-validator
+HOMEPAGE=      https://github.com/python-openapi/openapi-schema-validator
 COMMENT=       OpenAPI schema validation for Python
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-attrs>=19.2.0:../../devel/py-attrs
-DEPENDS+=      ${PYPKGPREFIX}-isodate-[0-9]*:../../time/py-isodate
-DEPENDS+=      ${PYPKGPREFIX}-jsonschema>=3:../../textproc/py-jsonschema
+TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=1.0.0:../../devel/py-poetry-core
+DEPENDS+=      ${PYPKGPREFIX}-jsonschema>=4.0.0:../../textproc/py-jsonschema
+DEPENDS+=      ${PYPKGPREFIX}-rfc3339-validator-[0-9]*:../../time/py-rfc3339-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
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.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-schema-validator/PLIST
diff -u pkgsrc/textproc/py-openapi-schema-validator/PLIST:1.3 pkgsrc/textproc/py-openapi-schema-validator/PLIST:1.4
--- pkgsrc/textproc/py-openapi-schema-validator/PLIST:1.3       Wed Oct 26 10:49:04 2022
+++ pkgsrc/textproc/py-openapi-schema-validator/PLIST   Mon May 15 20:12:39 2023
@@ -1,25 +1,21 @@
-@comment $NetBSD: PLIST,v 1.3 2022/10/26 10:49:04 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.4 2023/05/15 20:12:39 adam Exp $
+${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}/openapi_schema_validator/__init__.py
 ${PYSITELIB}/openapi_schema_validator/__init__.pyc
-${PYSITELIB}/openapi_schema_validator/__init__.pyo
 ${PYSITELIB}/openapi_schema_validator/_format.py
 ${PYSITELIB}/openapi_schema_validator/_format.pyc
-${PYSITELIB}/openapi_schema_validator/_format.pyo
 ${PYSITELIB}/openapi_schema_validator/_types.py
 ${PYSITELIB}/openapi_schema_validator/_types.pyc
-${PYSITELIB}/openapi_schema_validator/_types.pyo
 ${PYSITELIB}/openapi_schema_validator/_validators.py
 ${PYSITELIB}/openapi_schema_validator/_validators.pyc
-${PYSITELIB}/openapi_schema_validator/_validators.pyo
 ${PYSITELIB}/openapi_schema_validator/py.typed
 ${PYSITELIB}/openapi_schema_validator/shortcuts.py
 ${PYSITELIB}/openapi_schema_validator/shortcuts.pyc
-${PYSITELIB}/openapi_schema_validator/shortcuts.pyo
 ${PYSITELIB}/openapi_schema_validator/validators.py
 ${PYSITELIB}/openapi_schema_validator/validators.pyc
-${PYSITELIB}/openapi_schema_validator/validators.pyo
Index: pkgsrc/textproc/py-openapi-schema-validator/distinfo
diff -u pkgsrc/textproc/py-openapi-schema-validator/distinfo:1.3 pkgsrc/textproc/py-openapi-schema-validator/distinfo:1.4
--- pkgsrc/textproc/py-openapi-schema-validator/distinfo:1.3    Wed Oct 26 10:49:04 2022
+++ pkgsrc/textproc/py-openapi-schema-validator/distinfo        Mon May 15 20:12:39 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2022/10/26 10:49:04 adam Exp $
+$NetBSD: distinfo,v 1.4 2023/05/15 20:12:39 adam Exp $
 
-BLAKE2s (openapi-schema-validator-0.3.4.tar.gz) = 551aa75178a5b916fd50db3e773707d25cfae7791cfe3b39f0755b47dd6e350a
-SHA512 (openapi-schema-validator-0.3.4.tar.gz) = 82ca76ea2939fbbb7ed6aaea6dbfa98a17f8de59906e4b78713abca5e7e896603373fcd4799620f2bd7498e78bc3535a936c99a740f89d622cd8ba8a2d2a96b6
-Size (openapi-schema-validator-0.3.4.tar.gz) = 10138 bytes
+BLAKE2s (openapi_schema_validator-0.4.4.tar.gz) = f65c363d81e678ab1d92cbbb0e804c96080ac8350fd245191d98ec940f8a39e5
+SHA512 (openapi_schema_validator-0.4.4.tar.gz) = 273e3d7080c794ff277170e55e67e32d65211469642652437e59f985a002b20bd2cc8643d2b0214dc232980dd69c2f87ea748537552c66999a110b2e4be2125c
+Size (openapi_schema_validator-0.4.4.tar.gz) = 11626 bytes



Home | Main Index | Thread Index | Old Index