aboutsummaryrefslogtreecommitdiff
blob: 68e0f122317c68feeb9bd776e4034235aa9825c2 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit distutils

DESCRIPTION="Numpy contains a powerful N-dimensional array object for Python."
SRC_URI="mirror://sourceforge/numpy/${P}.tar.gz"
HOMEPAGE="http://numeric.scipy.org/"
DEPEND=">=dev-lang/python-2.3
	virtual/lapack
	virtual/blas"
IUSE=""
SLOT="0"
KEYWORDS="~amd64 ~x86"
LICENSE="BSD"

src_unpack() {
	unpack ${A}
	cd "${S}"

	sed -i \
		-e "s: f77blas: blas:g" \
		-e "s:'f77blas':'blas':g" \
		numpy/distutils/system_info.py
}

src_install() {
	distutils_src_install
	dodoc numpy/doc/*
}