app-admin/glance: git sources cannot build docs (missing files)
authorMatthew Thode <prometheanfire@gentoo.org>
Sat, 28 Sep 2019 17:55:31 +0000 (12:55 -0500)
committerMatthew Thode <prometheanfire@gentoo.org>
Sat, 28 Sep 2019 17:55:58 +0000 (12:55 -0500)
Fixes: https://bugs.gentoo.org/695686

Package-Manager: Portage-2.3.69, Repoman-2.3.17
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
app-admin/glance/glance-2019.1.9999.ebuild

index 2647706b88892a531bcce1244258bf86cdbca30d..3c7b073c2f822dd630ce10375ae34c088a172fd7 100644 (file)
@@ -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() {