From b590c8d7572b727d565cc0b8ff660d43569845de Mon Sep 17 00:00:00 2001 From: root Date: Fri, 12 Jun 2026 19:09:37 -0500 Subject: Adding metadata --- dev-python/openapi-core/Manifest | 4 ++ dev-python/openapi-core/metadata.xml | 9 +++ dev-python/openapi-core/openapi-core-0.23.0.ebuild | 72 +++++++++++++++++++++ .../openapi-core/openapi-core-0.23.1-r1.ebuild | 73 ++++++++++++++++++++++ 4 files changed, 158 insertions(+) create mode 100644 dev-python/openapi-core/Manifest create mode 100644 dev-python/openapi-core/metadata.xml create mode 100644 dev-python/openapi-core/openapi-core-0.23.0.ebuild create mode 100644 dev-python/openapi-core/openapi-core-0.23.1-r1.ebuild (limited to 'dev-python/openapi-core') diff --git a/dev-python/openapi-core/Manifest b/dev-python/openapi-core/Manifest new file mode 100644 index 000000000000..d8547f727c2a --- /dev/null +++ b/dev-python/openapi-core/Manifest @@ -0,0 +1,4 @@ +DIST openapi_core-0.23.0.tar.gz 123506 BLAKE2B 332d145a5ce44a744620b5b3a39dc50225e0797a4c1402ff5a950d1f867dcaf7cabb7d17d14f82d5c6b91579020053e4550dd73d64189ea38d68e4ad3aa2bc63 SHA512 f5a5993903ee9f3ba028bd3ef31689b427c632c747745e85c3355f6de8157deb3dbcc1a7a1b97a54040acac24eee101e6ef6f83a78c4a894c6eb198cf8cf4346 +DIST openapi_core-0.23.0.tar.gz.provenance 9634 BLAKE2B da5dfd0e64f268f6e1c7c78923a8d61e7fd3e8edd20e7b087786fcc721e93b1eb8568d4dc0b95b2bd261dc48db3a4496045ccc1faa9b70d563d592b635c6a4b2 SHA512 c0a334e3bb685f869729f26c2436f164545ef7e2d173319e27570c253611749620588ff2a863642f2106bb6a6039e677e22a35d1c8ae5f506eb738637e620b3a +DIST openapi_core-0.23.1.tar.gz 124348 BLAKE2B b2b8ce9a92a7367ec1af8c9e7cfe5a0a6c4a76467ba3aefa89d3b5ca77986d57c2167baadce8c550abdf41cf27e87d9977c9a6afb88b27332cb0c107433200d3 SHA512 a61381c9a721173926293ff5af9312f7d9b1a474759528bf8444891bc95ec4486fe8f735deaeb96aaae1e39c727d30797abd5ad2445b8020a0a38cb351964b86 +DIST openapi_core-0.23.1.tar.gz.provenance 9692 BLAKE2B 660bc710207df92352071cb93f7d86f8bc28bc7d8cd74b467da500e60ab365bc01527fc15f9f5df38954fdfe5b886eb4a468cbb7a1f67ad79fc759a2c0b72fe2 SHA512 8ed9b49f65bb6461cf36fdfcd1fbd396484294006d121cea9cbbe2a4d1e817eae407ff625e65cf6995e3affb4ea5b9b246e93e1d7e2f92f07a2f4ba70a4b750c diff --git a/dev-python/openapi-core/metadata.xml b/dev-python/openapi-core/metadata.xml new file mode 100644 index 000000000000..d34971a915e9 --- /dev/null +++ b/dev-python/openapi-core/metadata.xml @@ -0,0 +1,9 @@ + + + + + python@gentoo.org + + + baldeagleos-repo + diff --git a/dev-python/openapi-core/openapi-core-0.23.0.ebuild b/dev-python/openapi-core/openapi-core-0.23.0.ebuild new file mode 100644 index 000000000000..189b8cc19114 --- /dev/null +++ b/dev-python/openapi-core/openapi-core-0.23.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 2022-2026 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=( python3_{13..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" +if [[ ${PV} != *_beta* ]]; then + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +fi + +RDEPEND=" + =dev-python/asgiref-3.6.0[${PYTHON_USEDEP}] + dev-python/isodate[${PYTHON_USEDEP}] + =dev-python/jsonschema-4.23.0[${PYTHON_USEDEP}] + =dev-python/jsonschema-path-0.4.5[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/parse[${PYTHON_USEDEP}] + =dev-python/openapi-schema-validator-0.7.0[${PYTHON_USEDEP}] + =dev-python/openapi-spec-validator-0.8.0[${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/django-4.0[${PYTHON_USEDEP}] + >=dev-python/flask-2.0[${PYTHON_USEDEP}] + >=dev-python/httpx-0.24.0[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/starlette-0.40.0[${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 +) + +src_prepare() { + distutils-r1_src_prepare + + sed -i -e '/--cov/d' pyproject.toml || die +} diff --git a/dev-python/openapi-core/openapi-core-0.23.1-r1.ebuild b/dev-python/openapi-core/openapi-core-0.23.1-r1.ebuild new file mode 100644 index 000000000000..af18dade149e --- /dev/null +++ b/dev-python/openapi-core/openapi-core-0.23.1-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 2022-2026 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=( python3_{13..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" +if [[ ${PV} != *_beta* ]]; then + KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86" +fi + +RDEPEND=" + =dev-python/asgiref-3.6.0[${PYTHON_USEDEP}] + dev-python/isodate[${PYTHON_USEDEP}] + =dev-python/jsonschema-4.23.0[${PYTHON_USEDEP}] + =dev-python/jsonschema-path-0.4.5[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/parse[${PYTHON_USEDEP}] + =dev-python/openapi-schema-validator-0.8.1[${PYTHON_USEDEP}] + =dev-python/openapi-spec-validator-0.8.4[${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/django-4.0[${PYTHON_USEDEP}] + dev-python/djangorestframework[${PYTHON_USEDEP}] + >=dev-python/flask-2.0[${PYTHON_USEDEP}] + >=dev-python/httpx-0.24.0[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/starlette-0.40.0[${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 dependencies + 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 +) + +src_prepare() { + distutils-r1_src_prepare + + sed -i -e '/--cov/d' pyproject.toml || die +} -- cgit v1.3.1