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: Mon, 02 May 2022 08:27:10
Message-Id: 1651480020.c57be247b600a3144a15166b839bbc247cbb34e7.mgorny@gentoo
1 commit: c57be247b600a3144a15166b839bbc247cbb34e7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 2 08:12:33 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 2 08:27:00 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c57be247
7
8 dev-python/apispec: Bump to 5.2.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/apispec/Manifest | 1 +
13 dev-python/apispec/apispec-5.2.1.ebuild | 45 +++++++++++++++++++++++++++++++++
14 2 files changed, 46 insertions(+)
15
16 diff --git a/dev-python/apispec/Manifest b/dev-python/apispec/Manifest
17 index baf66d9cdca4..3ab0190a94f3 100644
18 --- a/dev-python/apispec/Manifest
19 +++ b/dev-python/apispec/Manifest
20 @@ -1,2 +1,3 @@
21 DIST apispec-5.1.1.gh.tar.gz 70296 BLAKE2B 339706890d23c796ea73c23735c5655694315a8a8017eba8f69574ed4e85ddf9a65c3a26482a78f08a118afd19e3c9bbcc9d264bb770941d7affbf7cf85eb925 SHA512 4e0e2959699c735c5242aa1a954392d97ea4809aafbd8d091f608baf7397a31964852588c474acb84e8755a62849837d741eb1e5fdf1cd5304f46c852e346d03
22 DIST apispec-5.2.0.gh.tar.gz 71284 BLAKE2B 554539790c58f88f475a7c638130ccdf24bcf80e024bc640919226b0a1408af97c3403ff294f47fb2cb478a26285bc6aacb021f6275eb211dc86fd31780f573a SHA512 6f36dcce8b503847a981c87ed1139b89bbb9be9e22db67402cd7e74be8a5ce58714329b33c8489b63f5aa56fe92d65fb5aea332c9bd2e8f140dfc92165432005
23 +DIST apispec-5.2.1.gh.tar.gz 71348 BLAKE2B c908fb3741e72d0e8a3dfd70c186255cb5862f7c51c32c5c54ea3cba38a7ce9e02143e029a505f30f284f7b5490946897fead535a9a8743549806aacd1c7791d SHA512 020d377e4dd9e2e3514cf48450bee9a5b957cb0d419f7fa4da35691b68cd108673b133d4ad07b908ca377b1418d087979eea409382ca743d350aec95b796f00f
24
25 diff --git a/dev-python/apispec/apispec-5.2.1.ebuild b/dev-python/apispec/apispec-5.2.1.ebuild
26 new file mode 100644
27 index 000000000000..e56c46d972d1
28 --- /dev/null
29 +++ b/dev-python/apispec/apispec-5.2.1.ebuild
30 @@ -0,0 +1,45 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="A pluggable API specification generator"
42 +HOMEPAGE="
43 + https://github.com/marshmallow-code/apispec/
44 + https://pypi.org/project/apispec/
45 +"
46 +SRC_URI="
47 + https://github.com/marshmallow-code/apispec/archive/${PV}.tar.gz
48 + -> ${P}.gh.tar.gz
49 +"
50 +
51 +LICENSE="MIT"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~x86"
54 +
55 +RDEPEND="
56 + >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
57 +"
58 +BDEPEND="
59 + test? (
60 + dev-python/bottle[${PYTHON_USEDEP}]
61 + dev-python/mock[${PYTHON_USEDEP}]
62 + >=dev-python/marshmallow-3.13.0[${PYTHON_USEDEP}]
63 + )
64 +"
65 +
66 +distutils_enable_tests pytest
67 +distutils_enable_sphinx docs \
68 + dev-python/sphinx-issues \
69 + dev-python/sphinx_rtd_theme
70 +
71 +EPYTEST_DESELECT=(
72 + # requires unpackaged prance
73 + tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v2
74 + tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v3
75 +)