From: David Seifert Date: Fri, 20 Mar 2020 09:56:58 +0000 (+0100) Subject: dev-python/pycurl: Replace distutils-r1 EXAMPLES use X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f27b9b4303d7c2e0f61d0a81c7c7920e75c3e09f;p=gentoo.git dev-python/pycurl: 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/pycurl/pycurl-7.43.0.ebuild b/dev-python/pycurl/pycurl-7.43.0.ebuild index 709ce8c1f28c..6d0938ac0101 100644 --- a/dev-python/pycurl/pycurl-7.43.0.ebuild +++ b/dev-python/pycurl/pycurl-7.43.0.ebuild @@ -72,6 +72,10 @@ python_test() { python_install_all() { local HTML_DOCS=( doc/. ) - 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 }