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 A363D15A7DB for ; Fri, 17 Mar 2023 13:33:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E04482BC11A; Fri, 17 Mar 2023 13:33:54 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5DB7C2BC118 for ; Fri, 17 Mar 2023 13:33:54 +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 9B09534109A for ; Fri, 17 Mar 2023 13:33:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2F45B8E3 for ; Fri, 17 Mar 2023 13:33:52 +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: <1679060025.02b93a3df0f26b1bff6474a709e6439cf26f8cf1.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/openapi-spec-validator/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/openapi-spec-validator/Manifest dev-python/openapi-spec-validator/openapi-spec-validator-0.5.6.ebuild X-VCS-Directories: dev-python/openapi-spec-validator/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 02b93a3df0f26b1bff6474a709e6439cf26f8cf1 X-VCS-Branch: master Date: Fri, 17 Mar 2023 13:33:52 +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: 50fbcca4-7a06-4368-90a1-cec1381e579b X-Archives-Hash: 9689a2780a6850b268fd18fbab963389 commit: 02b93a3df0f26b1bff6474a709e6439cf26f8cf1 Author: Michał Górny gentoo org> AuthorDate: Fri Mar 17 13:02:52 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Mar 17 13:33:45 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b93a3d dev-python/openapi-spec-validator: Bump to 0.5.6 Signed-off-by: Michał Górny gentoo.org> dev-python/openapi-spec-validator/Manifest | 1 + .../openapi-spec-validator-0.5.6.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/openapi-spec-validator/Manifest b/dev-python/openapi-spec-validator/Manifest index 475776251cef..f3c0eec35b33 100644 --- a/dev-python/openapi-spec-validator/Manifest +++ b/dev-python/openapi-spec-validator/Manifest @@ -1 +1,2 @@ DIST openapi-spec-validator-0.5.5.gh.tar.gz 57200 BLAKE2B 037566130546d2cc894dd12e0fc0d80fe9631f94085ec286a61ea810c58b48cd7837cc044388773798a7684fa4d73bb89eed643a164280433c1cd8d6a9cd42cc SHA512 4b5415216e74937a0c6f527850921f362a3183119a641d4d369cbf3e6aa19209ec7d8ff05697eed7dcd1ee6d0e8fbcc9cb8aaa0e3eb46e4da34bc7a0a4b78c00 +DIST openapi_spec_validator-0.5.6.tar.gz 33031 BLAKE2B a884ceb915f232232406bd880a7eef9e588e1a42ac9a78c2e23f91cbd71e9af471c764550a9dd214ef68ec24ede7ab0ba4624429e4fd8133011489d0039aeae7 SHA512 ea1e810ecf49ff3d237e3368cd2cbcc6b733e9657f101759860ef16d3e2f14c97ccfe52fae2897d12a50c803d709d61d7ef8b40b288e5f73265da9ac5c88280b diff --git a/dev-python/openapi-spec-validator/openapi-spec-validator-0.5.6.ebuild b/dev-python/openapi-spec-validator/openapi-spec-validator-0.5.6.ebuild new file mode 100644 index 000000000000..851d3026ea8a --- /dev/null +++ b/dev-python/openapi-spec-validator/openapi-spec-validator-0.5.6.ebuild @@ -0,0 +1,53 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{9..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0 spec validator" +HOMEPAGE=" + https://github.com/python-openapi/openapi-spec-validator/ + https://pypi.org/project/openapi-spec-validator/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + =dev-python/jsonschema-4.0.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-spec-0.1.1[${PYTHON_USEDEP}] + >=dev-python/lazy-object-proxy-1.7.1[${PYTHON_USEDEP}] + =dev-python/openapi-schema-validator-0.3.2[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internet + tests/integration/test_shortcuts.py::TestPetstoreV2Example + tests/integration/test_shortcuts.py::TestApiV2WithExampe + tests/integration/test_shortcuts.py::TestPetstoreV2ExpandedExample + tests/integration/test_shortcuts.py::TestPetstoreExample + tests/integration/test_shortcuts.py::TestRemoteValidatev2SpecUrl + tests/integration/test_shortcuts.py::TestRemoteValidatev30SpecUrl + tests/integration/test_shortcuts.py::TestApiWithExample + tests/integration/test_shortcuts.py::TestPetstoreExpandedExample + tests/integration/test_validate.py::TestPetstoreExample + tests/integration/test_validate.py::TestApiWithExample + tests/integration/test_validate.py::TestPetstoreExpandedExample + tests/integration/validation/test_validators.py +) + +src_prepare() { + sed -i -e '/--cov/d' pyproject.toml || die + distutils-r1_src_prepare +}