summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-03-20 10:56:04 +0100
committerDavid Seifert <soap@gentoo.org>2020-03-20 10:56:04 +0100
commit8624272ef724fd10ae7c55530a2178b32e301002 (patch)
tree7891aa3db4db96a86d2d87077744213ae4875a17 /dev-python
parentdev-python/cliff-tablib: Replace distutils-r1 EXAMPLES use (diff)
downloadgentoo-8624272ef724fd10ae7c55530a2178b32e301002.tar.gz
gentoo-8624272ef724fd10ae7c55530a2178b32e301002.tar.bz2
gentoo-8624272ef724fd10ae7c55530a2178b32e301002.zip
dev-python/colorama: Replace distutils-r1 EXAMPLES use
Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/colorama/colorama-0.3.3.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-python/colorama/colorama-0.3.3.ebuild b/dev-python/colorama/colorama-0.3.3.ebuild
index ccd957768b2d..dfc7c8015cc3 100644
--- a/dev-python/colorama/colorama-0.3.3.ebuild
+++ b/dev-python/colorama/colorama-0.3.3.ebuild
@@ -19,6 +19,11 @@ KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh spar
IUSE="examples"
python_install_all() {
- use examples && local EXAMPLES=( demos/. )
+ if use examples; then
+ docinto examples
+ dodoc -r demos/.
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
distutils-r1_python_install_all
}