diff options
author | wiz <wiz@pkgsrc.org> | 2021-11-23 12:32:39 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2021-11-23 12:32:39 +0000 |
commit | 99ab5fce7b674bbc0c5b2137a4a7d038d776d18e (patch) | |
tree | 4b1934c6a6b22bdce7e1aa5e7223a604b4ab3f2c /textproc | |
parent | 4adf9678277425763b8be859cc30d1461c1f7445 (diff) | |
download | pkgsrc-99ab5fce7b674bbc0c5b2137a4a7d038d776d18e.tar.gz |
textproc/py-openapi-schema-validator: import py-openapi-schema-validator-0.1.5
Openapi-schema-validator is a Python library that validates schema
against the OpenAPI Schema Specification v3.0 which is an extended
subset of the JSON Schema Specification Wright Draft 00.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-openapi-schema-validator/DESCR | 3 | ||||
-rw-r--r-- | textproc/py-openapi-schema-validator/Makefile | 29 | ||||
-rw-r--r-- | textproc/py-openapi-schema-validator/PLIST | 25 | ||||
-rw-r--r-- | textproc/py-openapi-schema-validator/distinfo | 5 |
4 files changed, 62 insertions, 0 deletions
diff --git a/textproc/py-openapi-schema-validator/DESCR b/textproc/py-openapi-schema-validator/DESCR new file mode 100644 index 00000000000..4c530cfa045 --- /dev/null +++ b/textproc/py-openapi-schema-validator/DESCR @@ -0,0 +1,3 @@ +Openapi-schema-validator is a Python library that validates schema +against the OpenAPI Schema Specification v3.0 which is an extended +subset of the JSON Schema Specification Wright Draft 00. diff --git a/textproc/py-openapi-schema-validator/Makefile b/textproc/py-openapi-schema-validator/Makefile new file mode 100644 index 00000000000..f386c4e0fb2 --- /dev/null +++ b/textproc/py-openapi-schema-validator/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1 2021/11/23 12:32:39 wiz Exp $ + +DISTNAME= openapi-schema-validator-0.1.5 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= textproc www python +MASTER_SITES= ${MASTER_SITE_PYPI:=o/openapi-schema-validator/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/p1c2u/openapi-schema-validator +COMMENT= OpenAPI schema validation for Python +LICENSE= modified-bsd + +DEPENDS+= ${PYPKGPREFIX}-jsonschema>=3:../../textproc/py-jsonschema +DEPENDS+= ${PYPKGPREFIX}-isodate-[0-9]*:../../time/py-isodate +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 +# mock; python_version<"3.0" + +USE_LANGUAGES= # none + +TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib + +do-test: + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-openapi-schema-validator/PLIST b/textproc/py-openapi-schema-validator/PLIST new file mode 100644 index 00000000000..919f8fc2fc4 --- /dev/null +++ b/textproc/py-openapi-schema-validator/PLIST @@ -0,0 +1,25 @@ +@comment $NetBSD: PLIST,v 1.1 2021/11/23 12:32:39 wiz Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/not-zip-safe +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${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/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 diff --git a/textproc/py-openapi-schema-validator/distinfo b/textproc/py-openapi-schema-validator/distinfo new file mode 100644 index 00000000000..b3a0cb5e4ce --- /dev/null +++ b/textproc/py-openapi-schema-validator/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2021/11/23 12:32:39 wiz Exp $ + +BLAKE2s (openapi-schema-validator-0.1.5.tar.gz) = 65c57c0471faf38112242c5524fb3c15e295e2d8ea10e2072cb3883049da1013 +SHA512 (openapi-schema-validator-0.1.5.tar.gz) = f40f3d53aae2246f8f93a69aa6462a4166e8aec29ec260e267098d12d59b46417c77c36755829974fa5741d026d6618a0b75f65a390cd4650581ae50a81e3158 +Size (openapi-schema-validator-0.1.5.tar.gz) = 6936 bytes |