dev-python/pysvn: Replace distutils-r1 EXAMPLES use
authorDavid Seifert <soap@gentoo.org>
Fri, 20 Mar 2020 09:57:21 +0000 (10:57 +0100)
committerDavid Seifert <soap@gentoo.org>
Fri, 20 Mar 2020 09:57:21 +0000 (10:57 +0100)
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap@gentoo.org>
dev-python/pysvn/pysvn-1.8.0.ebuild
dev-python/pysvn/pysvn-1.9.11.ebuild

index e5d65aa19fa92154ddb351455729068278b285b3..f64c4e01c59c1beb8432db6f51b2582d44e3bb19 100644 (file)
@@ -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
 }
index 2e18b73b9b471f82960acce713c5943b80b48530..1f1576d73835f99c9da495acd5dd978962a8ea0d 100644 (file)
@@ -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
 }