From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9A79915800D for ; Tue, 11 Jul 2023 06:45:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C8713E0855; Tue, 11 Jul 2023 06:45:33 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B16F4E0855 for ; Tue, 11 Jul 2023 06:45:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C39133402FE for ; Tue, 11 Jul 2023 06:45:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2D97DAC5 for ; Tue, 11 Jul 2023 06:45:31 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1689057927.30d1abda74b5e2cf02bb5b3c6b7af69d296ca136.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/openapi-core/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/openapi-core/Manifest dev-python/openapi-core/openapi-core-0.18.0.ebuild X-VCS-Directories: dev-python/openapi-core/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 30d1abda74b5e2cf02bb5b3c6b7af69d296ca136 X-VCS-Branch: master Date: Tue, 11 Jul 2023 06:45:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: af030ecd-5f55-4dc1-ba14-c948fc5e1c81 X-Archives-Hash: 937e87703ccec6dff64a37a5c9052440 commit: 30d1abda74b5e2cf02bb5b3c6b7af69d296ca136 Author: Michał Górny gentoo org> AuthorDate: Tue Jul 11 06:19:25 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jul 11 06:45:27 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30d1abda dev-python/openapi-core: Bump to 0.18.0 Signed-off-by: Michał Górny gentoo.org> dev-python/openapi-core/Manifest | 1 + dev-python/openapi-core/openapi-core-0.18.0.ebuild | 69 ++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/dev-python/openapi-core/Manifest b/dev-python/openapi-core/Manifest index 58ca8f91edaa..2cc9579d57a4 100644 --- a/dev-python/openapi-core/Manifest +++ b/dev-python/openapi-core/Manifest @@ -1,3 +1,4 @@ DIST openapi-core-0.16.6.gh.tar.gz 104008 BLAKE2B bb1bdac98dfc5aef0961624488074363568f53a6c44cb0730be0d103d891d24bed86659f640e0d07da4072edc233c904c0ddcfd9e8b3960ace1af078c0d745e5 SHA512 556636a4698dcd7db6c656333849077abacdac1a440fe58210ad8f02c1f0220e46dea29962346dfb3f89d164ebc986ec750c184840be9a34a5e1dd98fbf8ef98 DIST openapi_core-0.17.1.tar.gz 85686 BLAKE2B f18b42fc496eaf4d6b82c15f66dd9c2eb9240402590b5a8e1f0e7b1e804c90aeef2db96d19683e9fea5846e776e95981ac52a38c47e2b56e6b5fd63d072b61f7 SHA512 0e2c673dbbfcce87ae7fbca6ec6c283d94c36376b1e17191d0bfa6c7001c62913381169b4614b5cd6131eaa67b729365036be3f1eb7641f634c0f3228de54897 DIST openapi_core-0.17.2.tar.gz 88262 BLAKE2B 4d9a1be1eff4118bc1c687e57af0ff3738f984ceb6e564c643d26cb795bbcd3e703dd22c3b45d574f498d290f8da225819c9df618da5a1b8e40758304f2ebd07 SHA512 73cd2b62149549bd56781adb44922bca4a0519fbae8b6539d0225799ba1cfa1ab584428fd572ee42af4731b5437f08b8c4ad8f8895444aef315e4c6909fd4e5a +DIST openapi_core-0.18.0.tar.gz 83474 BLAKE2B 785e95969e03d9ccf17e40c7ce563cef6ab45c417e397b0f03e982622fb1c65d4b3e719e94e1072c7a41b837097efea7b83e29e8ceec64579f1c58040c9fb291 SHA512 d9e516e00a53937f79c7419823a1533a507731e20da36e1186a1800f713154135524db968483ce850bd9a90a4c322ca1c957d6a7f99e9d8eefdc244ed9ce8bc0 diff --git a/dev-python/openapi-core/openapi-core-0.18.0.ebuild b/dev-python/openapi-core/openapi-core-0.18.0.ebuild new file mode 100644 index 000000000000..a88ca0b8e16e --- /dev/null +++ b/dev-python/openapi-core/openapi-core-0.18.0.ebuild @@ -0,0 +1,69 @@ +# 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_{10..11} ) + +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" + +RDEPEND=" + =dev-python/asgiref-3.6.0[${PYTHON_USEDEP}] + dev-python/isodate[${PYTHON_USEDEP}] + =dev-python/jsonschema-4.17.3[${PYTHON_USEDEP}] + =dev-python/jsonschema-spec-0.2.3[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/parse[${PYTHON_USEDEP}] + =dev-python/openapi-schema-validator-0.6.0[${PYTHON_USEDEP}] + =dev-python/openapi-spec-validator-0.6.0[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=dev-python/aiohttp-3.8.4[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + >=dev-python/httpx-0.24.0[${PYTHON_USEDEP}] + >=dev-python/pytest-aiohttp-1.0.4[${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}] + ) +" + +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 +}