diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-10-21 16:18:13 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-10-21 16:33:59 +0200 |
commit | 9b7dee1513de99f2eadbdfb8d8f48e1a384658a7 (patch) | |
tree | 757dcd6bef9be27418e3146b7dd7acd843da40f5 /dev-python/swagger_spec_validator | |
parent | dev-python/pytest-asyncio: Bump to 0.20.1 (diff) | |
download | gentoo-9b7dee1513de99f2eadbdfb8d8f48e1a384658a7.tar.gz gentoo-9b7dee1513de99f2eadbdfb8d8f48e1a384658a7.tar.bz2 gentoo-9b7dee1513de99f2eadbdfb8d8f48e1a384658a7.zip |
dev-python/swagger_spec_validator: Bump to 3.0.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/swagger_spec_validator')
-rw-r--r-- | dev-python/swagger_spec_validator/Manifest | 1 | ||||
-rw-r--r-- | dev-python/swagger_spec_validator/swagger_spec_validator-3.0.2.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/swagger_spec_validator/Manifest b/dev-python/swagger_spec_validator/Manifest index 46abc67b5960..fd03bb0258ab 100644 --- a/dev-python/swagger_spec_validator/Manifest +++ b/dev-python/swagger_spec_validator/Manifest @@ -1 +1,2 @@ DIST swagger_spec_validator-3.0.1.gh.tar.gz 48112 BLAKE2B 9489c5b58667e80c8d5971d7bad3e14947f8facf51bd2db4fbbc810cca89039598f49fe9d00caec6d630aaec795c5854e6b71d53d882d23245401a145bba3dde SHA512 fb0fba69209a416ce781f2842f711864fe552c450163131db9e5e8e2eb99f2530ca64157bfcfbcee87ea998fe6dca2b92535a18c1d3fc219b81e99dc62236c07 +DIST swagger_spec_validator-3.0.2.gh.tar.gz 48152 BLAKE2B a991d4b39a92145089eeb4b6ff7da83164315ed4be8225eee4962e71279809f54848367e8437fe700cb63beff37fb8c9120641750fb9d2e117f1103ffd8ff94e SHA512 963f1961e2c631f4d31b195f953817104ea070a7af05654eeff374146a9d32dfa11ddd0da8462b22902d69e7e6841e156bc186185806bf78d705302613ad151b diff --git a/dev-python/swagger_spec_validator/swagger_spec_validator-3.0.2.ebuild b/dev-python/swagger_spec_validator/swagger_spec_validator-3.0.2.ebuild new file mode 100644 index 000000000000..668114731af1 --- /dev/null +++ b/dev-python/swagger_spec_validator/swagger_spec_validator-3.0.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Validate Swagger specs against Swagger 1.1 or 2.0 specification" +HOMEPAGE=" + https://github.com/Yelp/swagger_spec_validator/ + https://pypi.org/project/swagger-spec-validator/ +" +SRC_URI=" + https://github.com/Yelp/swagger_spec_validator/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source \ + dev-python/sphinx_rtd_theme + +EPYTEST_DESELECT=( + # network (resolver) + tests/util/validate_spec_url_test.py::test_raise_SwaggerValidationError_on_urlopen_error + tests/validator12/validate_spec_url_test.py::test_raise_SwaggerValidationError_on_urlopen_error + tests/validator20/validate_spec_url_test.py::test_raise_SwaggerValidationError_on_urlopen_error +) |