diff options
author | 2006-03-05 23:33:48 +0000 | |
---|---|---|
committer | 2006-03-05 23:33:48 +0000 | |
commit | 989eb06e962772798056ea1e753d66452354d67f (patch) | |
tree | 6e658f403eefeb95445727af5513aa03c80b6666 /dev-python/numpy | |
parent | added numarray-1.5.1-r1 (diff) | |
download | sci-989eb06e962772798056ea1e753d66452354d67f.tar.gz sci-989eb06e962772798056ea1e753d66452354d67f.tar.bz2 sci-989eb06e962772798056ea1e753d66452354d67f.zip |
changed lapack config: added use flag. removed test for now.
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@114 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'dev-python/numpy')
-rw-r--r-- | dev-python/numpy/Manifest | 3 | ||||
-rw-r--r-- | dev-python/numpy/numpy-0.9.5.ebuild | 32 |
2 files changed, 26 insertions, 9 deletions
diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest index c6bfc30f5..a68bf0300 100644 --- a/dev-python/numpy/Manifest +++ b/dev-python/numpy/Manifest @@ -1,2 +1,3 @@ +MD5 478f0f621c59819395b4e740ee008b24 ChangeLog 430 MD5 5238e63b838e1c26ed682d2c3050cea8 files/digest-numpy-0.9.5 63 -MD5 7c579039255ec74d905ddfeeeb9636dc numpy-0.9.5.ebuild 626 +MD5 04c542ab54b370936205c9a08cab2af7 numpy-0.9.5.ebuild 1096 diff --git a/dev-python/numpy/numpy-0.9.5.ebuild b/dev-python/numpy/numpy-0.9.5.ebuild index 68e0f1223..f141ca9fe 100644 --- a/dev-python/numpy/numpy-0.9.5.ebuild +++ b/dev-python/numpy/numpy-0.9.5.ebuild @@ -8,9 +8,9 @@ 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="" + lapack? ( virtual/blas ) + lapack? ( virtual/lapack )" +IUSE="lapack" SLOT="0" KEYWORDS="~amd64 ~x86" LICENSE="BSD" @@ -18,15 +18,31 @@ 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 + # note the default are fine to use with + # blas/lapack reference and mkl. + if use lapack; then + echo "[atlas]" > site.cfg + echo "atlas_libs = lapack, blas, cblas, atlas" >> site.cfg + else + echo "[DEFAULT]" > site.cfg + echo "library_dirs =" >> site.cfg + echo "include_dirs =" >> site.cfg + echo "src_dirs =" >> site.cfg + echo "[blas_opt] =" >> site.cfg + echo "[lapack_opt] =" >> site.cfg + fi } +# he test only works after install +# to be worked out. +#src_test() { +# python -c "import numpy; numpy.test()" || \ +# die "test failed!" +#} + src_install() { distutils_src_install dodoc numpy/doc/* } + |