diff options
Diffstat (limited to 'dev-python/sphinxcontrib-apidoc')
3 files changed, 42 insertions, 28 deletions
diff --git a/dev-python/sphinxcontrib-apidoc/Manifest b/dev-python/sphinxcontrib-apidoc/Manifest index 216f65995e9b..fa72b7c35663 100644 --- a/dev-python/sphinxcontrib-apidoc/Manifest +++ b/dev-python/sphinxcontrib-apidoc/Manifest @@ -1,3 +1,3 @@ DIST sphinxcontrib-apidoc-0.3.0.tar.gz 15396 BLAKE2B de726316daa81eae1a8012c8be4acf3850f910af562d23dc17194afc86b40daf632bd5cdd61153299f35f3326b181c3b67e75925f0d95ce4cea81e1766c7828d SHA512 043f9b36eaff7b3f6d23c834dd3947e2b029c66010b3862f1658f03e0fb6c4aac3304f49465dd515a30107a685dc704a0e319675c9d7b27897445a2c315d07a1 -EBUILD sphinxcontrib-apidoc-0.3.0.ebuild 667 BLAKE2B 1f874be48d40bb466a32aeadb31307d5cbf7378619d30d681a63ae352c70fc4c3e612cd6f98731dc31a923f5700c78591ef1c9df0cbffa08f94440f6120e09e5 SHA512 3e9635e530c3608dafb0555980c28b26391133f0baec06ebed559d8432d06db31aeccdd46e8c63bf3e17ef647e294236a91c207c802553cfebcfef993967b462 +EBUILD sphinxcontrib-apidoc-0.3.0-r1.ebuild 815 BLAKE2B 5be8864a1015f613e47208dfe779ff13f3c3a38e588ad3d1b0706b81cc0aef832aa7770a6eb542e913a559ba584daeee0f108597542fa7a0e4f6f5e3a814d4e4 SHA512 0c8509a1b659b7c1bd9d40807fc3d03c576b6c096469f1fbb9f9541883e64808f7277e3ceee36f979b3debca82a8f14b929f3a4319f682dfa57e4c1bcfaea328 MISC metadata.xml 419 BLAKE2B 554f4470c511dee1236a43dd21f9ee435939a55fd3e537f1520e5e957afdd6ddd20320634180f02a794e471d41fe836cb3dc008d68344231101aa9b2cae17e81 SHA512 8e4bf13e2bab7ebf14d97635bb1a66ef6d26ee6d00364c281722ffd51d1d0c1378b02844b560cd49dae9b9710ae4feef864ebb972aa0e0d9c13126ed29f2845f diff --git a/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0-r1.ebuild b/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0-r1.ebuild new file mode 100644 index 000000000000..44aa452dc052 --- /dev/null +++ b/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +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_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + distutils_write_namespace sphinxcontrib + cd "${T}" || die + epytest "${S}"/tests +} diff --git a/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0.ebuild b/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0.ebuild deleted file mode 100644 index cea7e192a03b..000000000000 --- a/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# 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 -} |