From 5dcefb7b0320323d43c1090ecccdfecf9f4e7f41 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Fri, 20 Mar 2020 10:57:21 +0100 Subject: [PATCH] dev-python/pysvn: Replace distutils-r1 EXAMPLES use Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- dev-python/pysvn/pysvn-1.8.0.ebuild | 7 ++++++- dev-python/pysvn/pysvn-1.9.11.ebuild | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) 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 } -- 2.26.2