From: David Seifert Date: Fri, 20 Mar 2020 09:57:21 +0000 (+0100) Subject: dev-python/pysvn: Replace distutils-r1 EXAMPLES use X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5dcefb7b0320323d43c1090ecccdfecf9f4e7f41;p=gentoo.git dev-python/pysvn: 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/pysvn/pysvn-1.8.0.ebuild b/dev-python/pysvn/pysvn-1.8.0.ebuild index e5d65aa19fa9..f64c4e01c59c 100644 --- a/dev-python/pysvn/pysvn-1.8.0.ebuild +++ b/dev-python/pysvn/pysvn-1.8.0.ebuild @@ -54,6 +54,11 @@ python_install() { python_install_all() { use doc && local HTML_DOCS=( Docs/. ) - use examples && local EXAMPLES=( Examples/Client/. ) + if use examples; then + docinto examples + dodoc -r Examples/Client/. + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all } diff --git a/dev-python/pysvn/pysvn-1.9.11.ebuild b/dev-python/pysvn/pysvn-1.9.11.ebuild index 2e18b73b9b47..1f1576d73835 100644 --- a/dev-python/pysvn/pysvn-1.9.11.ebuild +++ b/dev-python/pysvn/pysvn-1.9.11.ebuild @@ -54,6 +54,11 @@ python_install() { python_install_all() { use doc && local HTML_DOCS=( Docs/. ) - use examples && local EXAMPLES=( Examples/Client/. ) + if use examples; then + docinto examples + dodoc -r Examples/Client/. + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all }