dev-python/colorama: Replace distutils-r1 EXAMPLES use
authorDavid Seifert <soap@gentoo.org>
Fri, 20 Mar 2020 09:56:04 +0000 (10:56 +0100)
committerDavid Seifert <soap@gentoo.org>
Fri, 20 Mar 2020 09:56:04 +0000 (10:56 +0100)
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap@gentoo.org>
dev-python/colorama/colorama-0.3.3.ebuild

index ccd957768b2d371ad96f73c956d5f6d3050a3266..dfc7c8015cc315c2ac88d11dd15f367c61477171 100644 (file)
@@ -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
 }