From 5509b98d17a202b7afca820fc9c8c6b768b34753 Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Sat, 28 Sep 2019 12:55:31 -0500 Subject: [PATCH] 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 --- app-admin/glance/glance-2019.1.9999.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() { -- 2.26.2