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 940AD1382C5 for ; Wed, 13 May 2020 17:19:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8B78E09A5; Wed, 13 May 2020 17:19:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 A7988E09A5 for ; Wed, 13 May 2020 17:19:17 +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 6F5CC350806 for ; Wed, 13 May 2020 17:19:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 24FE71AC for ; Wed, 13 May 2020 17:19:15 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1589390343.cc89c679a0afdb4379b82cacdfe48f8950f7ea37.chutzpah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/apispec/, dev-python/apispec/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/apispec/Manifest dev-python/apispec/apispec-3.3.0.ebuild dev-python/apispec/files/apispec-3.3.0-tests.patch X-VCS-Directories: dev-python/apispec/files/ dev-python/apispec/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: cc89c679a0afdb4379b82cacdfe48f8950f7ea37 X-VCS-Branch: master Date: Wed, 13 May 2020 17:19:15 +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: 31a574de-8024-4eff-9c28-ff8c6daa3c0d X-Archives-Hash: b01e6989c06c1c7ca2587264c35f6caf commit: cc89c679a0afdb4379b82cacdfe48f8950f7ea37 Author: Patrick McLean sony com> AuthorDate: Wed May 13 17:18:35 2020 +0000 Commit: Patrick McLean gentoo org> CommitDate: Wed May 13 17:19:03 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc89c679 dev-python/apispec-3.3.0: version bump Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Patrick McLean gentoo.org> dev-python/apispec/Manifest | 1 + dev-python/apispec/apispec-3.3.0.ebuild | 33 ++++++++++++++++++++++ dev-python/apispec/files/apispec-3.3.0-tests.patch | 20 +++++++++++++ 3 files changed, 54 insertions(+) diff --git a/dev-python/apispec/Manifest b/dev-python/apispec/Manifest index c5f2a6a964b..ad32036c7ff 100644 --- a/dev-python/apispec/Manifest +++ b/dev-python/apispec/Manifest @@ -1 +1,2 @@ DIST apispec-0.35.0.tar.gz 47684 BLAKE2B 3067a0d50a6f53378f46a9a07596da53679f399732619f5bd3d1bedd85d088c6901560dc46be22b42d77537c437d9d97840a55f0b1513e39c87760e9e6c8ea0c SHA512 45a3034c49169ca7998480a8b8e0ac6415d49b6235885fba31eaaccb1c008b4ea845a6743f10cc3492215affe20b690d73a9a06e0e0c3942e0327f381415fa57 +DIST apispec-3.3.0.tar.gz 66952 BLAKE2B a744230a1754d88b3bdc2325916e100d1de19bdf0e7985245d9f0ecf4a6bd9c778e502be73107a90a3676e8ecda45653d9f0962d33f68c6242bc52dc4695b1cb SHA512 f8cfaeec9486554653a09ce37cf2aa11b037047aa3af918a1273a4ca892d723c9367827cb3a034683722965f17dc8ed45ce3f163631c666902a3a87b5485b537 diff --git a/dev-python/apispec/apispec-3.3.0.ebuild b/dev-python/apispec/apispec-3.3.0.ebuild new file mode 100644 index 00000000000..df2a9b020bc --- /dev/null +++ b/dev-python/apispec/apispec-3.3.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) + +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" +IUSE="test" +RESTRICT="!test? ( test )" + +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}] + )" + +PATCHES=( + "${FILESDIR}/apispec-3.3.0-tests.patch" +) + +distutils_enable_tests pytest diff --git a/dev-python/apispec/files/apispec-3.3.0-tests.patch b/dev-python/apispec/files/apispec-3.3.0-tests.patch new file mode 100644 index 00000000000..fb2ffc54920 --- /dev/null +++ b/dev-python/apispec/files/apispec-3.3.0-tests.patch @@ -0,0 +1,20 @@ +diff --git a/tests/test_ext_marshmallow_openapi.py b/tests/test_ext_marshmallow_openapi.py +index ab1b0b8..d151a32 100644 +--- a/tests/test_ext_marshmallow_openapi.py ++++ b/tests/test_ext_marshmallow_openapi.py +@@ -454,6 +454,7 @@ class TestNesting: + assert "breed" not in category_props + + ++@pytest.mark.skip("test requires extra dependencies") + def test_openapi_tools_validate_v2(): + ma_plugin = MarshmallowPlugin() + spec = APISpec( +@@ -512,6 +513,7 @@ def test_openapi_tools_validate_v2(): + pytest.fail(str(error)) + + ++@pytest.mark.skip("test requires extra dependencies") + def test_openapi_tools_validate_v3(): + ma_plugin = MarshmallowPlugin() + spec = APISpec(