summaryrefslogtreecommitdiff
path: root/dev-python/openapi-core
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-20 00:00:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-20 00:00:11 +0000
commitca7fcaa76aaf1f94284894a8d9a01bb153e80b11 (patch)
treedcfb443cd20285c353c22c05f43f96ca3d3161a8 /dev-python/openapi-core
parent150a86a9cb006b4800d6517d58532b8a556fec1e (diff)
gentoo auto-resync : 20:01:2023 - 00:00:11
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.16.5.ebuild68
2 files changed, 70 insertions, 0 deletions
diff --git a/dev-python/openapi-core/Manifest b/dev-python/openapi-core/Manifest
index 117a394a74dd..e786e581e211 100644
--- a/dev-python/openapi-core/Manifest
+++ b/dev-python/openapi-core/Manifest
@@ -2,8 +2,10 @@ DIST openapi-core-0.14.5.gh.tar.gz 57645 BLAKE2B c5c9c308b93a37e32708677cc7c7a2c
DIST openapi-core-0.16.1.gh.tar.gz 79002 BLAKE2B 2b64a28c80b64294cdbef2e4fcd08bfdc739c53a6baf0aeacc9e082bc01c8bf1b58da53a8c9b5b80a38600e4ab8bfb67b1d7ebb3a759d60d43748c9cc09c8eba SHA512 87cd47871a939b9f0ab23deafac067d16ba88146e140e7602b8bec5498ea6ed2213ceb530c9448718c5f94b944a954f2d46fab3fb18cacc2764a5cd7bf056dff
DIST openapi-core-0.16.2.gh.tar.gz 79801 BLAKE2B abe2e1521eb27431b386452b0826a99603f35551fca263bdc0e415865c88ba98216bab07f713b50a3ece35493b46d51496a541f1b10787ae27cac155673e5956 SHA512 d70369de21ffecc618fb8b3620f55510dd805304fb27742b48dc6603e03cb9322e2358a349d86de325307b99b26099879aac2f45c8a3d42ad8d464b43f2c5caa
DIST openapi-core-0.16.3.gh.tar.gz 103275 BLAKE2B 72a848ca4793a2a33a0cd78397c1030b09e2e271f24f5fb18064892d8ab30d282bd39062187da91cab76ea722ac2287341205e90ae9e0179505d160c4a5d8d64 SHA512 4b967c343ae20ee19df0cbf046762fd2e40ce6dcc4d54fd20a1c321f87eb513c51b9aa4224eb73d21497211612f39cc8bb12ef4dfd33bbf5c83e97f535ea3fcb
+DIST openapi-core-0.16.5.gh.tar.gz 104046 BLAKE2B 7dcda69b6d548a0df8c7727b184c7f7ec6d645e14ab4b4a256f188c6cc4ae9e351bc06ae03770782d81a11dfb5ebc08c20daabbd2151cfe62f84b05f80a47a16 SHA512 59db6d39a950079739b2df4114f26d85be55dc1f42d1661e8e6c17cf878cd8167f29ba4d3b6f40e06e85bb144c68286cb50adf4403091461798144cac05d5bc0
EBUILD openapi-core-0.14.5.ebuild 1790 BLAKE2B ca3d801d30edc10f0a4f8eec63c7b8f5fcb657f884dd8bef2d06357e8db264b51a2ef11730f98240968bc0586ac08caa8a232d03111c92dff2919710ca21ce4e SHA512 25c8f3b0f9a5c026d98f5b95d1fdf7c77d3b2e6596777aeda1319e442b143630101795c71906cf0b89fd05bcbc78897cd18b53df1b025912169463bfbae96db8
EBUILD openapi-core-0.16.1.ebuild 1828 BLAKE2B 9e220903482f1cfad2e96f7e906cd5c2723f3054dd95c7865fd51bd60b354bb15cb9e112d1ddf4f2ca2250f1fa835eabad28ea12a76c3de4c1addff5400a6999 SHA512 bba4ea368f2d0ce24cf845ace701b2703390c83cf8aa9abcc8e4025d8a76fb4ac190156a28ca8b37c258e2bb231d388bc5141a2d5e6b3797227609eddd9723dc
EBUILD openapi-core-0.16.2.ebuild 1828 BLAKE2B 9e220903482f1cfad2e96f7e906cd5c2723f3054dd95c7865fd51bd60b354bb15cb9e112d1ddf4f2ca2250f1fa835eabad28ea12a76c3de4c1addff5400a6999 SHA512 bba4ea368f2d0ce24cf845ace701b2703390c83cf8aa9abcc8e4025d8a76fb4ac190156a28ca8b37c258e2bb231d388bc5141a2d5e6b3797227609eddd9723dc
EBUILD openapi-core-0.16.3.ebuild 1828 BLAKE2B 9e220903482f1cfad2e96f7e906cd5c2723f3054dd95c7865fd51bd60b354bb15cb9e112d1ddf4f2ca2250f1fa835eabad28ea12a76c3de4c1addff5400a6999 SHA512 bba4ea368f2d0ce24cf845ace701b2703390c83cf8aa9abcc8e4025d8a76fb4ac190156a28ca8b37c258e2bb231d388bc5141a2d5e6b3797227609eddd9723dc
+EBUILD openapi-core-0.16.5.ebuild 1828 BLAKE2B 01098a654afb770ece9c121af506d42053169d6ee173547175c47a4f11d17e618ba3eae45b7e07719fe946aee3d6102f90e93f3f642fc47bdd29d66c453fe357 SHA512 11c04c4ffb99871884fa70ca1f8d7087a4418731c9a46b49236446f764f1e1da0470cb24eb91f71a34ed6e97885d4daf3a25fa8ad50765690039d610b235a418
MISC metadata.xml 376 BLAKE2B bf1f9cf9377b172dfb5f916332dbf9d1e485f3ca1f31f754afac41931598c1780c474989edbfcf39bbfd4ceb8e8030280cf0997514dfb8e02bf3294176fc3dfd SHA512 c7fbdc21a2ea86abe5bcf4a3e8ba97634a447926ce999aff761965ff411fb05b09fab5e5338da5f8a8486a6b024cfeb27cfb9d9fbbfc9bad6f9dabaca1c82799
diff --git a/dev-python/openapi-core/openapi-core-0.16.5.ebuild b/dev-python/openapi-core/openapi-core-0.16.5.ebuild
new file mode 100644
index 000000000000..5f16bc813f6d
--- /dev/null
+++ b/dev-python/openapi-core/openapi-core-0.16.5.ebuild
@@ -0,0 +1,68 @@
+# 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_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Client-side and server-side support for the OpenAPI Specification v3"
+HOMEPAGE="
+ https://github.com/p1c2u/openapi-core/
+ https://pypi.org/project/openapi-core/
+"
+SRC_URI="
+ https://github.com/p1c2u/openapi-core/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/pathable-0.4.0[${PYTHON_USEDEP}]
+ dev-python/isodate[${PYTHON_USEDEP}]
+ >=dev-python/jsonschema-spec-0.1.1[${PYTHON_USEDEP}]
+ dev-python/more-itertools[${PYTHON_USEDEP}]
+ dev-python/parse[${PYTHON_USEDEP}]
+ <dev-python/openapi-schema-validator-0.5[${PYTHON_USEDEP}]
+ >=dev-python/openapi-schema-validator-0.3[${PYTHON_USEDEP}]
+ <dev-python/openapi-spec-validator-0.6[${PYTHON_USEDEP}]
+ >=dev-python/openapi-spec-validator-0.5[${PYTHON_USEDEP}]
+ dev-python/werkzeug[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+ test? (
+ dev-python/asgiref[${PYTHON_USEDEP}]
+ dev-python/flask[${PYTHON_USEDEP}]
+ >=dev-python/httpx-0.23.0[${PYTHON_USEDEP}]
+ dev-python/responses[${PYTHON_USEDEP}]
+ >=dev-python/starlette-0.21.0[${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
+}