dev-python/natgrid: Strip mpltoolkits/__init__.py correctly
authorMichał Górny <mgorny@gentoo.org>
Sat, 17 Feb 2018 12:45:30 +0000 (13:45 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 17 Feb 2018 13:07:26 +0000 (14:07 +0100)
Closes: https://bugs.gentoo.org/647850

dev-python/natgrid/natgrid-0.2.1-r3.ebuild [moved from dev-python/natgrid/natgrid-0.2.1-r2.ebuild with 77% similarity]

similarity index 77%
rename from dev-python/natgrid/natgrid-0.2.1-r2.ebuild
rename to dev-python/natgrid/natgrid-0.2.1-r3.ebuild
index 52464d9027dd0f2a8a7d74909bdd92c732383414..692c19f46d7d9fcd5b957ee8406b4ab91bef2d09 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -26,7 +26,7 @@ python_install_all() {
 }
 
 python_install() {
-       distutils-r1_python_install
-       # Fix collision with dev-python/matplotlib.
-       rm "${D}$(python_get_sitedir)/mpl_toolkits/__init__.py" || die
+       # namespace installed by dev-python/matplotlib
+       rm "${BUILD_DIR}/lib/mpl_toolkits/__init__.py" || die
+       distutils-r1_python_install --skip-build
 }