summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/virtualenv/virtualenv-16.7.7.ebuild')
-rw-r--r--dev-python/virtualenv/virtualenv-16.7.7.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-python/virtualenv/virtualenv-16.7.7.ebuild b/dev-python/virtualenv/virtualenv-16.7.7.ebuild
index e04ef4458d11..cb3757140702 100644
--- a/dev-python/virtualenv/virtualenv-16.7.7.ebuild
+++ b/dev-python/virtualenv/virtualenv-16.7.7.ebuild
@@ -62,7 +62,15 @@ python_check_deps() {
}
python_compile_all() {
- use doc && emake -C docs html
+ if use doc; then
+ sed -i -e 's:^intersphinx_mapping:disabled_&:' \
+ docs/conf.py || die
+
+ sphinx-build -b html -d docs/_build/doctrees docs \
+ docs/_build/html || die
+
+ HTML_DOCS+=( "docs/_build/html/." )
+ fi
}
python_install_all() {