summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2016-03-02 13:27:24 +0600
committerAndrey Grozin <grozin@gentoo.org>2016-03-02 13:27:24 +0600
commit149e7feec61c28a2bde72b8d1856444b06123655 (patch)
tree7de331005ee3d41c18dc0792026633332e024547 /dev-python/colorama
parentdev-libs/wayland: Try to avoid maintenance mode autotools regen (diff)
downloadgentoo-149e7feec61c28a2bde72b8d1856444b06123655.tar.gz
gentoo-149e7feec61c28a2bde72b8d1856444b06123655.tar.bz2
gentoo-149e7feec61c28a2bde72b8d1856444b06123655.zip
dev-python/colorama: fix install with USE=examples
Bug: 575896 Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-python/colorama')
-rw-r--r--dev-python/colorama/colorama-0.3.6-r1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-python/colorama/colorama-0.3.6-r1.ebuild b/dev-python/colorama/colorama-0.3.6-r1.ebuild
index 7cc88846d36b..80834663ad5c 100644
--- a/dev-python/colorama/colorama-0.3.6-r1.ebuild
+++ b/dev-python/colorama/colorama-0.3.6-r1.ebuild
@@ -22,6 +22,11 @@ IUSE="examples"
PATCHES=( "${FILESDIR}"/${P}.patch )
python_install_all() {
- use examples && local EXAMPLES=( demos/. )
distutils-r1_python_install_all
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins -r demos/.
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
}