diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2011-01-23 17:34:31 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2011-01-23 17:34:31 +0000 |
commit | 0667250162a147aeb26466f3cd4bbf8d4faf6077 (patch) | |
tree | 9cb37ec966df6426510c15eeb6e50c215dd2b38e /dev-python/natgrid/natgrid-0.2.1.ebuild | |
parent | Ooops remove dropped option. (diff) | |
download | historical-0667250162a147aeb26466f3cd4bbf8d4faf6077.tar.gz historical-0667250162a147aeb26466f3cd4bbf8d4faf6077.tar.bz2 historical-0667250162a147aeb26466f3cd4bbf8d4faf6077.zip |
Version bump
Package-Manager: portage-2.1.9.34/cvs/Linux x86_64
Diffstat (limited to 'dev-python/natgrid/natgrid-0.2.1.ebuild')
-rw-r--r-- | dev-python/natgrid/natgrid-0.2.1.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/natgrid/natgrid-0.2.1.ebuild b/dev-python/natgrid/natgrid-0.2.1.ebuild new file mode 100644 index 000000000000..fdd150564552 --- /dev/null +++ b/dev-python/natgrid/natgrid-0.2.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/natgrid/natgrid-0.2.1.ebuild,v 1.1 2011/01/23 17:34:31 bicatali Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils + +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" +IUSE="" + +DEPEND=">=dev-python/matplotlib-0.98" +RDEPEND="${DEPEND}" + +PYTHON_MODNAME="mpl_toolkits/natgrid" + +src_install() { + distutils_src_install + + insinto /usr/share/doc/${PF} + doins test.py || die "doins failed" + + # Fix collision with dev-python/matplotlib. + delete_mpl_toolkits.__init__() { + rm -f "${ED}$(python_get_sitedir)/mpl_toolkits/__init__.py" + } + python_execute_function -q delete_mpl_toolkits.__init__ +} |