From 7efcba90bba4bc659eedfcd0bf2598fd291b5727 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Fri, 20 Mar 2020 10:55:58 +0100 Subject: [PATCH] dev-python/basemap: Replace distutils-r1 EXAMPLES use Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- dev-python/basemap/basemap-1.0.7-r2.ebuild | 6 +++++- dev-python/basemap/basemap-1.0.7-r4.ebuild | 6 +++++- 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 } -- 2.26.2