commit: 493929ad69090fa7b65dfb88f0e2f4e6561fa6e9 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Dec 23 06:10:30 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Dec 23 06:10:30 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=493929ad
dev-python/openapi-core: Bump to 0.22.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/openapi-core/Manifest | 2 + dev-python/openapi-core/openapi-core-0.22.0.ebuild | 73 ++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/dev-python/openapi-core/Manifest b/dev-python/openapi-core/Manifest index 9c54578111c4..0c85a91c9dae 100644 --- a/dev-python/openapi-core/Manifest +++ b/dev-python/openapi-core/Manifest @@ -1,3 +1,5 @@ DIST openapi_core-0.19.5.tar.gz 103264 BLAKE2B 46d2c47819056f82d4ed74c43455e107d14d181627d5bb11d34c10a3921dd287297ba27632122dc656884039a0c61381ececb6d085bf990ea73cc898326c0318 SHA512 6b41e686682f5265d8268e1c6789393f8539754b827b69fab2c78e83c07637f4f243ce6d06ec5ab3f1870ae7944dfc72b5e678fb959fefd06770107abe66cad9 DIST openapi_core-0.21.0.tar.gz 105730 BLAKE2B 29a6397f9a7cf3ffa193b5c2dfe8cd86a7342ebbae66f3c9264b783016742a3a13a672e194bea5bb710c5e93c4d87bde9fb3e59d79fcbc63bd04db4a3e672926 SHA512 c1b3bcc0f2ca327f57ba8e50dc54a2034c6dc431272a47aada1a3e2ddb47f1efd4112a65c7578e77359ef963fb84b2d85aac8075a852cc52734e824d30e5e542 DIST openapi_core-0.21.0.tar.gz.provenance 9779 BLAKE2B bd39af7f0375b23e73339f7b658177da48ba29c3b209349c02383ef8a05188105d1576b72e96ea541a3c34b08a89e2943fff42e91130d9dd8d77eeb31c13d184 SHA512 0fd19ba0348d72104cb373cb946b0b226a1ec3b1a89e3943264fb96bb4daeca57b7a21956505f91979edc001edaa40770c8228d9282e737cc001b54f49c30b49 +DIST openapi_core-0.22.0.tar.gz 109242 BLAKE2B bf64e91e77b5a7a6ebd75a51cf0422b1cd7ba92be6f7d826c3f236df7877004ea4d9e04ba684798bd82b623e5c992109d27bbee6019692a15c6ffee5e4b10df5 SHA512 9d007ab74eb61c446afc19624595cc584f69da76713f5f6ce1d931cfe581b9632705226be3e9e93ea191587a3cec98f20e627a923d59596ef0ce0bfa8dd3807d +DIST openapi_core-0.22.0.tar.gz.provenance 9826 BLAKE2B be43b254d91c0e1e91f3a7fef8a686eb17ff050073f019df1922718f1eec038fab7fbed9354c6533376f7b71f2c6da75964d44b09b4d9b1673f27fdd8a14a5eb SHA512 7e89655ca6480f1e758e158ff6071e064c52678d0138d501048306f348e1d3afb2506f5de848718d289bcd7eef25ecf2d97d51751fcdcb371b3c2f1f87fb45b7 diff --git a/dev-python/openapi-core/openapi-core-0.22.0.ebuild b/dev-python/openapi-core/openapi-core-0.22.0.ebuild new file mode 100644 index 000000000000..5ff26f6eb9cf --- /dev/null +++ b/dev-python/openapi-core/openapi-core-0.22.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 2022-2025 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-core +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +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.23.0[${PYTHON_USEDEP}] + <dev-python/jsonschema-path-0.4[${PYTHON_USEDEP}] + >=dev-python/jsonschema-path-0.3.4[${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.8[${PYTHON_USEDEP}] + >=dev-python/openapi-spec-validator-0.7.1[${PYTHON_USEDEP}] + >=dev-python/werkzeug-2.1.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=dev-python/aiohttp-3.8.4[${PYTHON_USEDEP}] + >=dev-python/aioitertools-0.11.0[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + >=dev-python/httpx-0.24.0[${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}] + ) +" + +EPYTEST_PLUGINS=( pytest-{aiohttp,asyncio} ) +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # missing dependendencies + tests/integration/contrib/falcon + tests/integration/contrib/fastapi + + # 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() { + distutils-r1_src_prepare + + sed -i -e '/--cov/d' pyproject.toml || die +}
