summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 7cc88846d36..80834663ad5 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
}