# 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/scipy_core/trunk" ESVN_PROJECT="core" S="${WORKDIR}/$ESVN_PROJECT" # gcc must be built with USE=f77 or atlas will fail! DEPEND=">=dev-lang/python-2.3.3 >=sys-devel/gcc-3 >=sci-libs/blas-atlas-3.6.0 >=sci-libs/lapack-atlas-3.6.0 fftw? ( =sci-libs/fftw-2.1* ) wxwindows? ( >=dev-python/wxpython-2.4 )" src_unpack() { #subversion_src_unpack # scipy needs .svn directories cp -r ${ESVN_STORE_DIR}/core/trunk ${S}/ cp ${FILESDIR}/site.cfg ${S}/scipy/distutils/ } src_install() { # base class distutils_src_install # Extra docs dodoc `ls *.txt` } pkg_postinst() { # Base class distutils_pkg_postinst }