From: David Seifert Date: Fri, 20 Mar 2020 09:56:04 +0000 (+0100) Subject: dev-python/colorama: Replace distutils-r1 EXAMPLES use X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8624272ef724fd10ae7c55530a2178b32e301002;p=gentoo.git dev-python/colorama: Replace distutils-r1 EXAMPLES use Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- 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 }