summaryrefslogtreecommitdiff
path: root/dev-python/openapi-core
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-14 22:48:30 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-14 22:48:30 +0100
commitea7f3f690b55cdfa8b2d350b03c1dfc0c8357a51 (patch)
tree4b5a746c80bd7aacbe83448c66643e9dc4dcc105 /dev-python/openapi-core
parentcdb999af22d9aa464bfd480fc9f5ebda71fc89e2 (diff)
gentoo auto-resync : 14:09:2023 - 22:48:30
Diffstat (limited to 'dev-python/openapi-core')
-rw-r--r--dev-python/openapi-core/Manifest2
-rw-r--r--dev-python/openapi-core/openapi-core-0.18.1.ebuild69
2 files changed, 71 insertions, 0 deletions
diff --git a/dev-python/openapi-core/Manifest b/dev-python/openapi-core/Manifest
index df377c25185a..46aeabdd4b12 100644
--- a/dev-python/openapi-core/Manifest
+++ b/dev-python/openapi-core/Manifest
@@ -1,7 +1,9 @@
DIST openapi-core-0.16.6.gh.tar.gz 104008 BLAKE2B bb1bdac98dfc5aef0961624488074363568f53a6c44cb0730be0d103d891d24bed86659f640e0d07da4072edc233c904c0ddcfd9e8b3960ace1af078c0d745e5 SHA512 556636a4698dcd7db6c656333849077abacdac1a440fe58210ad8f02c1f0220e46dea29962346dfb3f89d164ebc986ec750c184840be9a34a5e1dd98fbf8ef98
DIST openapi_core-0.17.2.tar.gz 88262 BLAKE2B 4d9a1be1eff4118bc1c687e57af0ff3738f984ceb6e564c643d26cb795bbcd3e703dd22c3b45d574f498d290f8da225819c9df618da5a1b8e40758304f2ebd07 SHA512 73cd2b62149549bd56781adb44922bca4a0519fbae8b6539d0225799ba1cfa1ab584428fd572ee42af4731b5437f08b8c4ad8f8895444aef315e4c6909fd4e5a
DIST openapi_core-0.18.0.tar.gz 83474 BLAKE2B 785e95969e03d9ccf17e40c7ce563cef6ab45c417e397b0f03e982622fb1c65d4b3e719e94e1072c7a41b837097efea7b83e29e8ceec64579f1c58040c9fb291 SHA512 d9e516e00a53937f79c7419823a1533a507731e20da36e1186a1800f713154135524db968483ce850bd9a90a4c322ca1c957d6a7f99e9d8eefdc244ed9ce8bc0
+DIST openapi_core-0.18.1.tar.gz 84070 BLAKE2B 523b620106493aac11135025791440cbc4e7dc415a10344a74e2de3500834bda6158aa286f167e629ae90e1eefd568527832fb86557c16eace162d2bac98e30b SHA512 ae59c0ca948ebfcf01b63db8a463869bbb748336f32c917b2ed22bd94934c91b6fe280bf94bf82a24df9fb29979e6a1b5ce665d12b6bb6480405e9586a9fc8d5
EBUILD openapi-core-0.16.6-r1.ebuild 1927 BLAKE2B ac76ff0dfa6cd39036647050101573890913d73f858c1ebb7778e7a90120000a4b84bf6b3875edd9052810fe35fc24d6bf067975351daa84fb0f00637777169b SHA512 626bf69038f55da112ac515f9ee1d219c0f92ceb58792172bbf207329cce8b48d7c96bccb82af1dd8a245c038415686c453e1bc5af3c573ae92b577c2d8a7ed2
EBUILD openapi-core-0.17.2.ebuild 2107 BLAKE2B 51d32c9a6073af203e1be978c23f065adbf6b670923d6892b58aab16b426566eaa7208ddf8ac9082f171d9d2136912588789eb1417209f715e352771b44630d2 SHA512 ba3755986f16e1a8d006691da6c1bafb9b74a3d92edb78ae6a59ae8fb2f8ec5c22a6cfa7d280cb8dacd8fb992997e4d2c3412e3d8a169751eee0753de5d82d84
EBUILD openapi-core-0.18.0.ebuild 2035 BLAKE2B c2584473e23e6e358f81e2725c29219957a26cb0e8ddc5ce621bd94b86dcd81943464651049f340a3e00cd7439209c3bcd9213fa501b803bf1a922bf779cabb6 SHA512 04f7f40d620966a90a1978e4e3f4660da62e94fef3076a1e5c3c036c8208602db05cd8a990bba82d79e891605c36fe2842408c1eef55406061f721617831618d
+EBUILD openapi-core-0.18.1.ebuild 2035 BLAKE2B c2584473e23e6e358f81e2725c29219957a26cb0e8ddc5ce621bd94b86dcd81943464651049f340a3e00cd7439209c3bcd9213fa501b803bf1a922bf779cabb6 SHA512 04f7f40d620966a90a1978e4e3f4660da62e94fef3076a1e5c3c036c8208602db05cd8a990bba82d79e891605c36fe2842408c1eef55406061f721617831618d
MISC metadata.xml 385 BLAKE2B a19f5b70529b6f0575e1196f3ffe0a7f38595fe7b01b43119f0f89c41a9ab5d6992f424a10f345a7407d279736a6091918b9ba1ead0daa92c9d244e4b27e4a18 SHA512 a8a39c8958ad11de5eb6896a74b3bfcb27e95c74a984a362032e4703d86f2831b6559a96a8eef80a7ef89f4687da325b3748f36b1df649cd29c2acb1ea0c9969
diff --git a/dev-python/openapi-core/openapi-core-0.18.1.ebuild b/dev-python/openapi-core/openapi-core-0.18.1.ebuild
new file mode 100644
index 000000000000..6bbf24e9a846
--- /dev/null
+++ b/dev-python/openapi-core/openapi-core-0.18.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Client-side and server-side support for the OpenAPI Specification v3"
+HOMEPAGE="
+ https://github.com/python-openapi/openapi-core/
+ https://pypi.org/project/openapi-core/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+ <dev-python/asgiref-4[${PYTHON_USEDEP}]
+ >=dev-python/asgiref-3.6.0[${PYTHON_USEDEP}]
+ dev-python/isodate[${PYTHON_USEDEP}]
+ <dev-python/jsonschema-5[${PYTHON_USEDEP}]
+ >=dev-python/jsonschema-4.17.3[${PYTHON_USEDEP}]
+ <dev-python/jsonschema-spec-0.3[${PYTHON_USEDEP}]
+ >=dev-python/jsonschema-spec-0.2.3[${PYTHON_USEDEP}]
+ dev-python/more-itertools[${PYTHON_USEDEP}]
+ dev-python/parse[${PYTHON_USEDEP}]
+ <dev-python/openapi-schema-validator-0.7[${PYTHON_USEDEP}]
+ >=dev-python/openapi-schema-validator-0.6.0[${PYTHON_USEDEP}]
+ <dev-python/openapi-spec-validator-0.7[${PYTHON_USEDEP}]
+ >=dev-python/openapi-spec-validator-0.6.0[${PYTHON_USEDEP}]
+ dev-python/werkzeug[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+ test? (
+ >=dev-python/aiohttp-3.8.4[${PYTHON_USEDEP}]
+ dev-python/flask[${PYTHON_USEDEP}]
+ >=dev-python/httpx-0.24.0[${PYTHON_USEDEP}]
+ >=dev-python/pytest-aiohttp-1.0.4[${PYTHON_USEDEP}]
+ dev-python/responses[${PYTHON_USEDEP}]
+ >=dev-python/starlette-0.26.1[${PYTHON_USEDEP}]
+ dev-python/strict-rfc3339[${PYTHON_USEDEP}]
+ dev-python/webob[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+ # falcon is not packaged
+ tests/integration/contrib/falcon
+
+ # TODO: these tests fail to collect
+ tests/integration/validation/test_security_override.py
+ tests/integration/validation/test_read_only_write_only.py
+
+ # unhappy about modern django
+ tests/integration/contrib/django/test_django_project.py
+ tests/unit/contrib/django/test_django.py
+)
+
+src_prepare() {
+ sed -i -e '/--cov/d' pyproject.toml || die
+ distutils-r1_src_prepare
+}