summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-05-09 03:42:53 +0200
committerMichał Górny <mgorny@gentoo.org>2025-05-09 03:50:31 +0200
commit683650b2bcb13346405f3422bb7dc388ae551ee4 (patch)
treea0501f3ceace2d28024f9d8bf1c5e44a4c520b34
parent7bbb975c063eba56119d2d6043d1edb7efe1745a (diff)
downloadgentoo-683650b2bcb13346405f3422bb7dc388ae551ee4.tar.gz
gentoo-683650b2bcb13346405f3422bb7dc388ae551ee4.tar.bz2
gentoo-683650b2bcb13346405f3422bb7dc388ae551ee4.zip
dev-python/sphinxcontrib-apidoc: Bump to 0.6.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/sphinxcontrib-apidoc/Manifest1
-rw-r--r--dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.6.0.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/sphinxcontrib-apidoc/Manifest b/dev-python/sphinxcontrib-apidoc/Manifest
index 3a78f521f7b0..2501793ac78a 100644
--- a/dev-python/sphinxcontrib-apidoc/Manifest
+++ b/dev-python/sphinxcontrib-apidoc/Manifest
@@ -1 +1,2 @@
DIST sphinxcontrib-apidoc-0.5.0.tar.gz 16117 BLAKE2B f486cfdf2cbf74c2ac35e688671f64d7e8a8d5b30c5e932036d1dcb2c58bd32b4bfeb14680311cf3dd1345b0548b0b083a1d30a667f934c08a2c2e431bdc2cdc SHA512 36858dab0915f4aac48b2bab1aeea830e35e1e865ff5f4726df0c9f9c2917d450ed1e27b1db9d143fade09369201b1b6b72f0264e674130f62a67df494c8f646
+DIST sphinxcontrib_apidoc-0.6.0.tar.gz 16790 BLAKE2B 2b49c12eee51548ff9e700981cd9a33a922186784d03a8fda858f8f52acecfdac04c9dfbae0c1211a2d0560e6859107036f29468900c701fd8cc9dd34eb7cc7e SHA512 5bc7750d92d911e77daaa0023f8c4de00dcd68ce6fc82b0cd69fa902c3b9296605958cef0151f26537ada23aae49d76beb579a254ec0c604694f39f12f6100ae
diff --git a/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.6.0.ebuild b/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.6.0.ebuild
new file mode 100644
index 000000000000..f9840165eb25
--- /dev/null
+++ b/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.6.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+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
+}