commit:     eaf33245e7d22abefe69538b20644773abc19ca1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  8 03:01:45 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun  8 03:26:02 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaf33245

dev-python/openapi-spec-validator: Bump to 0.8.0_beta1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/openapi-spec-validator/Manifest         |  1 +
 .../openapi-spec-validator-0.8.0_beta1.ebuild      | 49 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/openapi-spec-validator/Manifest 
b/dev-python/openapi-spec-validator/Manifest
index 66d1ad8c7145..a6959214c7a6 100644
--- a/dev-python/openapi-spec-validator/Manifest
+++ b/dev-python/openapi-spec-validator/Manifest
@@ -1,2 +1,3 @@
 DIST openapi_spec_validator-0.7.1.tar.gz 37985 BLAKE2B 
e4e6995bba18ea9fb65be28b2156c73afd3c5074a3fbd5b83e03534a1bb5fdde2e5a586aa161e0f9fc64985d83ae995f46ff2704a4010a708f9e0cf18f97a8a8
 SHA512 
c2a4be4a945058a4e77857bf0d6dabf2bef27c25fbe72947db3ac011c5a60d2d0159ef0d1d44571152c5ffdc650f7d3d6c54f82834e499e9506fb474b7c9b270
 DIST openapi_spec_validator-0.7.2.tar.gz 36855 BLAKE2B 
87914f72a4bcaa2a1b190902b4649dd46e0c5079a2dd8d56839f795aac4a2df4c1563b7529ee4db87a3f90607afbb74070525994b0a8fa5bb882514c952de704
 SHA512 
83ca3f7c731680962c113a0982592842cc42df4f7f5f21bcbd9ba28c1c7b5376fe8197c43b15b0b34bf506b6ba59eb928aa5b73372c7395da7c950fb4cdc1584
+DIST openapi_spec_validator-0.8.0b1.tar.gz 37067 BLAKE2B 
63db2482dbde6e2aab4c7030c5414359368c93483f9dfb9f0ee18842f404ac963ae2d6985592ad79afd382bc4326380021f5a9a49cd1fc44e1ca52e505d07c31
 SHA512 
d7b112ccd473fb026f9241894f9d8709c50f5b500d1bff945f40ce197f6511bc15ec6f8f8b346243f6d9d4ee803cb7268e172bfce2f1bff2a87bc8c5907a166d

diff --git 
a/dev-python/openapi-spec-validator/openapi-spec-validator-0.8.0_beta1.ebuild 
b/dev-python/openapi-spec-validator/openapi-spec-validator-0.8.0_beta1.ebuild
new file mode 100644
index 000000000000..7594a5347d69
--- /dev/null
+++ 
b/dev-python/openapi-spec-validator/openapi-spec-validator-0.8.0_beta1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+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"
+
+RDEPEND="
+       >=dev-python/jsonschema-4.24.0[${PYTHON_USEDEP}]
+       >=dev-python/jsonschema-path-0.4.0_beta1[${PYTHON_USEDEP}]
+       >=dev-python/lazy-object-proxy-1.7.1[${PYTHON_USEDEP}]
+       >=dev-python/openapi-schema-validator-0.6.0[${PYTHON_USEDEP}]
+       >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
+"
+
+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
+       distutils-r1_src_prepare
+}

Reply via email to