From: David Seifert Date: Fri, 20 Mar 2020 09:57:03 +0000 (+0100) Subject: dev-python/pydns: Replace distutils-r1 EXAMPLES use X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a2becef248405eeb5667c2be43eb31f9ac871f43;p=gentoo.git dev-python/pydns: 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/pydns/pydns-2.3.6-r1.ebuild b/dev-python/pydns/pydns-2.3.6-r1.ebuild index 8d5bc650d791..39a11692e28b 100644 --- a/dev-python/pydns/pydns-2.3.6-r1.ebuild +++ b/dev-python/pydns/pydns-2.3.6-r1.ebuild @@ -42,6 +42,11 @@ python_test() { } python_install_all() { - use examples && local EXAMPLES=( ./{tests,tools}/. ) + if use examples; then + docinto examples + dodoc -r tests/. tools/. + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all }