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 81D2B13835A for ; Tue, 25 May 2021 05:14:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85F1CE07D8; Tue, 25 May 2021 05:13:59 +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 6F9D7E07D8 for ; Tue, 25 May 2021 05:13:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 E43C433BF5D for ; Tue, 25 May 2021 05:13:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 39E1759C for ; Tue, 25 May 2021 05:13:56 +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: <1621916072.914f18a309185dfeb450678d80b4972a93c80eee.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.4.2.ebuild X-VCS-Directories: dev-python/apispec/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 914f18a309185dfeb450678d80b4972a93c80eee X-VCS-Branch: master Date: Tue, 25 May 2021 05:13:56 +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: 0076999c-6146-47e0-8019-9551a46d5d89 X-Archives-Hash: 81c1d672fff5a44fa34aa4e4248b60d4 commit: 914f18a309185dfeb450678d80b4972a93c80eee Author: Michał Górny gentoo org> AuthorDate: Tue May 25 04:14:32 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue May 25 04:14:32 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=914f18a3 dev-python/apispec: Bump to 4.4.2 Signed-off-by: Michał Górny gentoo.org> dev-python/apispec/Manifest | 1 + dev-python/apispec/apispec-4.4.2.ebuild | 41 +++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/apispec/Manifest b/dev-python/apispec/Manifest index 2f3744effeb..77363d037bc 100644 --- a/dev-python/apispec/Manifest +++ b/dev-python/apispec/Manifest @@ -1 +1,2 @@ DIST apispec-4.4.1.tar.gz 64424 BLAKE2B b46390659334f5ce5aa83fd15207f5d1ad6d0e9c530f9e7d2b1a0f6a787498aad065153cde9237ce1ab408256e5cd698bbc674dc0316eb4ed16b874ce34611c4 SHA512 fea0787598ca93711eaa231675f97623eb3d6eb224e11c40e66857b95f48724618bf7a9bfda476b56c1c96fe70bb61675966b1f3fb073fe3f7e4da91e78d3d90 +DIST apispec-4.4.2.tar.gz 64660 BLAKE2B 1e53d4b3f8856e76565690773085dfcbaaab4e1771186eb8ea35f469d7c65b8d5bd6319af0ee32539de96ce5ff1889a15d74ac764d7bb9d0b415648af87d28db SHA512 8f8070ec1a084e5c5dda02d30103ff25a2fe096839aa2b1a75858297377e312e29a2d1cf4d373a53b7bffcbe9108489c2a2516e0e053c2de12ef90044b6b7e17 diff --git a/dev-python/apispec/apispec-4.4.2.ebuild b/dev-python/apispec/apispec-4.4.2.ebuild new file mode 100644 index 00000000000..411599826eb --- /dev/null +++ b/dev-python/apispec/apispec-4.4.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..10} ) + +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 +distutils_enable_sphinx docs \ + dev-python/sphinx-issues \ + dev-python/sphinx_rtd_theme + +python_test() { + local deselect=( + # requires unpackaged prance + tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v2 + tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v3 + ) + + epytest ${deselect[@]/#/--deselect } +}