dev-python/openapi-core: Bump to 0.21.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-12-17 06:58:28 +01:00
parent b68dc1484d
commit 1ebcf7c8fd
No known key found for this signature in database
GPG Key ID: 8E32347AF4055AE8
2 changed files with 75 additions and 0 deletions

View File

@ -1 +1,3 @@
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

View File

@ -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
}