commit: eb7be73751c1afd9a54feb0681c6a1152831e1fb Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Feb 28 06:13:22 2026 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Feb 28 06:38:16 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb7be737
dev-python/openapi-spec-validator: Bump to 0.8.2 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/openapi-spec-validator/Manifest | 2 + .../openapi-spec-validator-0.8.2.ebuild | 55 ++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-python/openapi-spec-validator/Manifest b/dev-python/openapi-spec-validator/Manifest index 50f2664b8be5..9be4b9ae7ea1 100644 --- a/dev-python/openapi-spec-validator/Manifest +++ b/dev-python/openapi-spec-validator/Manifest @@ -1,3 +1,5 @@ DIST openapi_spec_validator-0.7.2.tar.gz 36855 BLAKE2B 87914f72a4bcaa2a1b190902b4649dd46e0c5079a2dd8d56839f795aac4a2df4c1563b7529ee4db87a3f90607afbb74070525994b0a8fa5bb882514c952de704 SHA512 83ca3f7c731680962c113a0982592842cc42df4f7f5f21bcbd9ba28c1c7b5376fe8197c43b15b0b34bf506b6ba59eb928aa5b73372c7395da7c950fb4cdc1584 DIST openapi_spec_validator-0.8.0.tar.gz 1744560 BLAKE2B 6ac56b686c0d11b657cae6b117b25c785465f571ba893b4a375bb9d9c1c7dead3ccad17e946973c9446bd44a61e543096c788d189cd56ed4bc4289e9b879d0f9 SHA512 598a4dd47154bd10ced9bdae5243373dc329b5fd57baa5de5a9ef2c9cfa2466db5945009c50312b9e07043d771145c14b3dd357a4b5a2638a20f82783ab5406c DIST openapi_spec_validator-0.8.0.tar.gz.provenance 9722 BLAKE2B e867db7f88cf437f505f93399aa503d9f95a892ecbe724c81f108675635ff04209c51a02fa8b658f65e33cabfd9b3feb281b6afb573c355ac670d9e254235aec SHA512 5912574f9ac632011c7f8519730943af0e3fcef9ed7270a308192154ae47c0fa798d35e1f140429dffccc4ea66763d5fe1b96d2de8b111bc615661904d8e7807 +DIST openapi_spec_validator-0.8.2.tar.gz 1752944 BLAKE2B ce5ba3d73ec7d7522d53b41540f1e82fcb96e2ce7a91fa109233244f9a17410fcf3157e6f75d5592d1755b4c90e36e3fd71248563242e49a751f27bf591c8a81 SHA512 8d5f413c96813667f0298eba6d01c7e107e615eb796913814dceedffffaa99be01b73933397cb5e5afd4c446f8c1dae0d635fc99e555fe5467951765c6567fa3 +DIST openapi_spec_validator-0.8.2.tar.gz.provenance 10005 BLAKE2B a9318bb3d775d4d23f54a817d7785ef3cca721e9bf403d7390d71d2ecbd9766e92b5d6a371831a361c6746d874dabec9dd0da1fa1d67887ae9967f6bafce8f3b SHA512 024e0e44e15713b724585334b3ac6ea343a786ad8591b891260729d5f7032ce76ade2df543cada49cad31125c4b3a4abe5852b7b95dfe289fcd6ac9edb170de8 diff --git a/dev-python/openapi-spec-validator/openapi-spec-validator-0.8.2.ebuild b/dev-python/openapi-spec-validator/openapi-spec-validator-0.8.2.ebuild new file mode 100644 index 000000000000..a4acf705d24e --- /dev/null +++ b/dev-python/openapi-spec-validator/openapi-spec-validator-0.8.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYPI_VERIFY_REPO=https://github.com/python-openapi/openapi-spec-validator +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0 spec validator" +HOMEPAGE=" + https://github.com/python-openapi/openapi-spec-validator/ + https://pypi.org/project/openapi-spec-validator/ +" + +LICENSE="BSD" +SLOT="0" +if [[ ${PV} != *_beta* ]]; then + KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +fi + +RDEPEND=" + >=dev-python/jsonschema-4.24.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-path-0.4.2[${PYTHON_USEDEP}] + >=dev-python/lazy-object-proxy-1.7.1[${PYTHON_USEDEP}] + >=dev-python/openapi-schema-validator-0.7.3[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internet + tests/integration/test_shortcuts.py::TestPetstoreV2Example + tests/integration/test_shortcuts.py::TestApiV2WithExampe + tests/integration/test_shortcuts.py::TestPetstoreV2ExpandedExample + tests/integration/test_shortcuts.py::TestPetstoreExample + tests/integration/test_shortcuts.py::TestRemoteValidatev2SpecUrl + tests/integration/test_shortcuts.py::TestRemoteValidatev30SpecUrl + tests/integration/test_shortcuts.py::TestApiWithExample + tests/integration/test_shortcuts.py::TestPetstoreExpandedExample + tests/integration/test_validate.py::TestPetstoreExample + tests/integration/test_validate.py::TestApiWithExample + tests/integration/test_validate.py::TestPetstoreExpandedExample + tests/integration/validation/test_validators.py +) + +src_prepare() { + sed -i -e '/--cov/d' pyproject.toml || die + # remove meaningless upper bounds + sed -i -e 's:,<[0-9.]*::' pyproject.toml || die + distutils-r1_src_prepare +}
