projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d823290
)
dev-python/ipython: fix installation with USE=examples
author
Andrey Grozin
<grozin@gentoo.org>
Sat, 2 Apr 2016 19:58:20 +0000
(
01:58
+0600)
committer
Andrey Grozin
<grozin@gentoo.org>
Sat, 2 Apr 2016 19:58:20 +0000
(
01:58
+0600)
Bug: 578842
Package-Manager: portage-2.2.28
dev-python/ipython/ipython-4.1.2.ebuild
patch
|
blob
|
history
diff --git
a/dev-python/ipython/ipython-4.1.2.ebuild
b/dev-python/ipython/ipython-4.1.2.ebuild
index 68dc5c2daf561baa27e9bf74a636b55f0c3c5eba..c3c0a2852e1a30f07c7d41abf7e795045da43575 100644
(file)
--- 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() {