Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/apispec/
Date: Tue, 25 May 2021 05:14:00
Message-Id: 1621916072.914f18a309185dfeb450678d80b4972a93c80eee.mgorny@gentoo
1 commit: 914f18a309185dfeb450678d80b4972a93c80eee
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 25 04:14:32 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 25 04:14:32 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=914f18a3
7
8 dev-python/apispec: Bump to 4.4.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/apispec/Manifest | 1 +
13 dev-python/apispec/apispec-4.4.2.ebuild | 41 +++++++++++++++++++++++++++++++++
14 2 files changed, 42 insertions(+)
15
16 diff --git a/dev-python/apispec/Manifest b/dev-python/apispec/Manifest
17 index 2f3744effeb..77363d037bc 100644
18 --- a/dev-python/apispec/Manifest
19 +++ b/dev-python/apispec/Manifest
20 @@ -1 +1,2 @@
21 DIST apispec-4.4.1.tar.gz 64424 BLAKE2B b46390659334f5ce5aa83fd15207f5d1ad6d0e9c530f9e7d2b1a0f6a787498aad065153cde9237ce1ab408256e5cd698bbc674dc0316eb4ed16b874ce34611c4 SHA512 fea0787598ca93711eaa231675f97623eb3d6eb224e11c40e66857b95f48724618bf7a9bfda476b56c1c96fe70bb61675966b1f3fb073fe3f7e4da91e78d3d90
22 +DIST apispec-4.4.2.tar.gz 64660 BLAKE2B 1e53d4b3f8856e76565690773085dfcbaaab4e1771186eb8ea35f469d7c65b8d5bd6319af0ee32539de96ce5ff1889a15d74ac764d7bb9d0b415648af87d28db SHA512 8f8070ec1a084e5c5dda02d30103ff25a2fe096839aa2b1a75858297377e312e29a2d1cf4d373a53b7bffcbe9108489c2a2516e0e053c2de12ef90044b6b7e17
23
24 diff --git a/dev-python/apispec/apispec-4.4.2.ebuild b/dev-python/apispec/apispec-4.4.2.ebuild
25 new file mode 100644
26 index 00000000000..411599826eb
27 --- /dev/null
28 +++ b/dev-python/apispec/apispec-4.4.2.ebuild
29 @@ -0,0 +1,41 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{7..10} )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="A pluggable API specification generator."
40 +HOMEPAGE="https://github.com/marshmallow-code/apispec/"
41 +SRC_URI="https://github.com/marshmallow-code/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +
47 +RDEPEND="
48 + >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
49 +"
50 +BDEPEND="${RDEPEND}
51 + test? (
52 + dev-python/bottle[${PYTHON_USEDEP}]
53 + dev-python/mock[${PYTHON_USEDEP}]
54 + dev-python/marshmallow[${PYTHON_USEDEP}]
55 + )"
56 +
57 +distutils_enable_tests pytest
58 +distutils_enable_sphinx docs \
59 + dev-python/sphinx-issues \
60 + dev-python/sphinx_rtd_theme
61 +
62 +python_test() {
63 + local deselect=(
64 + # requires unpackaged prance
65 + tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v2
66 + tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v3
67 + )
68 +
69 + epytest ${deselect[@]/#/--deselect }
70 +}