summaryrefslogtreecommitdiff
path: root/dev-python/pystache
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pystache')
-rw-r--r--dev-python/pystache/pystache-0.6.5.ebuild14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/pystache/pystache-0.6.5.ebuild b/dev-python/pystache/pystache-0.6.5.ebuild
index de2bbaed0bc6..bfdfc5ddcd6c 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
+}