diff options
author | Andrey Grozin <grozin@gentoo.org> | 2016-04-03 01:58:20 +0600 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2016-04-03 01:58:20 +0600 |
commit | 60f03cf07d3a5a9024be52bb5a156057e58ede02 (patch) | |
tree | e2cda1f22bd433d6928b9916d694fe4ea6f1d332 /dev-python/ipython | |
parent | Removes games eclass usage & changes desktop icon location, bug #561914 (diff) | |
download | gentoo-60f03cf07d3a5a9024be52bb5a156057e58ede02.tar.gz gentoo-60f03cf07d3a5a9024be52bb5a156057e58ede02.tar.bz2 gentoo-60f03cf07d3a5a9024be52bb5a156057e58ede02.zip |
dev-python/ipython: fix installation with USE=examples
Bug: 578842
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-python/ipython')
-rw-r--r-- | dev-python/ipython/ipython-4.1.2.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-python/ipython/ipython-4.1.2.ebuild b/dev-python/ipython/ipython-4.1.2.ebuild index 68dc5c2daf56..c3c0a2852e1a 100644 --- a/dev-python/ipython/ipython-4.1.2.ebuild +++ b/dev-python/ipython/ipython-4.1.2.ebuild @@ -118,8 +118,12 @@ python_install() { python_install_all() { use doc && local HTML_DOCS=( docs/build/html/. ) - use examples && local EXAMPLES=( examples/. ) distutils-r1_python_install_all + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r examples/. + docompress -x /usr/share/doc/${PF}/examples + fi } pkg_postinst() { |