From 2d4f22bcb172e5e50d9316a44885be4f0d93420d Mon Sep 17 00:00:00 2001 From: David Seifert Date: Fri, 20 Mar 2020 10:57:15 +0100 Subject: [PATCH] dev-python/pymtp: Replace distutils-r1 EXAMPLES use Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- dev-python/pymtp/pymtp-0.0.6.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 } -- 2.26.2