1 |
commit: 4584c7cca83960dbe9cdbc7298adc76505a37240 |
2 |
Author: Marco Sirabella <marco <AT> sirabella <DOT> org> |
3 |
AuthorDate: Tue Mar 1 17:05:32 2022 +0000 |
4 |
Commit: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 5 14:27:32 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4584c7cc |
7 |
|
8 |
dev-python/sphinx-autoapi: Add new package |
9 |
|
10 |
Required to compile documentation for some other packages |
11 |
eg app-misc/khard |
12 |
|
13 |
Signed-off-by: Marco Sirabella <marco <AT> sirabella.org> |
14 |
Signed-off-by: Andriy Utkin <andrey_utkin <AT> gentoo.org> |
15 |
|
16 |
dev-python/sphinx-autoapi/Manifest | 1 + |
17 |
dev-python/sphinx-autoapi/metadata.xml | 22 +++++++++++++++ |
18 |
.../sphinx-autoapi/sphinx-autoapi-1.8.4.ebuild | 32 ++++++++++++++++++++++ |
19 |
3 files changed, 55 insertions(+) |
20 |
|
21 |
diff --git a/dev-python/sphinx-autoapi/Manifest b/dev-python/sphinx-autoapi/Manifest |
22 |
new file mode 100644 |
23 |
index 000000000000..8f4b84c9d6c4 |
24 |
--- /dev/null |
25 |
+++ b/dev-python/sphinx-autoapi/Manifest |
26 |
@@ -0,0 +1 @@ |
27 |
+DIST sphinx-autoapi-1.8.4.tar.gz 83541 BLAKE2B 05d706fda6da4aea55e535a995ef01dc54269fa8e452c51c9bf2cec2e596ccec20191b8cb3c0cde1b93daa4f5d85074a293c9fd449d99d3c494ba20c6cee2df8 SHA512 10b4d87e1046ad372a3491006cd4bece8334fc398025f98654781c83ee200045d707f3293a031f8cf0abe5d20a111e7ded864f2b6deffe5222b331ca8c9b688b |
28 |
|
29 |
diff --git a/dev-python/sphinx-autoapi/metadata.xml b/dev-python/sphinx-autoapi/metadata.xml |
30 |
new file mode 100644 |
31 |
index 000000000000..d9cd2dc6c337 |
32 |
--- /dev/null |
33 |
+++ b/dev-python/sphinx-autoapi/metadata.xml |
34 |
@@ -0,0 +1,22 @@ |
35 |
+<?xml version="1.0" encoding="UTF-8"?> |
36 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
37 |
+<pkgmetadata> |
38 |
+ <maintainer type="project"> |
39 |
+ <email>python@g.o</email> |
40 |
+ </maintainer> |
41 |
+ <maintainer type="person" proxied="yes"> |
42 |
+ <email>marco@×××××××××.org</email> |
43 |
+ <name>Marco Sirabella</name> |
44 |
+ </maintainer> |
45 |
+ <maintainer type="project" proxied="proxy"> |
46 |
+ <email>proxy-maint@g.o</email> |
47 |
+ <name>Proxy Maintainers</name> |
48 |
+ </maintainer> |
49 |
+ <stabilize-allarches/> |
50 |
+ <upstream> |
51 |
+ <remote-id type="github">readthedocs/sphinx-autoapi</remote-id> |
52 |
+ <remote-id type="pypi">sphinx-autoapi</remote-id> |
53 |
+ <doc>https://sphinx-autoapi.readthedocs.io</doc> |
54 |
+ <bugs-to>https://github.com/readthedocs/sphinx-autoapi/issues</bugs-to> |
55 |
+ </upstream> |
56 |
+</pkgmetadata> |
57 |
|
58 |
diff --git a/dev-python/sphinx-autoapi/sphinx-autoapi-1.8.4.ebuild b/dev-python/sphinx-autoapi/sphinx-autoapi-1.8.4.ebuild |
59 |
new file mode 100644 |
60 |
index 000000000000..2b40b485267b |
61 |
--- /dev/null |
62 |
+++ b/dev-python/sphinx-autoapi/sphinx-autoapi-1.8.4.ebuild |
63 |
@@ -0,0 +1,32 @@ |
64 |
+# Copyright 2022 Gentoo Authors |
65 |
+# Distributed under the terms of the GNU General Public License v2 |
66 |
+ |
67 |
+EAPI=8 |
68 |
+ |
69 |
+DISTUTILS_USE_PEP517=setuptools |
70 |
+PYTHON_COMPAT=( python3_{8..10} ) |
71 |
+inherit distutils-r1 |
72 |
+ |
73 |
+DESCRIPTION="A new approach to API documentation in Sphinx" |
74 |
+HOMEPAGE="https://sphinx-autoapi.readthedocs.io/" |
75 |
+SRC_URI="https://github.com/readthedocs/sphinx-autoapi/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
76 |
+# pypi lacks docs/ |
77 |
+ |
78 |
+LICENSE="MIT" |
79 |
+SLOT="0" |
80 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
81 |
+ |
82 |
+RDEPEND=" |
83 |
+ dev-python/astroid[${PYTHON_USEDEP}] |
84 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
85 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
86 |
+ dev-python/unidecode[${PYTHON_USEDEP}] |
87 |
+" |
88 |
+ |
89 |
+DOCS=( README.rst CHANGELOG.rst ) |
90 |
+ |
91 |
+# Test requires pypi download w/ internet: https://github.com/readthedocs/sphinx-autoapi/issues/329 |
92 |
+EPYTEST_DESELECT="tests/test_integration.py::TestExtensionErrors::test_extension_setup_errors[dotnetexample-override_conf2-AutoAPI" |
93 |
+ |
94 |
+distutils_enable_tests pytest |
95 |
+distutils_enable_sphinx docs --no-autodoc |