summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-02-17 13:45:30 +0100
committerMichał Górny <mgorny@gentoo.org>2018-02-17 14:07:26 +0100
commit66f834609b1e29620d09fdc91f9388e52ddae0ef (patch)
tree6893aa531d1644bf383e1f1302159d13abb490da /dev-python/natgrid
parentsys-apps/shadow: EAPI-6 bump. (diff)
downloadgentoo-66f834609b1e29620d09fdc91f9388e52ddae0ef.tar.gz
gentoo-66f834609b1e29620d09fdc91f9388e52ddae0ef.tar.bz2
gentoo-66f834609b1e29620d09fdc91f9388e52ddae0ef.zip
dev-python/natgrid: Strip mpltoolkits/__init__.py correctly
Closes: https://bugs.gentoo.org/647850
Diffstat (limited to 'dev-python/natgrid')
-rw-r--r--dev-python/natgrid/natgrid-0.2.1-r3.ebuild (renamed from dev-python/natgrid/natgrid-0.2.1-r2.ebuild)8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-python/natgrid/natgrid-0.2.1-r2.ebuild b/dev-python/natgrid/natgrid-0.2.1-r3.ebuild
index 52464d9027dd..692c19f46d7d 100644
--- a/dev-python/natgrid/natgrid-0.2.1-r2.ebuild
+++ b/dev-python/natgrid/natgrid-0.2.1-r3.ebuild
@@ -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
}