diff options
author | Andrey Grozin <grozin@gentoo.org> | 2016-03-02 13:27:24 +0600 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2016-03-02 13:27:24 +0600 |
commit | 149e7feec61c28a2bde72b8d1856444b06123655 (patch) | |
tree | 7de331005ee3d41c18dc0792026633332e024547 /dev-python/colorama | |
parent | dev-libs/wayland: Try to avoid maintenance mode autotools regen (diff) | |
download | gentoo-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.ebuild | 7 |
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 } |