1 |
commit: dcd1ecb0b1dde395bd0b15a40604bbb4a578810a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 17 13:01:21 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 17 13:33:44 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcd1ecb0 |
7 |
|
8 |
dev-python/openapi-core: Bump to 0.17.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/openapi-core/Manifest | 1 + |
13 |
dev-python/openapi-core/openapi-core-0.17.1.ebuild | 64 ++++++++++++++++++++++ |
14 |
2 files changed, 65 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/openapi-core/Manifest b/dev-python/openapi-core/Manifest |
17 |
index 487675f4c66a..c8b48a0ca6d5 100644 |
18 |
--- a/dev-python/openapi-core/Manifest |
19 |
+++ b/dev-python/openapi-core/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST openapi-core-0.16.6.gh.tar.gz 104008 BLAKE2B bb1bdac98dfc5aef0961624488074363568f53a6c44cb0730be0d103d891d24bed86659f640e0d07da4072edc233c904c0ddcfd9e8b3960ace1af078c0d745e5 SHA512 556636a4698dcd7db6c656333849077abacdac1a440fe58210ad8f02c1f0220e46dea29962346dfb3f89d164ebc986ec750c184840be9a34a5e1dd98fbf8ef98 |
22 |
DIST openapi-core-0.17.0.gh.tar.gz 129743 BLAKE2B 34b64f2c956218377d37c5f9e382aa503d50556d2a9ff292355831a39ff9632942b3dd6074cf91ba6cdb2fd93e12e4b3700232e720c71e814fde27f08052bb5a SHA512 6c284cbc8656b319291d81b73c3b714e1b9d8f85bbdf4b4636f8adcd0e47e59147f96a9cf117a6fcd49b7eeea4bbdbee28e3b60019add652e527c6af554d1cb7 |
23 |
+DIST openapi_core-0.17.1.tar.gz 85686 BLAKE2B f18b42fc496eaf4d6b82c15f66dd9c2eb9240402590b5a8e1f0e7b1e804c90aeef2db96d19683e9fea5846e776e95981ac52a38c47e2b56e6b5fd63d072b61f7 SHA512 0e2c673dbbfcce87ae7fbca6ec6c283d94c36376b1e17191d0bfa6c7001c62913381169b4614b5cd6131eaa67b729365036be3f1eb7641f634c0f3228de54897 |
24 |
|
25 |
diff --git a/dev-python/openapi-core/openapi-core-0.17.1.ebuild b/dev-python/openapi-core/openapi-core-0.17.1.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..1db135f6e88e |
28 |
--- /dev/null |
29 |
+++ b/dev-python/openapi-core/openapi-core-0.17.1.ebuild |
30 |
@@ -0,0 +1,64 @@ |
31 |
+# Copyright 2022-2023 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=poetry |
37 |
+PYTHON_COMPAT=( python3_{9..11} ) |
38 |
+ |
39 |
+inherit distutils-r1 pypi |
40 |
+ |
41 |
+DESCRIPTION="Client-side and server-side support for the OpenAPI Specification v3" |
42 |
+HOMEPAGE=" |
43 |
+ https://github.com/python-openapi/openapi-core/ |
44 |
+ https://pypi.org/project/openapi-core/ |
45 |
+" |
46 |
+ |
47 |
+LICENSE="BSD" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ >=dev-python/pathable-0.4.0[${PYTHON_USEDEP}] |
53 |
+ dev-python/isodate[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/jsonschema-spec-0.1.1[${PYTHON_USEDEP}] |
55 |
+ dev-python/more-itertools[${PYTHON_USEDEP}] |
56 |
+ dev-python/parse[${PYTHON_USEDEP}] |
57 |
+ <dev-python/openapi-schema-validator-0.5[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/openapi-schema-validator-0.4.2[${PYTHON_USEDEP}] |
59 |
+ <dev-python/openapi-spec-validator-0.6[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/openapi-spec-validator-0.5[${PYTHON_USEDEP}] |
61 |
+ dev-python/werkzeug[${PYTHON_USEDEP}] |
62 |
+" |
63 |
+ |
64 |
+BDEPEND=" |
65 |
+ test? ( |
66 |
+ dev-python/asgiref[${PYTHON_USEDEP}] |
67 |
+ dev-python/flask[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/httpx-0.23.0[${PYTHON_USEDEP}] |
69 |
+ dev-python/responses[${PYTHON_USEDEP}] |
70 |
+ >=dev-python/starlette-0.26.1[${PYTHON_USEDEP}] |
71 |
+ dev-python/strict-rfc3339[${PYTHON_USEDEP}] |
72 |
+ dev-python/webob[${PYTHON_USEDEP}] |
73 |
+ ) |
74 |
+" |
75 |
+ |
76 |
+distutils_enable_tests pytest |
77 |
+ |
78 |
+EPYTEST_IGNORE=( |
79 |
+ # falcon is not packaged |
80 |
+ tests/integration/contrib/falcon |
81 |
+ |
82 |
+ # TODO: these tests fail to collect |
83 |
+ tests/integration/validation/test_security_override.py |
84 |
+ tests/integration/validation/test_read_only_write_only.py |
85 |
+ |
86 |
+ # unhappy about modern django |
87 |
+ tests/integration/contrib/django/test_django_project.py |
88 |
+ tests/unit/contrib/django/test_django.py |
89 |
+) |
90 |
+ |
91 |
+src_prepare() { |
92 |
+ sed -i -e '/--cov/d' pyproject.toml || die |
93 |
+ distutils-r1_src_prepare |
94 |
+} |