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, 29 Jun 2021 06:05:08
Message-Id: 1624946693.cab1285c678a82cb850737ed1e986c863356c7c6.mgorny@gentoo
1 commit: cab1285c678a82cb850737ed1e986c863356c7c6
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 29 05:40:17 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 29 06:04:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cab1285c
7
8 dev-python/apispec: Bump to 4.7.0
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.7.0.ebuild | 41 +++++++++++++++++++++++++++++++++
14 2 files changed, 42 insertions(+)
15
16 diff --git a/dev-python/apispec/Manifest b/dev-python/apispec/Manifest
17 index ab26684b9e7..0de235be6db 100644
18 --- a/dev-python/apispec/Manifest
19 +++ b/dev-python/apispec/Manifest
20 @@ -2,3 +2,4 @@ DIST apispec-4.4.1.tar.gz 64424 BLAKE2B b46390659334f5ce5aa83fd15207f5d1ad6d0e9c
21 DIST apispec-4.4.2.tar.gz 64660 BLAKE2B 1e53d4b3f8856e76565690773085dfcbaaab4e1771186eb8ea35f469d7c65b8d5bd6319af0ee32539de96ce5ff1889a15d74ac764d7bb9d0b415648af87d28db SHA512 8f8070ec1a084e5c5dda02d30103ff25a2fe096839aa2b1a75858297377e312e29a2d1cf4d373a53b7bffcbe9108489c2a2516e0e053c2de12ef90044b6b7e17
22 DIST apispec-4.5.0.tar.gz 65423 BLAKE2B ce6cc6f466d274db6aa5f8b27c3a9340daff7934b9293c501b5305b4a6ccbd22e8b12a163e20e5e02d571a8177adb6d5b3196ffa46ae68f2931b6c3ced2b4d0c SHA512 0abb186182513a6d7e4aeeeb80cd8976eebe7c40932ca7c53cd8be149e65a768235436382bab2006a79bcdf345cde55fd69eb3f28f8d14cde5fe064f7c7a76ad
23 DIST apispec-4.6.0.tar.gz 66147 BLAKE2B 98127cb2bf938cc1928e13e1169804eea174351a0f4eeaabc801da711d0861bc35a9761e9f1bc478a44d6a85989a1aba1840b3e472599064240a880fda8e45b4 SHA512 b030e5400a9abce06576406f83befb298814617e06729f29c2ee70517cf456901b67e60880b3b4baec096717a91341e8268bcd8e01fd566b7c6e03709afd7c3b
24 +DIST apispec-4.7.0.tar.gz 66274 BLAKE2B dbb14dd831eddeb9f086643b6182ccc3e529e22ad7e31d1d4dd2dce54edf76c6cf01a74438383df5ccec18cf863334d5cdbd45214791c01632d7f7efa63f7aa3 SHA512 53c0a1e6db81439a7c3f8e933cac28003dd84444e65986a29aef8a6ec761999c84417902448288d69c5873d12dded2156e79bedc5bd4bd0fd472ea014e65a6c7
25
26 diff --git a/dev-python/apispec/apispec-4.7.0.ebuild b/dev-python/apispec/apispec-4.7.0.ebuild
27 new file mode 100644
28 index 00000000000..f2d86714d34
29 --- /dev/null
30 +++ b/dev-python/apispec/apispec-4.7.0.ebuild
31 @@ -0,0 +1,41 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="A pluggable API specification generator."
42 +HOMEPAGE="https://github.com/marshmallow-code/apispec/"
43 +SRC_URI="https://github.com/marshmallow-code/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="MIT"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +
49 +RDEPEND="
50 + >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
51 +"
52 +BDEPEND="${RDEPEND}
53 + test? (
54 + dev-python/bottle[${PYTHON_USEDEP}]
55 + dev-python/mock[${PYTHON_USEDEP}]
56 + dev-python/marshmallow[${PYTHON_USEDEP}]
57 + )"
58 +
59 +distutils_enable_tests pytest
60 +distutils_enable_sphinx docs \
61 + dev-python/sphinx-issues \
62 + dev-python/sphinx_rtd_theme
63 +
64 +python_test() {
65 + local deselect=(
66 + # requires unpackaged prance
67 + tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v2
68 + tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v3
69 + )
70 +
71 + epytest ${deselect[@]/#/--deselect }
72 +}