From: David Seifert Date: Fri, 20 Mar 2020 09:57:30 +0000 (+0100) Subject: dev-python/restkit: Replace distutils-r1 EXAMPLES use X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a5ef1eb188701d6924e2cfa2e48a2c8da995c4cc;p=gentoo.git dev-python/restkit: 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/restkit/restkit-4.2.2.ebuild b/dev-python/restkit/restkit-4.2.2.ebuild index 3f05d766057d..ba931dd23c91 100644 --- a/dev-python/restkit/restkit-4.2.2.ebuild +++ b/dev-python/restkit/restkit-4.2.2.ebuild @@ -46,6 +46,10 @@ python_test() { python_install_all() { use cli || rm "${D}"/usr/bin/restcli* || die use doc && local HTML_DOCS=( doc/_build/html/. ) - 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 }