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 textproc/py-openapi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/eda83d29ac54
branches: trunk
changeset: 769938:eda83d29ac54
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Nov 23 12:36:48 2021 +0000
description:
textproc/py-openapi-spec-validator: import py-openapi-spec-validator-0.3.1
OpenAPI Spec Validator is a Python library that validates OpenAPI
Specs against the OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0
specification. The validator aims to check for full compliance with
the Specification.
diffstat:
textproc/py-openapi-spec-validator/DESCR | 4 +
textproc/py-openapi-spec-validator/Makefile | 29 ++++++++++++
textproc/py-openapi-spec-validator/PLIST | 69 +++++++++++++++++++++++++++++
textproc/py-openapi-spec-validator/distinfo | 5 ++
4 files changed, 107 insertions(+), 0 deletions(-)
diffs (123 lines):
diff -r d3458a7a8d03 -r eda83d29ac54 textproc/py-openapi-spec-validator/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-openapi-spec-validator/DESCR Tue Nov 23 12:36:48 2021 +0000
@@ -0,0 +1,4 @@
+OpenAPI Spec Validator is a Python library that validates OpenAPI
+Specs against the OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0
+specification. The validator aims to check for full compliance with
+the Specification.
diff -r d3458a7a8d03 -r eda83d29ac54 textproc/py-openapi-spec-validator/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-openapi-spec-validator/Makefile Tue Nov 23 12:36:48 2021 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2021/11/23 12:36:48 wiz Exp $
+
+DISTNAME= openapi-spec-validator-0.3.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc www python
+MASTER_SITES= ${MASTER_SITE_PYPI:=o/openapi-spec-validator/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+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
+
+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 -r d3458a7a8d03 -r eda83d29ac54 textproc/py-openapi-spec-validator/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-openapi-spec-validator/PLIST Tue Nov 23 12:36:48 2021 +0000
@@ -0,0 +1,69 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/23 12:36:48 wiz Exp $
+bin/openapi-spec-validator
+${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
+${PYSITELIB}/openapi_spec_validator/__init__.pyc
+${PYSITELIB}/openapi_spec_validator/__init__.pyo
+${PYSITELIB}/openapi_spec_validator/__main__.py
+${PYSITELIB}/openapi_spec_validator/__main__.pyc
+${PYSITELIB}/openapi_spec_validator/__main__.pyo
+${PYSITELIB}/openapi_spec_validator/constructors.py
+${PYSITELIB}/openapi_spec_validator/constructors.pyc
+${PYSITELIB}/openapi_spec_validator/constructors.pyo
+${PYSITELIB}/openapi_spec_validator/decorators.py
+${PYSITELIB}/openapi_spec_validator/decorators.pyc
+${PYSITELIB}/openapi_spec_validator/decorators.pyo
+${PYSITELIB}/openapi_spec_validator/exceptions.py
+${PYSITELIB}/openapi_spec_validator/exceptions.pyc
+${PYSITELIB}/openapi_spec_validator/exceptions.pyo
+${PYSITELIB}/openapi_spec_validator/factories.py
+${PYSITELIB}/openapi_spec_validator/factories.pyc
+${PYSITELIB}/openapi_spec_validator/factories.pyo
+${PYSITELIB}/openapi_spec_validator/generators.py
+${PYSITELIB}/openapi_spec_validator/generators.pyc
+${PYSITELIB}/openapi_spec_validator/generators.pyo
+${PYSITELIB}/openapi_spec_validator/handlers/__init__.py
+${PYSITELIB}/openapi_spec_validator/handlers/__init__.pyc
+${PYSITELIB}/openapi_spec_validator/handlers/__init__.pyo
+${PYSITELIB}/openapi_spec_validator/handlers/base.py
+${PYSITELIB}/openapi_spec_validator/handlers/base.pyc
+${PYSITELIB}/openapi_spec_validator/handlers/base.pyo
+${PYSITELIB}/openapi_spec_validator/handlers/file.py
+${PYSITELIB}/openapi_spec_validator/handlers/file.pyc
+${PYSITELIB}/openapi_spec_validator/handlers/file.pyo
+${PYSITELIB}/openapi_spec_validator/handlers/requests.py
+${PYSITELIB}/openapi_spec_validator/handlers/requests.pyc
+${PYSITELIB}/openapi_spec_validator/handlers/requests.pyo
+${PYSITELIB}/openapi_spec_validator/handlers/urllib.py
+${PYSITELIB}/openapi_spec_validator/handlers/urllib.pyc
+${PYSITELIB}/openapi_spec_validator/handlers/urllib.pyo
+${PYSITELIB}/openapi_spec_validator/handlers/utils.py
+${PYSITELIB}/openapi_spec_validator/handlers/utils.pyc
+${PYSITELIB}/openapi_spec_validator/handlers/utils.pyo
+${PYSITELIB}/openapi_spec_validator/loaders.py
+${PYSITELIB}/openapi_spec_validator/loaders.pyc
+${PYSITELIB}/openapi_spec_validator/loaders.pyo
+${PYSITELIB}/openapi_spec_validator/managers.py
+${PYSITELIB}/openapi_spec_validator/managers.pyc
+${PYSITELIB}/openapi_spec_validator/managers.pyo
+${PYSITELIB}/openapi_spec_validator/readers.py
+${PYSITELIB}/openapi_spec_validator/readers.pyc
+${PYSITELIB}/openapi_spec_validator/readers.pyo
+${PYSITELIB}/openapi_spec_validator/resources/schemas/v2.0/schema.json
+${PYSITELIB}/openapi_spec_validator/resources/schemas/v3.0.0/schema.json
+${PYSITELIB}/openapi_spec_validator/resources/schemas/v3.0/schema.json
+${PYSITELIB}/openapi_spec_validator/schemas.py
+${PYSITELIB}/openapi_spec_validator/schemas.pyc
+${PYSITELIB}/openapi_spec_validator/schemas.pyo
+${PYSITELIB}/openapi_spec_validator/shortcuts.py
+${PYSITELIB}/openapi_spec_validator/shortcuts.pyc
+${PYSITELIB}/openapi_spec_validator/shortcuts.pyo
+${PYSITELIB}/openapi_spec_validator/validators.py
+${PYSITELIB}/openapi_spec_validator/validators.pyc
+${PYSITELIB}/openapi_spec_validator/validators.pyo
diff -r d3458a7a8d03 -r eda83d29ac54 textproc/py-openapi-spec-validator/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-openapi-spec-validator/distinfo Tue Nov 23 12:36:48 2021 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2021/11/23 12:36:48 wiz 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
Home |
Main Index |
Thread Index |
Old Index