commit:     4516aa4271c404818e2cb8faad66c21e4d0e3e10
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 16 21:56:34 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Dec 16 21:56:34 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4516aa42

dev-python/jaraco-packaging: fix possible bug in docs building

Fix by Louis Sautier.

Closes: https://bugs.gentoo.org/641248
Package-Manager: Portage-2.3.19_p1, Repoman-2.3.6_p35

 dev-python/jaraco-packaging/jaraco-packaging-4.1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/jaraco-packaging/jaraco-packaging-4.1.ebuild 
b/dev-python/jaraco-packaging/jaraco-packaging-4.1.ebuild
index f9135cf1a8f..8b47400689a 100644
--- a/dev-python/jaraco-packaging/jaraco-packaging-4.1.ebuild
+++ b/dev-python/jaraco-packaging/jaraco-packaging-4.1.ebuild
@@ -35,8 +35,9 @@ S="${WORKDIR}/${MY_PN}-${PV}"
 
 python_compile_all() {
        if use doc; then
-               sphinx-build docs html || die "docs failed to build"
-               HTML_DOCS=( html/. )
+               cd docs || die
+               sphinx-build . _build/html || die
+               HTML_DOCS=( docs/_build/html/. )
        fi
 }
 

Reply via email to