1 |
commit: 4c767944d63b78ae16d2e209bed43c910104c0e2 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 31 10:56:39 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 30 17:57:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c767944 |
7 |
|
8 |
dev-python/sphinxcontrib-apidoc: initial import |
9 |
|
10 |
Needed as doc dependency for dev-python/python-glanceclient |
11 |
|
12 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
13 |
|
14 |
dev-python/sphinxcontrib-apidoc/Manifest | 1 + |
15 |
dev-python/sphinxcontrib-apidoc/metadata.xml | 13 +++++++++++ |
16 |
.../sphinxcontrib-apidoc-0.3.0.ebuild | 27 ++++++++++++++++++++++ |
17 |
3 files changed, 41 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/sphinxcontrib-apidoc/Manifest b/dev-python/sphinxcontrib-apidoc/Manifest |
20 |
new file mode 100644 |
21 |
index 00000000000..c72ab4440d6 |
22 |
--- /dev/null |
23 |
+++ b/dev-python/sphinxcontrib-apidoc/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST sphinxcontrib-apidoc-0.3.0.tar.gz 15396 BLAKE2B de726316daa81eae1a8012c8be4acf3850f910af562d23dc17194afc86b40daf632bd5cdd61153299f35f3326b181c3b67e75925f0d95ce4cea81e1766c7828d SHA512 043f9b36eaff7b3f6d23c834dd3947e2b029c66010b3862f1658f03e0fb6c4aac3304f49465dd515a30107a685dc704a0e319675c9d7b27897445a2c315d07a1 |
26 |
|
27 |
diff --git a/dev-python/sphinxcontrib-apidoc/metadata.xml b/dev-python/sphinxcontrib-apidoc/metadata.xml |
28 |
new file mode 100644 |
29 |
index 00000000000..1a84b5db64c |
30 |
--- /dev/null |
31 |
+++ b/dev-python/sphinxcontrib-apidoc/metadata.xml |
32 |
@@ -0,0 +1,13 @@ |
33 |
+<?xml version="1.0" encoding="UTF-8"?> |
34 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
35 |
+<pkgmetadata> |
36 |
+ <maintainer type="person"> |
37 |
+ <email>arthurzam@g.o</email> |
38 |
+ <name>Arthur Zamarin</name> |
39 |
+ </maintainer> |
40 |
+ <stabilize-allarches/> |
41 |
+ <upstream> |
42 |
+ <remote-id type="github">sphinx-contrib/apidoc</remote-id> |
43 |
+ <remote-id type="pypi">sphinxcontrib-apidoc</remote-id> |
44 |
+ </upstream> |
45 |
+</pkgmetadata> |
46 |
|
47 |
diff --git a/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0.ebuild b/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0.ebuild |
48 |
new file mode 100644 |
49 |
index 00000000000..cea7e192a03 |
50 |
--- /dev/null |
51 |
+++ b/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0.ebuild |
52 |
@@ -0,0 +1,27 @@ |
53 |
+# Copyright 2021 Gentoo Authors |
54 |
+# Distributed under the terms of the GNU General Public License v2 |
55 |
+ |
56 |
+EAPI=8 |
57 |
+ |
58 |
+PYTHON_COMPAT=( python3_{8..10} ) |
59 |
+inherit distutils-r1 |
60 |
+ |
61 |
+DESCRIPTION="Sphinx extension for running sphinx-apidoc on each build" |
62 |
+HOMEPAGE="https://pypi.org/project/sphinxcontrib-apidoc/ https://github.com/sphinx-contrib/apidoc" |
63 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
64 |
+ |
65 |
+LICENSE="BSD" |
66 |
+SLOT="0" |
67 |
+KEYWORDS="~amd64 ~x86" |
68 |
+ |
69 |
+BDEPEND="dev-python/pbr[${PYTHON_USEDEP}]" |
70 |
+RDEPEND="${BDEPEND} |
71 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
72 |
+" |
73 |
+ |
74 |
+distutils_enable_tests pytest |
75 |
+ |
76 |
+python_install_all() { |
77 |
+ distutils-r1_python_install_all |
78 |
+ find "${D}" -name '*.pth' -delete || die |
79 |
+} |