From 149e7feec61c28a2bde72b8d1856444b06123655 Mon Sep 17 00:00:00 2001 From: Andrey Grozin Date: Wed, 2 Mar 2016 13:27:24 +0600 Subject: [PATCH] dev-python/colorama: fix install with USE=examples Bug: 575896 Package-Manager: portage-2.2.27 --- dev-python/colorama/colorama-0.3.6-r1.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-python/colorama/colorama-0.3.6-r1.ebuild b/dev-python/colorama/colorama-0.3.6-r1.ebuild index 7cc88846d36bc..80834663ad5cb 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 }