1 |
commit: 44d121fa4b00c3a476626bfa1843de151ebd1de2 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 28 20:30:48 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 28 20:37:07 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44d121fa |
7 |
|
8 |
dev-python/sphinx-autoapi: Bump to 2.0.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/sphinx-autoapi/Manifest | 1 + |
13 |
.../sphinx-autoapi/sphinx-autoapi-2.0.0.ebuild | 41 ++++++++++++++++++++++ |
14 |
2 files changed, 42 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/sphinx-autoapi/Manifest b/dev-python/sphinx-autoapi/Manifest |
17 |
index 55b675cfa7dd..be35a9ccd2b7 100644 |
18 |
--- a/dev-python/sphinx-autoapi/Manifest |
19 |
+++ b/dev-python/sphinx-autoapi/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST sphinx-autoapi-1.9.0.gh.tar.gz 84730 BLAKE2B 31547c0dee076736d65867d9856e713581c440d2b1f01b7ebcbe09b31a7bf2979346bcbe18d6064fd5656b7d7dab9149c67fe79f0db7e5757c2581370c11a8cd SHA512 f098f474d9821c974c2ede77de30f3317c87cb87ec00b7a1c021add1d07a1ed59fa3b4165edf2b7f5165004ba9c717394962154098bc89b52989d0e604c542f1 |
22 |
+DIST sphinx-autoapi-2.0.0.gh.tar.gz 86051 BLAKE2B af6c2f997e7e018304c5f19d978fc87fa853d876781930c1220e8e823a078c80c86851a141ed01d7ab94fd76d747e8dfd7462dd5ccab84127f1c95d225324a92 SHA512 7188ed167de808028b2ac603abb6a136584698a1df4882755b80609f4760dab818cec5f4684bf5d16afc2ae1be112ecb96c7f02f989fcb67937c19c045f45b81 |
23 |
|
24 |
diff --git a/dev-python/sphinx-autoapi/sphinx-autoapi-2.0.0.ebuild b/dev-python/sphinx-autoapi/sphinx-autoapi-2.0.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..ed1cb2fd23fd |
27 |
--- /dev/null |
28 |
+++ b/dev-python/sphinx-autoapi/sphinx-autoapi-2.0.0.ebuild |
29 |
@@ -0,0 +1,41 @@ |
30 |
+# Copyright 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..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="A new approach to API documentation in Sphinx" |
41 |
+HOMEPAGE=" |
42 |
+ https://sphinx-autoapi.readthedocs.io/ |
43 |
+ https://github.com/readthedocs/sphinx-autoapi/ |
44 |
+ https://pypi.org/project/sphinx-autoapi/ |
45 |
+" |
46 |
+SRC_URI=" |
47 |
+ https://github.com/readthedocs/sphinx-autoapi/archive/v${PV}.tar.gz |
48 |
+ -> ${P}.gh.tar.gz |
49 |
+" |
50 |
+ |
51 |
+LICENSE="MIT" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ dev-python/astroid[${PYTHON_USEDEP}] |
57 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/sphinx-4.0[${PYTHON_USEDEP}] |
59 |
+ dev-python/unidecode[${PYTHON_USEDEP}] |
60 |
+" |
61 |
+ |
62 |
+DOCS=( README.rst CHANGELOG.rst ) |
63 |
+ |
64 |
+# Test requires pypi download w/ internet: https://github.com/readthedocs/sphinx-autoapi/issues/329 |
65 |
+EPYTEST_DESELECT=( |
66 |
+ tests/test_integration.py::TestExtensionErrors::test_extension_setup_errors[dotnetexample-override_conf2-AutoAPI |
67 |
+) |
68 |
+ |
69 |
+distutils_enable_tests pytest |
70 |
+distutils_enable_sphinx docs --no-autodoc |