dev-python/matplotlib: Update namespace support

This commit is contained in:
Michał Górny
2017-05-22 14:49:38 +02:00
parent b6929e78b3
commit 740695fe6e
2 changed files with 275 additions and 0 deletions

View File

@@ -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
}