summaryrefslogtreecommitdiff
path: root/dev-python/matplotlib/matplotlib-9999.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-05-22 14:49:38 +0200
committerMichał Górny <mgorny@gentoo.org>2017-05-22 16:13:03 +0200
commit740695fe6e781194299951fb442577f9184131af (patch)
tree99e77042d8fb0347124dad45eb1078309cbeba45 /dev-python/matplotlib/matplotlib-9999.ebuild
parentb6929e78b38ff4806ae4a0dd4b9743d5b473fd53 (diff)
downloadgentoo-740695fe6e781194299951fb442577f9184131af.tar.gz
gentoo-740695fe6e781194299951fb442577f9184131af.tar.bz2
gentoo-740695fe6e781194299951fb442577f9184131af.zip
dev-python/matplotlib: Update namespace support
Diffstat (limited to 'dev-python/matplotlib/matplotlib-9999.ebuild')
-rw-r--r--dev-python/matplotlib/matplotlib-9999.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-python/matplotlib/matplotlib-9999.ebuild b/dev-python/matplotlib/matplotlib-9999.ebuild
index 760ca683ccf5..0591f9c414de 100644
--- a/dev-python/matplotlib/matplotlib-9999.ebuild
+++ b/dev-python/matplotlib/matplotlib-9999.ebuild
@@ -253,6 +253,10 @@ python_test() {
python_install() {
wrap_setup distutils-r1_python_install
+
+ # mpl_toolkits namespace
+ python_moduleinto mpl_toolkits
+ python_domodule lib/mpl_toolkits/__init__.py
}
python_install_all() {
@@ -264,4 +268,6 @@ python_install_all() {
dodoc -r examples
docompress -x /usr/share/doc/${PF}/examples
fi
+
+ find "${D}" -name '*.pth' -delete || die
}