From: David Seifert Date: Fri, 20 Mar 2020 09:55:58 +0000 (+0100) Subject: dev-python/basemap: Replace distutils-r1 EXAMPLES use X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7efcba90bba4bc659eedfcd0bf2598fd291b5727;p=gentoo.git dev-python/basemap: Replace distutils-r1 EXAMPLES use Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- 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 }