summaryrefslogtreecommitdiff
path: root/dev-python/natgrid/natgrid-0.2.1-r2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/natgrid/natgrid-0.2.1-r2.ebuild')
-rw-r--r--dev-python/natgrid/natgrid-0.2.1-r2.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/natgrid/natgrid-0.2.1-r2.ebuild b/dev-python/natgrid/natgrid-0.2.1-r2.ebuild
new file mode 100644
index 00000000000..6302c6fdbc1
--- /dev/null
+++ b/dev-python/natgrid/natgrid-0.2.1-r2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4} )
+
+inherit distutils-r1
+
+DESCRIPTION="Matplotlib toolkit for gridding irreguraly spaced data"
+HOMEPAGE="http://matplotlib.sourceforge.net/users/toolkits.html"
+SRC_URI="mirror://sourceforge/matplotlib/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND=">=dev-python/matplotlib-0.98[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+python_install_all() {
+ insinto /usr/share/doc/${PF}
+ doins test.py || die "doins failed"
+ distutils-r1_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
+}