1 |
commit: 5509b98d17a202b7afca820fc9c8c6b768b34753 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 28 17:55:31 2019 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 28 17:55:58 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5509b98d |
7 |
|
8 |
app-admin/glance: git sources cannot build docs (missing files) |
9 |
|
10 |
Fixes: https://bugs.gentoo.org/695686 |
11 |
|
12 |
Package-Manager: Portage-2.3.69, Repoman-2.3.17 |
13 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
14 |
|
15 |
app-admin/glance/glance-2019.1.9999.ebuild | 4 +++- |
16 |
1 file changed, 3 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/app-admin/glance/glance-2019.1.9999.ebuild b/app-admin/glance/glance-2019.1.9999.ebuild |
19 |
index 2647706b888..3c7b073c2f8 100644 |
20 |
--- a/app-admin/glance/glance-2019.1.9999.ebuild |
21 |
+++ b/app-admin/glance/glance-2019.1.9999.ebuild |
22 |
@@ -121,7 +121,9 @@ python_prepare_all() { |
23 |
} |
24 |
|
25 |
python_compile_all() { |
26 |
- use doc && "${PYTHON}" setup.py build_sphinx |
27 |
+ if [ ! -z ${EGIT_BRANCH+x} ]; then |
28 |
+ use doc && "${PYTHON}" setup.py build_sphinx |
29 |
+ fi |
30 |
} |
31 |
|
32 |
python_install_all() { |