From: David Seifert Date: Fri, 20 Mar 2020 09:57:15 +0000 (+0100) Subject: dev-python/pymtp: Replace distutils-r1 EXAMPLES use X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2d4f22bcb172e5e50d9316a44885be4f0d93420d;p=gentoo.git dev-python/pymtp: 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/pymtp/pymtp-0.0.6.ebuild b/dev-python/pymtp/pymtp-0.0.6.ebuild index 68a0ac427adc..40c2e540f304 100644 --- a/dev-python/pymtp/pymtp-0.0.6.ebuild +++ b/dev-python/pymtp/pymtp-0.0.6.ebuild @@ -23,6 +23,10 @@ DEPEND=${RDEPEND} S="${WORKDIR}"/PyMTP-${PV} python_install_all() { - use examples && local EXAMPLES=( examples/. ) + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all }