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 9FCEE15800F for ; Thu, 19 Jan 2023 17:43:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66C5AE0932; Thu, 19 Jan 2023 17:43:18 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 482FFE0932 for ; Thu, 19 Jan 2023 17:43:18 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6AE6333E01A for ; Thu, 19 Jan 2023 17:43:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BCADF84D for ; Thu, 19 Jan 2023 17:43:14 +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: <1674150190.51540cf4f0ac9eb8dda0d753bd11a25fbcfcdb88.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.16.5.ebuild X-VCS-Directories: dev-python/openapi-core/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 51540cf4f0ac9eb8dda0d753bd11a25fbcfcdb88 X-VCS-Branch: master Date: Thu, 19 Jan 2023 17:43:14 +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: 9025aba3-bcc9-4c23-b7ab-c4037089b187 X-Archives-Hash: 4c3045e34971d0e02d3cc5581e8b3e5a commit: 51540cf4f0ac9eb8dda0d753bd11a25fbcfcdb88 Author: Michał Górny gentoo org> AuthorDate: Thu Jan 19 14:35:38 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jan 19 17:43:10 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51540cf4 dev-python/openapi-core: Bump to 0.16.5 Signed-off-by: Michał Górny gentoo.org> dev-python/openapi-core/Manifest | 1 + dev-python/openapi-core/openapi-core-0.16.5.ebuild | 68 ++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/dev-python/openapi-core/Manifest b/dev-python/openapi-core/Manifest index b74df1a3c818..913fcdaa2d64 100644 --- a/dev-python/openapi-core/Manifest +++ b/dev-python/openapi-core/Manifest @@ -2,3 +2,4 @@ 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 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.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 +}