dev-python/basemap: Replace distutils-r1 EXAMPLES use
authorDavid Seifert <soap@gentoo.org>
Fri, 20 Mar 2020 09:55:58 +0000 (10:55 +0100)
committerDavid Seifert <soap@gentoo.org>
Fri, 20 Mar 2020 09:55:58 +0000 (10:55 +0100)
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap@gentoo.org>
dev-python/basemap/basemap-1.0.7-r2.ebuild
dev-python/basemap/basemap-1.0.7-r4.ebuild

index f6f4761792236e13e913348310aefaf7bdbb7220..c724c56e44f3364f632fc03b71baa1d264b920d9 100644 (file)
@@ -72,6 +72,10 @@ python_install() {
 }
 
 python_install_all() {
-       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
 }
index 38c0bfb4645e205d4ca8d205147e542937d2ec68..fb4ab98b22bf11bfd49f6651b0db1cc8ca9b06a8 100644 (file)
@@ -72,6 +72,10 @@ python_install() {
 }
 
 python_install_all() {
-       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
 }