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