aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2006-02-15 15:26:26 +0000
committerbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2006-02-15 15:26:26 +0000
commitef2808d8e356a66f157b984fb63ce7df323fd418 (patch)
tree81c26ca6d3fa5f59eb664485ee34b6d9d340a77e /sci-libs
parentmkl: added blas/lapack routines files for shared libs (diff)
downloadsci-ef2808d8e356a66f157b984fb63ce7df323fd418.tar.gz
sci-ef2808d8e356a66f157b984fb63ce7df323fd418.tar.bz2
sci-ef2808d8e356a66f157b984fb63ce7df323fd418.zip
scipy-0.4.4: lapack-atlas instead of virtual/lapack
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@104 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/scipy/Manifest2
-rw-r--r--sci-libs/scipy/scipy-0.4.4.ebuild17
2 files changed, 16 insertions, 3 deletions
diff --git a/sci-libs/scipy/Manifest b/sci-libs/scipy/Manifest
index c83934456..18fcef76f 100644
--- a/sci-libs/scipy/Manifest
+++ b/sci-libs/scipy/Manifest
@@ -1,4 +1,4 @@
MD5 905b6ba15324c6c0733a99ced6995e40 ChangeLog 563
MD5 a949de96fef5b6758302142a51404cce files/digest-scipy-0.4.4 64
MD5 51dd57e78f009510e5b3a8384723e22d metadata.xml 686
-MD5 395b232c3ab82b062abb9d64aa9fe25d scipy-0.4.4.ebuild 912
+MD5 6ee78283245d2fa4de4a4065a6058e3e scipy-0.4.4.ebuild 1389
diff --git a/sci-libs/scipy/scipy-0.4.4.ebuild b/sci-libs/scipy/scipy-0.4.4.ebuild
index dcba7b5ca..dc4694ba9 100644
--- a/sci-libs/scipy/scipy-0.4.4.ebuild
+++ b/sci-libs/scipy/scipy-0.4.4.ebuild
@@ -13,11 +13,11 @@ SLOT="0"
IUSE="fftw"
KEYWORDS="~x86"
#keyworded to x86 only because of numpy
-
+#could use any lapack, but it seems that lapack-atlas provides non-f2c clapack routines
RDEPEND=">=dev-lang/python-2.3.3
>=dev-python/numpy-0.9.2
virtual/blas
- virtual/lapack
+ sci-libs/lapack-atlas
fftw? ( =sci-libs/fftw-2.1* )"
# install doc claims fftw-2 is faster for complex ffts.
@@ -28,8 +28,21 @@ RDEPEND=">=dev-lang/python-2.3.3
FORTRAN="g77"
DEPEND="${RDEPEND}
+ app-admin/eselect
=sys-devel/gcc-3*"
+pkg_setup() {
+ if [ -z "$(/usr/bin/eselect lapack show | grep ATLAS)" ]; then
+ eerror "You need to set lapack-atlas to use this version of scipy"
+ einfo "Please run:"
+ einfo "\teselect lapack set ATLAS"
+ einfo "or, if you have the threaded version:"
+ einfo "\teselect lapack set threaded-ATLAS"
+ einfo "And re-emerge scipy"
+ die "setup failed"
+ fi
+}
+
src_test() {
einfo "Testing installation ..."
python -c "import scipy; scipy.test(level=1)" || \