summaryrefslogtreecommitdiff
path: root/dev-python/openapi-spec-validator
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-03-01 07:09:22 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-03-01 07:09:22 +0000
commita718be6326aec90b2523add7f8d7a935a379d293 (patch)
tree6826274782c867bf5568cbe45911da60e25ac657 /dev-python/openapi-spec-validator
parent4b9f95125b5c774c45668477e8dc5edf306d0753 (diff)
downloadbaldeagleos-repo-a718be6326aec90b2523add7f8d7a935a379d293.tar.gz
baldeagleos-repo-a718be6326aec90b2523add7f8d7a935a379d293.tar.xz
baldeagleos-repo-a718be6326aec90b2523add7f8d7a935a379d293.zip
Adding metadata
Diffstat (limited to 'dev-python/openapi-spec-validator')
-rw-r--r--dev-python/openapi-spec-validator/Manifest2
-rw-r--r--dev-python/openapi-spec-validator/openapi-spec-validator-0.8.3.ebuild57
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/openapi-spec-validator/Manifest b/dev-python/openapi-spec-validator/Manifest
index 9be4b9ae7ea1..6ef0d14dbf0c 100644
--- a/dev-python/openapi-spec-validator/Manifest
+++ b/dev-python/openapi-spec-validator/Manifest
@@ -3,3 +3,5 @@ DIST openapi_spec_validator-0.8.0.tar.gz 1744560 BLAKE2B 6ac56b686c0d11b657cae6b
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
+DIST openapi_spec_validator-0.8.3.tar.gz 1754331 BLAKE2B 2fae0d39aa744faea513a9bf7e434a6edf59217a49e7cb94957908f451473f7ef0607c82faf1f9ffca84e77adcac0d93a16eb4c8dfc7dd52dec38c520dd73de5 SHA512 1375e20f239199c44a1011de1a6c93fb53a14ad7e1bc61c95ee3caec44f372a7c00d3d35f99e1f03120b83b87db974f7f2e796ab6571fe121608de8e41102719
+DIST openapi_spec_validator-0.8.3.tar.gz.provenance 9770 BLAKE2B 1ae3387595832757daa7beaaeaf5f2811544256547dfe6b7bf23e9b5e0f0913dce15dfaf6dcff10564b61b236a30ebfaae9da23acc4f9eccdae6ee22824c97a7 SHA512 9042fe7d1fbc6d584dd5ba86a112b02d444a686f4cf72c147d07574174ec99528af372ac38fc8e5d5dc2b1a64041ef6c87186b819f62e87065871ab96e9cb1a7
diff --git a/dev-python/openapi-spec-validator/openapi-spec-validator-0.8.3.ebuild b/dev-python/openapi-spec-validator/openapi-spec-validator-0.8.3.ebuild
new file mode 100644
index 000000000000..8289312161fd
--- /dev/null
+++ b/dev-python/openapi-spec-validator/openapi-spec-validator-0.8.3.ebuild
@@ -0,0 +1,57 @@
+# 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=( python3_{10..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"
+fi
+
+RDEPEND="
+ >=dev-python/jsonschema-4.24.0[${PYTHON_USEDEP}]
+ >=dev-python/jsonschema-path-0.4.3[${PYTHON_USEDEP}]
+ >=dev-python/lazy-object-proxy-1.7.1[${PYTHON_USEDEP}]
+ >=dev-python/openapi-schema-validator-0.7.3[${PYTHON_USEDEP}]
+ >=dev-python/pydantic-2.0.0[${PYTHON_USEDEP}]
+ >=dev-python/pydantic-settings-2.0.0[${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
+}