From 454de691f3543d47dc89cd0b137eaa9ea4640cd3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 21 Dec 2022 13:54:09 +0000 Subject: gentoo auto-resync : 21:12:2022 - 13:54:08 --- dev-python/openapi-core/Manifest | 2 + dev-python/openapi-core/openapi-core-0.16.3.ebuild | 68 ++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 dev-python/openapi-core/openapi-core-0.16.3.ebuild (limited to 'dev-python/openapi-core') diff --git a/dev-python/openapi-core/Manifest b/dev-python/openapi-core/Manifest index f1f59fd8ec3a..715ac1576705 100644 --- a/dev-python/openapi-core/Manifest +++ b/dev-python/openapi-core/Manifest @@ -1,7 +1,9 @@ DIST openapi-core-0.14.5.gh.tar.gz 57645 BLAKE2B c5c9c308b93a37e32708677cc7c7a2ccb9ec3f018390e56a251224b6b8776943ccd0ddfb560cdc3f1182cb32a9b2817878a0d4dda3906c179db9841853caf7ac SHA512 69d9fb2cc21dfdb939beae45b1c681faf9f8e3366b36e5907b00be65ac669ec40e3ae3fe910fb2c4f6c70d1412e6a67e4e4e47e3cf2c424716da4c813223295e 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 EBUILD openapi-core-0.14.5.ebuild 1785 BLAKE2B bab09a41571aa7876a32ba87e2a35d948b4387cf5bdfa3ab6d9cf5922eb294e1fc57b30cf55bf267817de75c0056d6491fac07728a624b3c9042487e4020c01c SHA512 1c581028e21a32f7633889ed3744720077815a5591a81d2145413bf916f3dbf8fc98fba99d66fa70ad2a5181d3cc2a595a645640291b45736c2c8d9e2774eacd EBUILD openapi-core-0.16.1.ebuild 1823 BLAKE2B a77798a492bc62894cb32c6e8a222c7e3c736fe5a09893c58fe137c5a97ef10a8a4f647dbe85f206422ef5f324d4a55f529cbc97f2e85be859c131e31147cae4 SHA512 ec65812388581804c2abc3c64a521ab94d4f08b9382bb046b39025671ac25da8f4d2bd0ba3ff51dcc39261b5132f52583d62294b9dbf68b5d017fb9b09497f38 EBUILD openapi-core-0.16.2.ebuild 1823 BLAKE2B a77798a492bc62894cb32c6e8a222c7e3c736fe5a09893c58fe137c5a97ef10a8a4f647dbe85f206422ef5f324d4a55f529cbc97f2e85be859c131e31147cae4 SHA512 ec65812388581804c2abc3c64a521ab94d4f08b9382bb046b39025671ac25da8f4d2bd0ba3ff51dcc39261b5132f52583d62294b9dbf68b5d017fb9b09497f38 +EBUILD openapi-core-0.16.3.ebuild 1823 BLAKE2B a77798a492bc62894cb32c6e8a222c7e3c736fe5a09893c58fe137c5a97ef10a8a4f647dbe85f206422ef5f324d4a55f529cbc97f2e85be859c131e31147cae4 SHA512 ec65812388581804c2abc3c64a521ab94d4f08b9382bb046b39025671ac25da8f4d2bd0ba3ff51dcc39261b5132f52583d62294b9dbf68b5d017fb9b09497f38 MISC metadata.xml 376 BLAKE2B bf1f9cf9377b172dfb5f916332dbf9d1e485f3ca1f31f754afac41931598c1780c474989edbfcf39bbfd4ceb8e8030280cf0997514dfb8e02bf3294176fc3dfd SHA512 c7fbdc21a2ea86abe5bcf4a3e8ba97634a447926ce999aff761965ff411fb05b09fab5e5338da5f8a8486a6b024cfeb27cfb9d9fbbfc9bad6f9dabaca1c82799 diff --git a/dev-python/openapi-core/openapi-core-0.16.3.ebuild b/dev-python/openapi-core/openapi-core-0.16.3.ebuild new file mode 100644 index 000000000000..3e6488a26404 --- /dev/null +++ b/dev-python/openapi-core/openapi-core-0.16.3.ebuild @@ -0,0 +1,68 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8..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.3[${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 +} -- cgit v1.2.3