blob: e9e4b80ba0fec158a94d3374b2a70efb70e335bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/natgrid/natgrid-0.1.ebuild,v 1.3 2010/07/23 23:27:30 arfrever 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__
}
|