diff options
Diffstat (limited to 'dev-python/sphinxcontrib-apidoc')
-rw-r--r-- | dev-python/sphinxcontrib-apidoc/Manifest | 2 | ||||
-rw-r--r-- | dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.5.0.ebuild | 41 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/sphinxcontrib-apidoc/Manifest b/dev-python/sphinxcontrib-apidoc/Manifest index 5b31248e4de7..8bddfb85c9d1 100644 --- a/dev-python/sphinxcontrib-apidoc/Manifest +++ b/dev-python/sphinxcontrib-apidoc/Manifest @@ -1,3 +1,5 @@ DIST sphinxcontrib-apidoc-0.4.0.tar.gz 15958 BLAKE2B 9cd806eb36cd2aa35c797b35e8e699c4a918e8e3d19e36ea9d79eb73dfce301a24ee33bc647ba180283837488aa00628b4882d08c3d492b196a4f663cad26f48 SHA512 1e33fd6df91adfb65ea511fe5ee55ccff9a237488cca406f46b33a2bf8eb69b884b274e9c94bfd868fef67b2e0dfbb19f5e2d62486c54a85755a9034ca5c715c +DIST sphinxcontrib-apidoc-0.5.0.tar.gz 16117 BLAKE2B f486cfdf2cbf74c2ac35e688671f64d7e8a8d5b30c5e932036d1dcb2c58bd32b4bfeb14680311cf3dd1345b0548b0b083a1d30a667f934c08a2c2e431bdc2cdc SHA512 36858dab0915f4aac48b2bab1aeea830e35e1e865ff5f4726df0c9f9c2917d450ed1e27b1db9d143fade09369201b1b6b72f0264e674130f62a67df494c8f646 EBUILD sphinxcontrib-apidoc-0.4.0.ebuild 817 BLAKE2B 82777be0ffebd8203f9819f71854a18a480e985a30f2fad36d3f93bf0fdf5144bea75bd0698c5a076a8d50d5d6d906f0f059990f03eb016cb89431913e4d5c8b SHA512 8c21d12752296514ab3b41ad615e9ae97922bc0177961c45997aedeaf905753547f3f5712aa10741770bac50b8ed5e9868ca5b5dfab9e5daa6acbbd30d3eadf7 +EBUILD sphinxcontrib-apidoc-0.5.0.ebuild 817 BLAKE2B d0d7bd964ea39e9c6e0e18558d14d27c8f823c84447002a4b0c22048f2641b67119b45527e68b3e64bbb1f3bb8b62a06bc3c13f4195eea5be87854e39a9bd79f SHA512 0ffed8fedb744b1a1bfcbdc092627ea261a871107174f4796fbc13b792962f6af991249da85b2297692c65498c1c18066829fa721a34ec4490b39322302b23c6 MISC metadata.xml 409 BLAKE2B 4a1905b020761f1b3e3ffa69e80ca1fc04cb1e9b8fabff5bb92e8f0d95b1d1e47c5bfb337bfe61d6cd0fd5963971370c20ebc751809f218da66b0f30df6c23eb SHA512 832d5ea299a022f6cc60557f5fb433c72a83026cf3b997ca2fd43c278d86e84afdc39db12fbce0811846b44f65ed09397e0b5adcb9221f780d8c98b51b22bbd7 diff --git a/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.5.0.ebuild b/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.5.0.ebuild new file mode 100644 index 000000000000..dee8f92fc9bd --- /dev/null +++ b/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.5.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Sphinx extension for running sphinx-apidoc on each build" +HOMEPAGE=" + https://pypi.org/project/sphinxcontrib-apidoc/ + https://github.com/sphinx-contrib/apidoc/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] +" +RDEPEND=" + ${BDEPEND} + >=dev-python/sphinx-5.0.0[${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 +} |