summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-03-20 10:55:58 +0100
committerDavid Seifert <soap@gentoo.org>2020-03-20 10:55:58 +0100
commit7efcba90bba4bc659eedfcd0bf2598fd291b5727 (patch)
treeff3ef4c04a768ea376fdd79b19ca2551e57867cf /dev-python/basemap
parentdev-python/apipkg: Replace distutils-r1 EXAMPLES use (diff)
downloadgentoo-7efcba90bba4bc659eedfcd0bf2598fd291b5727.tar.gz
gentoo-7efcba90bba4bc659eedfcd0bf2598fd291b5727.tar.bz2
gentoo-7efcba90bba4bc659eedfcd0bf2598fd291b5727.zip
dev-python/basemap: Replace distutils-r1 EXAMPLES use
Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/basemap')
-rw-r--r--dev-python/basemap/basemap-1.0.7-r2.ebuild6
-rw-r--r--dev-python/basemap/basemap-1.0.7-r4.ebuild6
2 files changed, 10 insertions, 2 deletions
diff --git a/dev-python/basemap/basemap-1.0.7-r2.ebuild b/dev-python/basemap/basemap-1.0.7-r2.ebuild
index f6f476179223..c724c56e44f3 100644
--- a/dev-python/basemap/basemap-1.0.7-r2.ebuild
+++ b/dev-python/basemap/basemap-1.0.7-r2.ebuild
@@ -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
}
diff --git a/dev-python/basemap/basemap-1.0.7-r4.ebuild b/dev-python/basemap/basemap-1.0.7-r4.ebuild
index 38c0bfb4645e..fb4ab98b22bf 100644
--- a/dev-python/basemap/basemap-1.0.7-r4.ebuild
+++ b/dev-python/basemap/basemap-1.0.7-r4.ebuild
@@ -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
}