1 |
commit: 60f03cf07d3a5a9024be52bb5a156057e58ede02 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 2 19:58:20 2016 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 2 19:58:20 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60f03cf0 |
7 |
|
8 |
dev-python/ipython: fix installation with USE=examples |
9 |
|
10 |
Bug: 578842 |
11 |
|
12 |
Package-Manager: portage-2.2.28 |
13 |
|
14 |
dev-python/ipython/ipython-4.1.2.ebuild | 6 +++++- |
15 |
1 file changed, 5 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/dev-python/ipython/ipython-4.1.2.ebuild b/dev-python/ipython/ipython-4.1.2.ebuild |
18 |
index 68dc5c2..c3c0a28 100644 |
19 |
--- a/dev-python/ipython/ipython-4.1.2.ebuild |
20 |
+++ b/dev-python/ipython/ipython-4.1.2.ebuild |
21 |
@@ -118,8 +118,12 @@ python_install() { |
22 |
|
23 |
python_install_all() { |
24 |
use doc && local HTML_DOCS=( docs/build/html/. ) |
25 |
- use examples && local EXAMPLES=( examples/. ) |
26 |
distutils-r1_python_install_all |
27 |
+ if use examples; then |
28 |
+ insinto /usr/share/doc/${PF}/examples |
29 |
+ doins -r examples/. |
30 |
+ docompress -x /usr/share/doc/${PF}/examples |
31 |
+ fi |
32 |
} |
33 |
|
34 |
pkg_postinst() { |