summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-04-21 16:06:40 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-04-21 16:06:40 +0000
commitbcfeb4305e43ca2a77708e5e1eeffdbc33f56337 (patch)
tree9d5f27abc6cbd10ca513c98acf76526442c3541b /sci-libs/scipy
parentMove pkgconfig from RDEPEND to DEPEND. Use toolchain-funcs for CC. (diff)
downloadhistorical-bcfeb4305e43ca2a77708e5e1eeffdbc33f56337.tar.gz
historical-bcfeb4305e43ca2a77708e5e1eeffdbc33f56337.tar.bz2
historical-bcfeb4305e43ca2a77708e5e1eeffdbc33f56337.zip
Removed buggy versions
Package-Manager: portage-2.1.5_rc4
Diffstat (limited to 'sci-libs/scipy')
-rw-r--r--sci-libs/scipy/ChangeLog10
-rw-r--r--sci-libs/scipy/Manifest13
-rw-r--r--sci-libs/scipy/files/scipy-0.6.0-clapack-symbol-fix.patch102
-rw-r--r--sci-libs/scipy/scipy-0.5.2.ebuild101
-rw-r--r--sci-libs/scipy/scipy-0.6.0-r2.ebuild128
-rw-r--r--sci-libs/scipy/scipy-0.6.0-r3.ebuild126
6 files changed, 11 insertions, 469 deletions
diff --git a/sci-libs/scipy/ChangeLog b/sci-libs/scipy/ChangeLog
index 87bf689cb0a0..cf4a1a5fa8f4 100644
--- a/sci-libs/scipy/ChangeLog
+++ b/sci-libs/scipy/ChangeLog
@@ -1,11 +1,15 @@
# ChangeLog for sci-libs/scipy
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/ChangeLog,v 1.29 2008/04/17 00:43:14 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/ChangeLog,v 1.30 2008/04/21 16:06:39 bicatali Exp $
+
+ 21 Apr 2008; Sébastien Fabbro <bicatali@gentoo.org>
+ -files/scipy-0.6.0-clapack-symbol-fix.patch, -scipy-0.5.2.ebuild,
+ -scipy-0.6.0-r2.ebuild, -scipy-0.6.0-r3.ebuild:
+ Removed buggy versions
17 Apr 2008; Sébastien Fabbro <bicatali@gentoo.org>
scipy-0.6.0-r4.ebuild:
- Put append-ldflags in pkg_setup and make it available always (bug #
- 217914)
+ Put append-ldflags in pkg_setup and make it available always (bug #217914)
26 Mar 2008; Markus Rothe <corsair@gentoo.org> scipy-0.6.0-r4.ebuild:
Added ~ppc64; bug #211791
diff --git a/sci-libs/scipy/Manifest b/sci-libs/scipy/Manifest
index ecfe1919d854..857b6ed8860a 100644
--- a/sci-libs/scipy/Manifest
+++ b/sci-libs/scipy/Manifest
@@ -2,22 +2,17 @@
Hash: SHA1
AUX scipy-0.6.0-cdf.patch 1200 RMD160 1656a3836925c869c06ecdd93e7e861fe2c4781d SHA1 13ca2f1e25ff6a32210b5399998c96da339e70df SHA256 0c45106a3b20d63af992630a7959c7bca772ccdff48d8caef98b76377420a9ca
-AUX scipy-0.6.0-clapack-symbol-fix.patch 5742 RMD160 03797236f84132614eb419d0350d75ec01cd4673 SHA1 97f9eb68623cae9e790a9516ea458a369aa9dea5 SHA256 7895d03d8c9af765cdc3d66fde3970da87751845ab600aa53fe1d6f485fb5642
AUX scipy-0.6.0-fftw-fix.patch 535 RMD160 3a42973062b6b5834596ffd16ffccedb4ddc0818 SHA1 f472a8b4461b60b23226044d0096143b67c765e1 SHA256 2af135be8c16538d59e5e65743dc2a0d6408d7ea18affc5be2b3c766a1afd752
AUX scipy-0.6.0-ndimage.patch 782 RMD160 6f8fe88b8229d56340d8ff24d90e311ab1a934ea SHA1 7ccf18c48bad2a6489c8c5ae03bdb2667af19a0f SHA256 ec98e4ca10f1fe569833aa1f87ea05c71d7c43ea19563626f010c113fd24b30f
AUX scipy-0.6.0-randomkit.patch 15283 RMD160 d59f0cfc56aa80c516ee48c82392c0e3db4b03f0 SHA1 90b4b64a4ecf28dfc418ad318c175221aa9aa8ab SHA256 6bf246b9393acf1183a0702dc0e752cbc8905ac1b94d5823cc4c76d6ae4b9a85
-DIST scipy-0.5.2.tar.gz 6362164 RMD160 fa945185df7fc48e03bafdddeaaea72a8eb4914d SHA1 879cfdbb2b2f7a8616737f828cd01790d222a636 SHA256 38e42155d3445699f28c36facdaa82200d8e017b4ca608f95f6d928065dc03ed
DIST scipy-0.6.0.tar.gz 6572954 RMD160 391f2067f7dcc133e7e8622df93a2a0cd5ebbe5b SHA1 65eff3e245f59b2af9adc70fad11daa40f0ba3e0 SHA256 5f70390963fb4e3ae8cf5effa301c160ef68c791098e2ea95b99380e298eac4f
-EBUILD scipy-0.5.2.ebuild 2290 RMD160 195b7e4a0a7012b2abdf5dd41d850fa017a22d09 SHA1 134f2fb73fbdac7059ded08833c980a38de3c5d0 SHA256 2da67d20e5c0b6bbd05df9d5c6fb267b4d070ff91fd9ab421444ca9b0626d953
-EBUILD scipy-0.6.0-r2.ebuild 3342 RMD160 c08cc763f9bbdd23e1d57b82070867f47da46ad1 SHA1 76802589ed07688f8fe375d440eabf5a48211dc6 SHA256 843732c831634b98cf4cfc21393b282c76d50331e2a980eb1391baa342ba9aed
-EBUILD scipy-0.6.0-r3.ebuild 3308 RMD160 916c6d9be7ada1c831d891534466be4831a6e8df SHA1 c0b4e99245117f51384915b225a74f11fd2a60de SHA256 2f7fb9d1c1a98db309ae7c70fae7bbeb69f8608744c17357da05918b006b39ed
EBUILD scipy-0.6.0-r4.ebuild 3321 RMD160 9dc821430e264571d9577fd599433c6962e2f8b0 SHA1 28bb767de99bf21c12bf21043cebca7483f29a34 SHA256 4cad658900f8481f8ab60c45d6e8bbe3b712d0b406da3d451d892c0277ef89e0
-MISC ChangeLog 6755 RMD160 39dcbf918cec102c71baa6306b53750d120c77f7 SHA1 9cca262bcd438ac9ef2353123b1d2ce1934cfc67 SHA256 2cae8f8ed6156f850b50fd65db5e9d5e6a0f65e1f84a8d00901667ab0c8d1949
+MISC ChangeLog 6951 RMD160 f397698820437f37f051a8d3dfe1c23aa6fdbc4a SHA1 c0ae02f8d3755a6c5b307deb00e70317fd8c7ca9 SHA256 c00af45a5bc2bd7655b0b90e3a9c3aec944a3cdfbdeddc5a51d14b79a898c60a
MISC metadata.xml 577 RMD160 c9ddccf05c22b5460372ef1c47a91e3441ec6480 SHA1 fb55340f9fbf7877f5874cabcfbac9ea19f849bd SHA256 768246bd968275941fcf6cb3b9d084fdc45a2ab10d257709f644fe87c69c3b88
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFIBp0x1ycZbhPLE2ARArL1AJ9yUoK15SrGf1S2VNtLW7tq6pE/dwCdHpEf
-MOOjOhd3Gv80vGI8tloCQKo=
-=mOI/
+iD8DBQFIDLuY1ycZbhPLE2ARAo9gAJ0QQxQE8JDVtJdwfqOC7ZzLA1lizwCfU4d3
+h19w826mGZbWQS9i9YLMGT0=
+=n4FZ
-----END PGP SIGNATURE-----
diff --git a/sci-libs/scipy/files/scipy-0.6.0-clapack-symbol-fix.patch b/sci-libs/scipy/files/scipy-0.6.0-clapack-symbol-fix.patch
deleted file mode 100644
index ff2d521363d2..000000000000
--- a/sci-libs/scipy/files/scipy-0.6.0-clapack-symbol-fix.patch
+++ /dev/null
@@ -1,102 +0,0 @@
-diff -Naur scipy-0.6.0/scipy/linalg/generic_clapack.pyf scipy-0.6.0-new/scipy/linalg/generic_clapack.pyf
---- scipy-0.6.0/scipy/linalg/generic_clapack.pyf 2007-09-22 03:56:25.000000000 -0400
-+++ scipy-0.6.0-new/scipy/linalg/generic_clapack.pyf 2007-10-13 10:13:53.000000000 -0400
-@@ -20,7 +20,7 @@
- ! U is unit upper diagonal triangular, L is lower triangular,
- ! piv pivots columns.
-
-- fortranname clapack_<tchar=s,d,c,z>gesv
-+ fortranname <tchar=s,d,c,z>gesv_
- integer intent(c,hide) :: <tchar=s,d,c,z>gesv
- callstatement <tchar=s,d,c,z>gesv_return_value = info = (*f2py_func)(102-rowmajor,n,nrhs,a,n,piv,b,n)
- callprotoargument const int,const int,const int,<type_in_c>*,const int,int*,<type_in_c>*,const int
-@@ -44,7 +44,7 @@
- ! Compute an LU factorization of a general M-by-N matrix A.
- ! A * P = L * U
- threadsafe
-- fortranname clapack_<tchar=s,d,c,z>getrf
-+ fortranname <tchar=s,d,c,z>getrf_
- integer intent(c,hide) :: <tchar=s,d,c,z>getrf
- callstatement <tchar=s,d,c,z>getrf_return_value = info = (*f2py_func)(102-rowmajor,m,n,a,(rowmajor?n:m),piv)
- callprotoargument const int,const int,const int,<type_in_c>*,const int,int*
-@@ -67,7 +67,7 @@
- ! Solve A^H * X = B if trans=2
- ! A * P = L * U
-
-- fortranname clapack_<tchar=s,d,c,z>getrs
-+ fortranname <tchar=s,d,c,z>getrs_
- integer intent(c,hide) :: <tchar=s,d,c,z>getrs
- callstatement <tchar=s,d,c,z>getrs_return_value = info = (*f2py_func)(102-rowmajor,111+trans,n,nrhs,lu,n,piv,b,n)
- callprotoargument const int,const int,const int,const int,<type_in_c>*,const int,int*,<type_in_c>*,const int
-@@ -91,7 +91,7 @@
- ! Find A inverse A^-1.
- ! A * P = L * U
-
-- fortranname clapack_<tchar=s,d,c,z>getri
-+ fortranname <tchar=s,d,c,z>getri_
- integer intent(c,hide) :: <tchar=s,d,c,z>getri
- callstatement <tchar=s,d,c,z>getri_return_value = info = (*f2py_func)(102-rowmajor,n,lu,n,piv)
- callprotoargument const int,const int,<type_in_c>*,const int,const int*
-@@ -115,7 +115,7 @@
- ! A = L * L^T, C = L if lower = 1
- ! C is triangular matrix of the corresponding Cholesky decomposition.
-
-- fortranname clapack_<tchar=s,d,c,z>posv
-+ fortranname <tchar=s,d,c,z>posv_
- integer intent(c,hide) :: <tchar=s,d,c,z>posv
- callstatement <tchar=s,d,c,z>posv_return_value = info = (*f2py_func)(102-rowmajor,121+lower,n,nrhs,a,n,b,n)
- callprotoargument const int,const int,const int,const int,<type_in_c>*,const int,<type_in_c>*,const int
-@@ -142,7 +142,7 @@
- ! C is triangular matrix of the corresponding Cholesky decomposition.
- ! clean==1 zeros strictly lower or upper parts of U or L, respectively
-
-- fortranname clapack_<tchar=s,d>potrf
-+ fortranname <tchar=s,d>potrf_
- integer intent(c,hide) :: <tchar=s,d>potrf
- callstatement <tchar=s,d>potrf_return_value = info = (*f2py_func)(102-rowmajor,121+lower,n,a,n); if(clean){int i,j;if(lower){for(i=0;i<n;++i) for(j=i+1;j<n;++j) *(a+i*n+j)=0.0;} else {for(i=0;i<n;++i) for(j=i+1;j<n;++j) *(a+j*n+i)=0.0;}}
- callprotoargument const int,const int,const int,<type_in_c>*,const int
-@@ -167,7 +167,7 @@
- ! C is triangular matrix of the corresponding Cholesky decomposition.
- ! clean==1 zeros strictly lower or upper parts of U or L, respectively
-
-- fortranname clapack_<tchar=c,z>potrf
-+ fortranname <tchar=c,z>potrf_
- integer intent(c,hide) :: <tchar=c,z>potrf
- callstatement <tchar=c,z>potrf_return_value = info = (*f2py_func)(102-rowmajor,121+lower,n,a,n); if(clean){int i,j,k;if(lower){for(i=0;i<n;++i) for(j=i+1;j<n;++j) {k=i*n+j;(a+k)->r=(a+k)->i=0.0;}} else {for(i=0;i<n;++i) for(j=i+1;j<n;++j) {k=j*n+i;(a+k)->r=(a+k)->i=0.0;}}}
- callprotoargument const int,const int,const int,<type_in_c>*,const int
-@@ -193,7 +193,7 @@
- ! A = L * L^T, C = L if lower = 1
- ! C is triangular matrix of the corresponding Cholesky decomposition.
-
-- fortranname clapack_<tchar=s,d,c,z>potrs
-+ fortranname <tchar=s,d,c,z>potrs_
- integer intent(c,hide) :: <tchar=s,d,c,z>potrs
- callstatement <tchar=s,d,c,z>potrs_return_value = info = (*f2py_func)(102-rowmajor,121+lower,n,nrhs,c,n,b,n)
- callprotoargument const int,const int,const int,const int,<type_in_c>*,const int,<type_in_c>*,const int
-@@ -219,7 +219,7 @@
- ! A = L * L^T, C = L if lower = 1
- ! C is triangular matrix of the corresponding Cholesky decomposition.
-
-- fortranname clapack_<tchar=s,d,c,z>potri
-+ fortranname <tchar=s,d,c,z>potri_
- integer intent(c,hide) :: <tchar=s,d,c,z>potri
- callstatement <tchar=s,d,c,z>potri_return_value = info = (*f2py_func)(102-rowmajor,121+lower,n,c,n)
- callprotoargument const int,const int,const int,<type_in_c>*,const int
-@@ -243,7 +243,7 @@
- ! L * L^T, C = L if lower = 1
- ! C is triangular matrix of the corresponding Cholesky decomposition.
-
-- fortranname clapack_<tchar=s,d,c,z>lauum
-+ fortranname <tchar=s,d,c,z>lauum_
- integer intent(c,hide) :: <tchar=s,d,c,z>lauum
- callstatement <tchar=s,d,c,z>lauum_return_value = info = (*f2py_func)(102-rowmajor,121+lower,n,c,n)
- callprotoargument const int,const int,const int,<type_in_c>*,const int
-@@ -267,7 +267,7 @@
- ! C is non-unit triangular matrix if unitdiag = 0
- ! C is unit triangular matrix if unitdiag = 1
-
-- fortranname clapack_<tchar=s,d,c,z>trtri
-+ fortranname <tchar=s,d,c,z>trtri_
- integer intent(c,hide) :: <tchar=s,d,c,z>trtri
- callstatement <tchar=s,d,c,z>trtri_return_value = info = (*f2py_func)(102-rowmajor,121+lower,131+unitdiag,n,c,n)
- callprotoargument const int,const int,const int,const int,<type_in_c>*,const int
diff --git a/sci-libs/scipy/scipy-0.5.2.ebuild b/sci-libs/scipy/scipy-0.5.2.ebuild
deleted file mode 100644
index 00856bf72100..000000000000
--- a/sci-libs/scipy/scipy-0.5.2.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/scipy-0.5.2.ebuild,v 1.1 2007/01/31 09:03:43 nerdboy Exp $
-
-inherit distutils fortran
-
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-DESCRIPTION="Open source scientific tools for Python"
-HOMEPAGE="http://www.scipy.org/"
-LICENSE="BSD"
-
-SLOT="0"
-IUSE="fftw"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-
-# doc says scipy needs to compile all libraries with the same compiler
-RDEPEND=">=dev-lang/python-2.3.3
- >=dev-python/numpy-1.0
- virtual/blas
- virtual/lapack
- fftw? ( sci-libs/fftw )"
-
-DEPEND="${RDEPEND}"
-
-# install doc claims fftw-2 is faster for complex ffts.
-# wxwindows seems to have disapeared : ?
-# f2py seems to be in numpy.
-
-FORTRAN="g77 gfortran"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- echo "[atlas]" > site.cfg
- echo "include_dirs = /usr/include/atlas" >> site.cfg
- echo -n "library_dirs = /usr/$(get_libdir)/lapack:/usr/$(get_libdir):" \
- >> site.cfg
- if [ -d "/usr/$(get_libdir)/blas/threaded-atlas" ]; then
- echo "/usr/$(get_libdir)/blas/threaded-atlas" >> site.cfg
- echo "atlas_libs = lapack, blas, cblas, atlas, pthread" >> site.cfg
- else
- echo "/usr/$(get_libdir)/blas/atlas" >> site.cfg
- echo "atlas_libs = lapack, blas, cblas, atlas" >> site.cfg
- fi
-
- export FFTW3=None
- if use fftw; then
- echo "[fftw] " >> site.cfg
- echo "fftw_libs = rfftw, fftw" >> site.cfg
- echo "fftw_opt_libs = rfftw_threads, fftw_threads" >> site.cfg
- else
- export FFTW=None
- fi
-}
-
-src_compile() {
- # Map compilers to what scipy calls them
- local SCIPY_FC
- case "${FORTRANC}" in
- gfortran)
- SCIPY_FC="gnu95"
- ;;
- g77)
- SCIPY_FC="gnu"
- ;;
- g95)
- SCIPY_FC="g95"
- ;;
- ifc|ifort)
- if use ia64; then
- SCIPY_FC="intele"
- else
- SCIPY_FC="intel"
- fi
- ;;
- *)
- local msg="Invalid Fortran compiler \'${FORTRANC}\'"
- eerror "${msg}"
- die "${msg}"
- ;;
- esac
-
- # http://projects.scipy.org/scipy/numpy/ticket/182
- # Can't set LDFLAGS
- unset LDFLAGS
-
- # need to build with -fPIC (bug #149153)
- export F77LFLAGS="${F77LFLAGS} -fPIC"
-
- distutils_src_compile \
- config_fc \
- --fcompiler=${SCIPY_FC} \
- --opt="${CFLAGS}" \
- || die "compilation failed"
-}
-
-src_install() {
- distutils_src_install
- dodoc *.txt
-}
diff --git a/sci-libs/scipy/scipy-0.6.0-r2.ebuild b/sci-libs/scipy/scipy-0.6.0-r2.ebuild
deleted file mode 100644
index 2813e1abd714..000000000000
--- a/sci-libs/scipy/scipy-0.6.0-r2.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/scipy-0.6.0-r2.ebuild,v 1.1 2007/10/18 14:17:10 markusle Exp $
-
-NEED_PYTHON=2.3
-
-inherit eutils distutils fortran
-
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="http://www.scipy.org/"
-LICENSE="BSD"
-
-SLOT="0"
-
-IUSE="fftw umfpack sandbox"
-
-KEYWORDS="~amd64 ~ppc ~x86"
-
-DEPEND=">=dev-python/numpy-1.0.3.1
- virtual/lapack
- fftw? ( =sci-libs/fftw-2.1* )
- umfpack? ( sci-libs/umfpack dev-lang/swig )
- sandbox? ( >=sci-libs/netcdf-3.6 x11-libs/libX11 )"
-
-RDEPEND=">=dev-python/numpy-1.0.3.1
- dev-python/imaging
- virtual/lapack
- fftw? ( =sci-libs/fftw-2.1* )
- umfpack? ( sci-libs/umfpack )
- sandbox? ( >=sci-libs/netcdf-3.6 x11-libs/libX11 )"
-
-# test still buggy on lapack with 2 failures on check_syevr
-# (lapack float). check every version bump.
-RESTRICT="test"
-
-DOCS="THANKS.txt DEVELOPERS.txt LATEST.txt TOCHANGE.txt FORMAT_GUIDELINES.txt"
-
-scipy_fortran_setup() {
- FORTRAN="gfortran g77 ifc"
- fortran_pkg_setup
- local fc=
- case ${FORTRANC} in
- gfortran) fc=gnu95 ;;
- g77) fc=gnu ;;
- ifc|ifort)
- if use ia64; then
- fc=intele
- elif use amd64; then
- fc=intelem
- else
- fc=intel
- fi
- ;;
- *) eerror "Unknown fortran compiler: ${FORTRANC}"
- die "scipy_fortran_setup failed" ;;
- esac
-
- # when fortran flags are set, pic is removed.
- use amd64 && [[ -n ${FFLAGS} ]] && FFLAGS="${FFLAGS} -fPIC"
- export SCIPY_FCONFIG="config_fc --fcompiler=${fc}"
-}
-
-# see numpy ebuild about unsetting LDFLAGS
-LDFLAGS_sav="${LDFLAGS}"
-unset LDFLAGS
-
-pkg_setup() {
- [[ -n ${LDFLAGS_sav} ]] && einfo "Ignoring LDFLAGS=${LDFLAGS_sav}"
- if use umfpack && ! built_with_use dev-lang/swig python; then
- eerror "With umfpack enabled you need"
- eerror "dev-lang/swig with python enabled"
- einfo "Please re-emerge swig with USE=python"
- die "needs swig with python"
- fi
- # scipy automatically detects libraries by default
- export FFTW=None FFTW3=None UMFPACK=None DJBFFT=None
- use fftw && unset FFTW
- use umfpack && unset UMFPACK
- use sandbox && elog "Warning: using sandbox modules at your own risk!"
- scipy_fortran_setup
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-randomkit.patch
- epatch "${FILESDIR}"/${P}-cdf.patch
- epatch "${FILESDIR}"/${P}-fftw-fix.patch
- epatch "${FILESDIR}"/${P}-clapack-symbol-fix.patch
-
- if use sandbox; then
- cd scipy/sandbox
- ls -1 */__init__.py \
- | sed -e 's:/__init__.py::' \
- | grep -v exmplpackage \
- > enabled_packages.txt \
- || die "sandbox listing failed"
- fi
-}
-
-src_compile() {
- distutils_src_compile ${SCIPY_FCONFIG}
-}
-
-src_test() {
- "${python}" setup.py install \
- --home="${S}"/test \
- --no-compile \
- ${SCIPY_FCONFIG} || die "install test failed"
- pushd "${S}"/test/lib*/python
- PYTHONPATH=. "${python}" -c \
- "import scipy as s;import sys;sys.exit(s.test(10,3))" \
- 2>&1 | tee test.log
- grep -q OK test.log || die "test failed"
- popd
- rm -rf test
-}
-
-src_install() {
- distutils_src_install ${SCIPY_FCONFIG}
-}
-
-pkg_postinst() {
- elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
- elog "to your prefered image viewer if you don't like the default one. Ex:"
- elog "\t echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
-}
diff --git a/sci-libs/scipy/scipy-0.6.0-r3.ebuild b/sci-libs/scipy/scipy-0.6.0-r3.ebuild
deleted file mode 100644
index 5d8c88fae284..000000000000
--- a/sci-libs/scipy/scipy-0.6.0-r3.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/scipy-0.6.0-r3.ebuild,v 1.1 2007/12/17 12:28:19 bicatali Exp $
-
-NEED_PYTHON=2.3
-
-inherit eutils distutils fortran flag-o-matic
-
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="http://www.scipy.org/"
-LICENSE="BSD"
-
-SLOT="0"
-
-IUSE="fftw umfpack sandbox"
-
-KEYWORDS="~amd64 ~ppc ~x86"
-
-DEPEND=">=dev-python/numpy-1.0.3.1
- virtual/lapack
- fftw? ( =sci-libs/fftw-2.1* )
- umfpack? ( sci-libs/umfpack dev-lang/swig )
- sandbox? ( >=sci-libs/netcdf-3.6 x11-libs/libX11 )"
-
-RDEPEND=">=dev-python/numpy-1.0.3.1
- dev-python/imaging
- virtual/lapack
- fftw? ( =sci-libs/fftw-2.1* )
- umfpack? ( sci-libs/umfpack )
- sandbox? ( >=sci-libs/netcdf-3.6 x11-libs/libX11 )"
-
-# test still buggy on lapack with 2 failures on check_syevr
-# (lapack float). check every version bump.
-RESTRICT="test"
-
-DOCS="THANKS.txt DEVELOPERS.txt LATEST.txt TOCHANGE.txt FORMAT_GUIDELINES.txt"
-
-scipy_fortran_setup() {
- FORTRAN="gfortran g77 ifc"
- fortran_pkg_setup
- local fc=
- case ${FORTRANC} in
- gfortran) fc=gnu95 ;;
- g77) fc=gnu ;;
- ifc|ifort)
- if use ia64; then
- fc=intele
- elif use amd64; then
- fc=intelem
- else
- fc=intel
- fi
- ;;
- *) eerror "Unknown fortran compiler: ${FORTRANC}"
- die "scipy_fortran_setup failed" ;;
- esac
-
- # when fortran flags are set, pic is removed.
- use amd64 && [[ -n ${FFLAGS} ]] && FFLAGS="${FFLAGS} -fPIC"
- export SCIPY_FCONFIG="config_fc --fcompiler=${fc}"
-}
-
-# whatever LDFLAGS set will break linking
-# see progress in http://projects.scipy.org/scipy/numpy/ticket/573
-[ -n "${LDFLAGS}" ] && append-ldflags -shared
-
-pkg_setup() {
- if use umfpack && ! built_with_use dev-lang/swig python; then
- eerror "With umfpack enabled you need"
- eerror "dev-lang/swig with python enabled"
- einfo "Please re-emerge swig with USE=python"
- die "needs swig with python"
- fi
- # scipy automatically detects libraries by default
- export FFTW=None FFTW3=None UMFPACK=None DJBFFT=None
- use fftw && unset FFTW
- use umfpack && unset UMFPACK
- use sandbox && elog "Warning: using sandbox modules at your own risk!"
- scipy_fortran_setup
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-randomkit.patch
- epatch "${FILESDIR}"/${P}-cdf.patch
- epatch "${FILESDIR}"/${P}-fftw-fix.patch
-
- if use sandbox; then
- cd scipy/sandbox
- ls -1 */__init__.py \
- | sed -e 's:/__init__.py::' \
- | grep -v exmplpackage \
- > enabled_packages.txt \
- || die "sandbox listing failed"
- fi
-}
-
-src_compile() {
- distutils_src_compile ${SCIPY_FCONFIG}
-}
-
-src_test() {
- "${python}" setup.py install \
- --home="${S}"/test \
- --no-compile \
- ${SCIPY_FCONFIG} || die "install test failed"
- pushd "${S}"/test/lib*/python
- PYTHONPATH=. "${python}" -c \
- "import scipy as s;import sys;sys.exit(s.test(10,3))" \
- 2>&1 | tee test.log
- grep -q OK test.log || die "test failed"
- popd
- rm -rf test
-}
-
-src_install() {
- distutils_src_install ${SCIPY_FCONFIG}
-}
-
-pkg_postinst() {
- elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
- elog "to your prefered image viewer if you don't like the default one. Ex:"
- elog "\t echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
-}