1 |
commit: c107dbc80a181895a413e5862ba594365d951bb5 |
2 |
Author: Ian Delaney <idella4 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 26 03:45:57 2015 +0000 |
4 |
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 26 03:47:04 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c107dbc8 |
7 |
|
8 |
dev-python/elasticsearch-py: fix to code re IUSE doc, fixes the gentoo bug |
9 |
|
10 |
ack to Andrew Wilcox for submission of the patch. Closes the bug |
11 |
|
12 |
Gentoo bug: #564108 |
13 |
|
14 |
Package-Manager: portage-2.2.23 |
15 |
|
16 |
dev-python/elasticsearch-py/elasticsearch-py-1.8.0.ebuild | 8 +++++--- |
17 |
1 file changed, 5 insertions(+), 3 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/elasticsearch-py/elasticsearch-py-1.8.0.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-1.8.0.ebuild |
20 |
index 73ae13b..482bc30 100644 |
21 |
--- a/dev-python/elasticsearch-py/elasticsearch-py-1.8.0.ebuild |
22 |
+++ b/dev-python/elasticsearch-py/elasticsearch-py-1.8.0.ebuild |
23 |
@@ -80,12 +80,14 @@ python_test() { |
24 |
|
25 |
python_compile_all() { |
26 |
cd docs || die |
27 |
- emake man $(usex doc html "") |
28 |
+ use doc && emake man html |
29 |
} |
30 |
|
31 |
python_install_all() { |
32 |
- use doc && HTML_DOCS=( docs/_build/html/. ) |
33 |
+ if use doc; then |
34 |
+ export HTML_DOCS=( docs/_build/html/. ) |
35 |
+ doman docs/_build/man/* |
36 |
+ fi |
37 |
use examples && local EXAMPLES=( example/. ) |
38 |
- doman docs/_build/man/* |
39 |
distutils-r1_python_install_all |
40 |
} |