mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
dev-python/swagger_spec_validator: Bump to 3.0.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
)
|
||||
Reference in New Issue
Block a user