dev-python/sphinxcontrib-apidoc: initial import

Needed as doc dependency for dev-python/python-glanceclient

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2021-08-31 13:56:39 +03:00
parent 04f1cddf2e
commit 4c767944d6
3 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST sphinxcontrib-apidoc-0.3.0.tar.gz 15396 BLAKE2B de726316daa81eae1a8012c8be4acf3850f910af562d23dc17194afc86b40daf632bd5cdd61153299f35f3326b181c3b67e75925f0d95ce4cea81e1766c7828d SHA512 043f9b36eaff7b3f6d23c834dd3947e2b029c66010b3862f1658f03e0fb6c4aac3304f49465dd515a30107a685dc704a0e319675c9d7b27897445a2c315d07a1

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>arthurzam@gentoo.org</email>
<name>Arthur Zamarin</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">sphinx-contrib/apidoc</remote-id>
<remote-id type="pypi">sphinxcontrib-apidoc</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -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
}