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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1DF541382C5 for ; Sun, 7 Feb 2021 09:00:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D6CDE0874; Sun, 7 Feb 2021 09:00:38 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5845AE0874 for ; Sun, 7 Feb 2021 09:00:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4E7E33439F9 for ; Sun, 7 Feb 2021 09:00:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A7F2454 for ; Sun, 7 Feb 2021 09:00:35 +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: <1612688429.72d19d2fdf77c868fef27afa9e9d847c772f97a2.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/apispec/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/apispec/Manifest dev-python/apispec/apispec-4.2.0.ebuild X-VCS-Directories: dev-python/apispec/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 72d19d2fdf77c868fef27afa9e9d847c772f97a2 X-VCS-Branch: master Date: Sun, 7 Feb 2021 09:00:35 +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: 011f0e36-9e45-4af7-931f-aadab615398b X-Archives-Hash: a981928966776535bf01e7c86e31976d commit: 72d19d2fdf77c868fef27afa9e9d847c772f97a2 Author: Michał Górny gentoo org> AuthorDate: Sun Feb 7 08:50:15 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Feb 7 09:00:29 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72d19d2f dev-python/apispec: Bump to 4.2.0 Signed-off-by: Michał Górny gentoo.org> dev-python/apispec/Manifest | 1 + dev-python/apispec/apispec-4.2.0.ebuild | 37 +++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-python/apispec/Manifest b/dev-python/apispec/Manifest index 0a5e012d1a4..0c5dbc3a946 100644 --- a/dev-python/apispec/Manifest +++ b/dev-python/apispec/Manifest @@ -1 +1,2 @@ DIST apispec-3.3.0.tar.gz 61687 BLAKE2B f1bcd212494d9196441e44acd4fd0d06063d7f80859ce49cd50dd5a4cbc4ddace974c2388031ddc8ef015b44f10a8f5d97c6d0f4fed96c1336dfc7282fa7c173 SHA512 c94cc48702ced17baa01175be2ff261dd7203cb0f49477f4be633080ef5f8029e5654579609370b4c1cd852d71f0b6fc116a05ee34515b22e7a0877a19d49a27 +DIST apispec-4.2.0.tar.gz 63046 BLAKE2B 4a6729975e28d22a23b0574f8298f3113ed89cdcc7d01e3086af82354d4a61b4a82420ab7ca7b66790481dd8e3232ebe80319266fb2de54c0aa8c6c3a7fa86a1 SHA512 51187a80f8ad260bd0a89d4a882d2517f56237a6cfb0596cf29999e3fc42af0700c88037ba205a4e7f51587abf8b1db5dbae7ee5d98ae55fc9fe2314f69fa656 diff --git a/dev-python/apispec/apispec-4.2.0.ebuild b/dev-python/apispec/apispec-4.2.0.ebuild new file mode 100644 index 00000000000..fb3382c1baf --- /dev/null +++ b/dev-python/apispec/apispec-4.2.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 + +DESCRIPTION="A pluggable API specification generator." +HOMEPAGE="https://github.com/marshmallow-code/apispec/" +SRC_URI="https://github.com/marshmallow-code/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] +" +BDEPEND="${RDEPEND} + test? ( + dev-python/bottle[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/marshmallow[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v2 + tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v3 + ) + + pytest -vv ${deselect[@]/#/--deselect } || + die "Tests failed with ${EPYTHON}" +}