# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/Numeric/Numeric-23.0.ebuild,v 1.4 2003/07/12 12:49:25 aliz Exp $ IUSE="" inherit distutils S=${WORKDIR}/${P} DESCRIPTION="numerical python module" SRC_URI="mirror://sourceforge/numpy/${P}.tar.gz" HOMEPAGE="http://www.pfdubois.com/numpy/" # 2.1 gave sandbox violations see #21 DEPEND=">=dev-lang/python-2.2" SLOT="0" KEYWORDS="x86 ~ppc ~sparc ~alpha" LICENSE="as-is" src_install() { distutils_src_install #grab python verision so ebuild doesn't depend on it local pv pv=$(python -V 2>&1 | sed -e 's:Python \([0-9].[0-9]\).*:\1:') #Numerical Tutorial is nice for testing and learning insinto /usr/lib/python${pv}/site-packages/NumTut doins Demo/NumTut/* }