# Copyright 2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header$ inherit subversion inherit distutils inherit eutils SRC_URI="" DESCRIPTION="Open source scientific tools for Python" HOMEPAGE="http://www.scipy.org/" LICENSE="BSD" SLOT="0" IUSE="fftw wxwindows" KEYWORDS="~x86 amd64" RESTRICT="nomirror" ESVN_REPO_URI="http://svn.scipy.org/svn/numpy/trunk" ESVN_PROJECT="numpy" S="${WORKDIR}/$ESVN_PROJECT" # gcc must be built with USE=f77 or atlas will fail! DEPEND=">=dev-lang/python-2.3 virtual/lapack virtual/blas" src_unpack() { subversion_svn_fetch # numpy needs .svn directories cp -r ${ESVN_STORE_DIR}/numpy/trunk/* ${S}/ cd ${S} sed -i \ -e "s: f77blas: blas:g" \ -e "s:'f77blas':'blas':g" \ numpy/distutils/system_info.py #cp ${FILESDIR}/site.cfg ${S}/scipy/distutils/ } src_install() { # base class distutils_src_install # Extra docs dodoc `ls *.txt` dodoc numpy/doc/* } pkg_postinst() { # Base class distutils_pkg_postinst }