1 |
commit: 02b93a3df0f26b1bff6474a709e6439cf26f8cf1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 17 13:02:52 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 17 13:33:45 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b93a3d |
7 |
|
8 |
dev-python/openapi-spec-validator: Bump to 0.5.6 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/openapi-spec-validator/Manifest | 1 + |
13 |
.../openapi-spec-validator-0.5.6.ebuild | 53 ++++++++++++++++++++++ |
14 |
2 files changed, 54 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/openapi-spec-validator/Manifest b/dev-python/openapi-spec-validator/Manifest |
17 |
index 475776251cef..f3c0eec35b33 100644 |
18 |
--- a/dev-python/openapi-spec-validator/Manifest |
19 |
+++ b/dev-python/openapi-spec-validator/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST openapi-spec-validator-0.5.5.gh.tar.gz 57200 BLAKE2B 037566130546d2cc894dd12e0fc0d80fe9631f94085ec286a61ea810c58b48cd7837cc044388773798a7684fa4d73bb89eed643a164280433c1cd8d6a9cd42cc SHA512 4b5415216e74937a0c6f527850921f362a3183119a641d4d369cbf3e6aa19209ec7d8ff05697eed7dcd1ee6d0e8fbcc9cb8aaa0e3eb46e4da34bc7a0a4b78c00 |
22 |
+DIST openapi_spec_validator-0.5.6.tar.gz 33031 BLAKE2B a884ceb915f232232406bd880a7eef9e588e1a42ac9a78c2e23f91cbd71e9af471c764550a9dd214ef68ec24ede7ab0ba4624429e4fd8133011489d0039aeae7 SHA512 ea1e810ecf49ff3d237e3368cd2cbcc6b733e9657f101759860ef16d3e2f14c97ccfe52fae2897d12a50c803d709d61d7ef8b40b288e5f73265da9ac5c88280b |
23 |
|
24 |
diff --git a/dev-python/openapi-spec-validator/openapi-spec-validator-0.5.6.ebuild b/dev-python/openapi-spec-validator/openapi-spec-validator-0.5.6.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..851d3026ea8a |
27 |
--- /dev/null |
28 |
+++ b/dev-python/openapi-spec-validator/openapi-spec-validator-0.5.6.ebuild |
29 |
@@ -0,0 +1,53 @@ |
30 |
+# Copyright 2022-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=poetry |
36 |
+PYTHON_COMPAT=( pypy3 python3_{9..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 pypi |
39 |
+ |
40 |
+DESCRIPTION="OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0 spec validator" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/python-openapi/openapi-spec-validator/ |
43 |
+ https://pypi.org/project/openapi-spec-validator/ |
44 |
+" |
45 |
+ |
46 |
+LICENSE="BSD" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ <dev-python/jsonschema-4.18[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/jsonschema-4.0.0[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/jsonschema-spec-0.1.1[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/lazy-object-proxy-1.7.1[${PYTHON_USEDEP}] |
55 |
+ <dev-python/openapi-schema-validator-0.5[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/openapi-schema-validator-0.3.2[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] |
58 |
+ dev-python/requests[${PYTHON_USEDEP}] |
59 |
+" |
60 |
+ |
61 |
+distutils_enable_tests pytest |
62 |
+ |
63 |
+EPYTEST_DESELECT=( |
64 |
+ # Internet |
65 |
+ tests/integration/test_shortcuts.py::TestPetstoreV2Example |
66 |
+ tests/integration/test_shortcuts.py::TestApiV2WithExampe |
67 |
+ tests/integration/test_shortcuts.py::TestPetstoreV2ExpandedExample |
68 |
+ tests/integration/test_shortcuts.py::TestPetstoreExample |
69 |
+ tests/integration/test_shortcuts.py::TestRemoteValidatev2SpecUrl |
70 |
+ tests/integration/test_shortcuts.py::TestRemoteValidatev30SpecUrl |
71 |
+ tests/integration/test_shortcuts.py::TestApiWithExample |
72 |
+ tests/integration/test_shortcuts.py::TestPetstoreExpandedExample |
73 |
+ tests/integration/test_validate.py::TestPetstoreExample |
74 |
+ tests/integration/test_validate.py::TestApiWithExample |
75 |
+ tests/integration/test_validate.py::TestPetstoreExpandedExample |
76 |
+ tests/integration/validation/test_validators.py |
77 |
+) |
78 |
+ |
79 |
+src_prepare() { |
80 |
+ sed -i -e '/--cov/d' pyproject.toml || die |
81 |
+ distutils-r1_src_prepare |
82 |
+} |