summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-08-31 13:56:39 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2021-09-30 20:57:20 +0300
commit4c767944d63b78ae16d2e209bed43c910104c0e2 (patch)
tree54b9c20384939805c1e5f5701ab7087ce8f6a0a5 /dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0.ebuild
parentmedia-gfx/krita: Drop 4.4.8 (r0) (diff)
downloadgentoo-4c767944d63b78ae16d2e209bed43c910104c0e2.tar.gz
gentoo-4c767944d63b78ae16d2e209bed43c910104c0e2.tar.bz2
gentoo-4c767944d63b78ae16d2e209bed43c910104c0e2.zip
dev-python/sphinxcontrib-apidoc: initial import
Needed as doc dependency for dev-python/python-glanceclient Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0.ebuild')
-rw-r--r--dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0.ebuild b/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0.ebuild
new file mode 100644
index 000000000000..cea7e192a03b
--- /dev/null
+++ b/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Sphinx extension for running sphinx-apidoc on each build"
+HOMEPAGE="https://pypi.org/project/sphinxcontrib-apidoc/ https://github.com/sphinx-contrib/apidoc"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="dev-python/pbr[${PYTHON_USEDEP}]"
+RDEPEND="${BDEPEND}
+ dev-python/sphinx[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_install_all() {
+ distutils-r1_python_install_all
+ find "${D}" -name '*.pth' -delete || die
+}