From: Matthew Thode Date: Sat, 28 Sep 2019 17:55:31 +0000 (-0500) Subject: app-admin/glance: git sources cannot build docs (missing files) X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=5509b98d17a202b7afca820fc9c8c6b768b34753;p=gentoo.git app-admin/glance: git sources cannot build docs (missing files) Fixes: https://bugs.gentoo.org/695686 Package-Manager: Portage-2.3.69, Repoman-2.3.17 Signed-off-by: Matthew Thode --- diff --git a/app-admin/glance/glance-2019.1.9999.ebuild b/app-admin/glance/glance-2019.1.9999.ebuild index 2647706b8889..3c7b073c2f82 100644 --- a/app-admin/glance/glance-2019.1.9999.ebuild +++ b/app-admin/glance/glance-2019.1.9999.ebuild @@ -121,7 +121,9 @@ python_prepare_all() { } python_compile_all() { - use doc && "${PYTHON}" setup.py build_sphinx + if [ ! -z ${EGIT_BRANCH+x} ]; then + use doc && "${PYTHON}" setup.py build_sphinx + fi } python_install_all() {