commit: 9bf716876728169a1fc151ec3034761c124600ab
Author: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 8 18:19:19 2023 +0000
Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Fri Sep 8 18:19:19 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf71687
dev-python/pystache: refactor for upstream changes, add doc deps
Signed-off-by: Steve Arnold <nerdboy <AT> gentoo.org>
dev-python/pystache/pystache-0.6.5.ebuild | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/dev-python/pystache/pystache-0.6.5.ebuild
b/dev-python/pystache/pystache-0.6.5.ebuild
index c10cd9359cc2..3c70a630edb7 100644
--- a/dev-python/pystache/pystache-0.6.5.ebuild
+++ b/dev-python/pystache/pystache-0.6.5.ebuild
@@ -30,9 +30,23 @@ LICENSE="MIT"
SLOT="0"
BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
dev-python/pyyaml[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
+
+distutils_enable_sphinx \
+ docs/source \
+ dev-python/sphinx-rtd-theme \
+ dev-python/recommonmark \
+ dev-python/sphinxcontrib-apidoc
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+src_prepare() {
+ sed -i '/sphinx_git/d' "${S}"/setup.cfg "${S}"/docs/source/conf.py
+ default
+}