diff options
author | Markus Dittrich <markusle@gentoo.org> | 2007-10-18 14:17:11 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2007-10-18 14:17:11 +0000 |
commit | aea397796f1db2b31eae77bff7316605615acdac (patch) | |
tree | 337490736257c1be84a9e7d0a03e5a8e161add44 /sci-libs | |
parent | Stable on amd64 wrt bug #196074 (diff) | |
download | historical-aea397796f1db2b31eae77bff7316605615acdac.tar.gz historical-aea397796f1db2b31eae77bff7316605615acdac.tar.bz2 historical-aea397796f1db2b31eae77bff7316605615acdac.zip |
Added new revision to fix undefined lapack symbols (see bug #195619).
Package-Manager: portage-2.1.3.13
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/acml/Manifest | 38 | ||||
-rw-r--r-- | sci-libs/scipy/ChangeLog | 9 | ||||
-rw-r--r-- | sci-libs/scipy/Manifest | 19 | ||||
-rw-r--r-- | sci-libs/scipy/files/digest-scipy-0.6.0-r2 | 3 | ||||
-rw-r--r-- | sci-libs/scipy/files/scipy-0.6.0-clapack-symbol-fix.patch | 102 | ||||
-rw-r--r-- | sci-libs/scipy/scipy-0.6.0-r2.ebuild | 128 |
6 files changed, 275 insertions, 24 deletions
diff --git a/sci-libs/acml/Manifest b/sci-libs/acml/Manifest index d9f730b93081..d72be0f0b0f5 100644 --- a/sci-libs/acml/Manifest +++ b/sci-libs/acml/Manifest @@ -19,22 +19,22 @@ DIST acml-3-6-1-gfortran-64bit.tgz 20452058 RMD160 8df00704e7ac037dcd55a9207f45d DIST acml-4-0-0-gfortran-64bit-int64.tgz 21881646 RMD160 65d3d4ca146ade1781efb43ca35c80cc85387c90 SHA1 e57ac634fe7c9a8ba82db59df572b0fa4e1d3434 SHA256 eda0b3c1350716509b1d244641200edca30faaae42c7b7b3873f573b4036f1f6 DIST acml-4-0-0-gfortran-64bit.tgz 22559682 RMD160 cd9042e882fb4e8c1f5951e8eb2880d035ab14ea SHA1 27632153f219d9659734d4079c884d5347842b10 SHA256 3a7300dd9f7a494177baddd8bc34375daf80e550f5b6edb9539ed966adb80f11 DIST acml-4-0-0-ifort-64bit.tgz 26676345 RMD160 2f4a1f14a55ac3334fd3fc045355a4fdebf2e87f SHA1 8a862389cc73d6b2975e8f2c682669f6bc1d9c3b SHA256 090f64a5fe309c6ed2ee9bcf7ae73687e0577a02da9f8ceabd4e5315fecb4769 -EBUILD acml-3.6.0-r1.ebuild 4394 RMD160 0299770f4b0a1543c48d98abab4bb3c5b98afaee SHA1 b8d6b8a44c42ad8030ab30a0f34eb328b54102d9 SHA256 d402506210946d4effdee9c3d6eaa43ec07cad0dd9ec1adef7250bd1a1c77378 -MD5 0d2ac32c10bff55da4c84f86bcb316a5 acml-3.6.0-r1.ebuild 4394 -RMD160 0299770f4b0a1543c48d98abab4bb3c5b98afaee acml-3.6.0-r1.ebuild 4394 -SHA256 d402506210946d4effdee9c3d6eaa43ec07cad0dd9ec1adef7250bd1a1c77378 acml-3.6.0-r1.ebuild 4394 -EBUILD acml-3.6.1-r1.ebuild 5147 RMD160 fad4deb56cadb9f27c450754b321f9d0462602f5 SHA1 4ff50d5b9e683f49c6dc6f97fe002776b08e8c78 SHA256 fd6de46f507d6cfa6efd077373af7bbf127598488a291b141fdd5e37032797c1 -MD5 eb036bd5bdc8c4338f2335f2cff0785b acml-3.6.1-r1.ebuild 5147 -RMD160 fad4deb56cadb9f27c450754b321f9d0462602f5 acml-3.6.1-r1.ebuild 5147 -SHA256 fd6de46f507d6cfa6efd077373af7bbf127598488a291b141fdd5e37032797c1 acml-3.6.1-r1.ebuild 5147 -EBUILD acml-4.0.0.ebuild 4830 RMD160 c9bbc5e5eadaeaeb8501b3d1f69834ccf19a9404 SHA1 f3a20515b9e8762893cb6724ce72816f183e7203 SHA256 4b00686839888c47f15283d3a926eb05a57e54f9922340dbe7426df038d3c3f9 -MD5 003ad94320ce8bfeb6f4b7c58e5b3e5f acml-4.0.0.ebuild 4830 -RMD160 c9bbc5e5eadaeaeb8501b3d1f69834ccf19a9404 acml-4.0.0.ebuild 4830 -SHA256 4b00686839888c47f15283d3a926eb05a57e54f9922340dbe7426df038d3c3f9 acml-4.0.0.ebuild 4830 -MISC ChangeLog 4970 RMD160 b143917ef05583d354c3287cd6bf6d680213a897 SHA1 630683806442fe2acdd998df7244304f6317e9c9 SHA256 1929fc61deb7988a45c125552f7dab9e34afa06ca7b1a69294b93522a740272f -MD5 c4a96c3865fc60eb4b942d9975f2f992 ChangeLog 4970 -RMD160 b143917ef05583d354c3287cd6bf6d680213a897 ChangeLog 4970 -SHA256 1929fc61deb7988a45c125552f7dab9e34afa06ca7b1a69294b93522a740272f ChangeLog 4970 +EBUILD acml-3.6.0-r1.ebuild 4420 RMD160 2eaf4205083404ae5a666c9150ba6d4f48a2ba5a SHA1 88e1da2d5bbb094617e759212a63aae7a6b5256a SHA256 8b51360f3d32db93bf55744e92bb54a858765c161c673c8b451ac6a58968c4e6 +MD5 2d99354817e653714949764a70e13930 acml-3.6.0-r1.ebuild 4420 +RMD160 2eaf4205083404ae5a666c9150ba6d4f48a2ba5a acml-3.6.0-r1.ebuild 4420 +SHA256 8b51360f3d32db93bf55744e92bb54a858765c161c673c8b451ac6a58968c4e6 acml-3.6.0-r1.ebuild 4420 +EBUILD acml-3.6.1-r1.ebuild 5173 RMD160 f271dceb6a13a6c225ed68c8e9e58af3fc2c237d SHA1 656adf0e0099bcdc6bb10034966ca78f60ac2bec SHA256 f4837717b5f843538b4ec6a56433ecedcfe0fe9ea5d642de38fe558b5772b7cc +MD5 3377efe881420c1d745d48b1ce5f202c acml-3.6.1-r1.ebuild 5173 +RMD160 f271dceb6a13a6c225ed68c8e9e58af3fc2c237d acml-3.6.1-r1.ebuild 5173 +SHA256 f4837717b5f843538b4ec6a56433ecedcfe0fe9ea5d642de38fe558b5772b7cc acml-3.6.1-r1.ebuild 5173 +EBUILD acml-4.0.0.ebuild 4856 RMD160 0bb297f1d7caf01ff8aebb6a5e2abcacad32e714 SHA1 bf45dd39e2ac21cd3251f2ce70288c5cf7e0a7d9 SHA256 3ce6ddfca6734cf5826f97e507311d03b29dabfe8666efb46f3359271f85d1c0 +MD5 0484f5fc0ca4c8387b5018350b4cbe53 acml-4.0.0.ebuild 4856 +RMD160 0bb297f1d7caf01ff8aebb6a5e2abcacad32e714 acml-4.0.0.ebuild 4856 +SHA256 3ce6ddfca6734cf5826f97e507311d03b29dabfe8666efb46f3359271f85d1c0 acml-4.0.0.ebuild 4856 +MISC ChangeLog 5137 RMD160 f0e30e0a567dc7cd139a01257071e549ee2c464a SHA1 0da045d21d13b78a1700a686dbca65262cea292b SHA256 e7ff1fd257b74d997999d643a2eab5f45ffc11c6722a0b8c56f353b621343a9e +MD5 ce9cf8ee04de3292883772c9cd310053 ChangeLog 5137 +RMD160 f0e30e0a567dc7cd139a01257071e549ee2c464a ChangeLog 5137 +SHA256 e7ff1fd257b74d997999d643a2eab5f45ffc11c6722a0b8c56f353b621343a9e ChangeLog 5137 MISC metadata.xml 879 RMD160 2d3f16b5906f71d5d455954d5b20afdc8b8aac1f SHA1 375f02d5d2550aa144c759818140e7f1c55de278 SHA256 a2b244cea577e4260368dad481a0b5886a471185f966288bc58af29fb335fe74 MD5 a42a87565bfb006095c3fa658c84b275 metadata.xml 879 RMD160 2d3f16b5906f71d5d455954d5b20afdc8b8aac1f metadata.xml 879 @@ -51,7 +51,7 @@ SHA256 cb97c792d69b1d1ce81af1153f870042bbb951dfae73530d5db4c89a445f62c1 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) -iD8DBQFHDk9P1ycZbhPLE2ARAg/lAKCypt1DobaNxOvCAEkqYWT3K21KGwCeNHw+ -eqe172ofmBC4UGl6mylWhx4= -=ZUrF +iD8DBQFHF2tC1ycZbhPLE2ARAm1IAKCsHwbAZf5uaxSLfFGI8fT7huUJBQCgqyAg +t54wzakViZv2kDEhqqETFeo= +=0w3Z -----END PGP SIGNATURE----- diff --git a/sci-libs/scipy/ChangeLog b/sci-libs/scipy/ChangeLog index 12845b755b69..a0da35d21479 100644 --- a/sci-libs/scipy/ChangeLog +++ b/sci-libs/scipy/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-libs/scipy # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/ChangeLog,v 1.24 2007/10/05 14:01:38 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/ChangeLog,v 1.25 2007/10/18 14:17:10 markusle Exp $ + +*scipy-0.6.0-r2 (18 Oct 2007) + + 18 Oct 2007; Markus Dittrich <markusle@gentoo.org> + +files/scipy-0.6.0-clapack-symbol-fix.patch, + +scipy-0.6.0-r2.ebuild: + Added new revision to fix undefined lapack symbols (see bug #195619). *scipy-0.6.0-r1 (05 Oct 2007) diff --git a/sci-libs/scipy/Manifest b/sci-libs/scipy/Manifest index 5b5305651850..f299491ecf9f 100644 --- a/sci-libs/scipy/Manifest +++ b/sci-libs/scipy/Manifest @@ -38,6 +38,10 @@ AUX scipy-0.6.0-cdf.patch 1200 RMD160 1656a3836925c869c06ecdd93e7e861fe2c4781d S MD5 6aeda168eb34559427f514600718bb64 files/scipy-0.6.0-cdf.patch 1200 RMD160 1656a3836925c869c06ecdd93e7e861fe2c4781d files/scipy-0.6.0-cdf.patch 1200 SHA256 0c45106a3b20d63af992630a7959c7bca772ccdff48d8caef98b76377420a9ca files/scipy-0.6.0-cdf.patch 1200 +AUX scipy-0.6.0-clapack-symbol-fix.patch 5742 RMD160 03797236f84132614eb419d0350d75ec01cd4673 SHA1 97f9eb68623cae9e790a9516ea458a369aa9dea5 SHA256 7895d03d8c9af765cdc3d66fde3970da87751845ab600aa53fe1d6f485fb5642 +MD5 e7731dd9461d5d01133fcbc9476ed179 files/scipy-0.6.0-clapack-symbol-fix.patch 5742 +RMD160 03797236f84132614eb419d0350d75ec01cd4673 files/scipy-0.6.0-clapack-symbol-fix.patch 5742 +SHA256 7895d03d8c9af765cdc3d66fde3970da87751845ab600aa53fe1d6f485fb5642 files/scipy-0.6.0-clapack-symbol-fix.patch 5742 AUX scipy-0.6.0-fftw-fix.patch 535 RMD160 3a42973062b6b5834596ffd16ffccedb4ddc0818 SHA1 f472a8b4461b60b23226044d0096143b67c765e1 SHA256 2af135be8c16538d59e5e65743dc2a0d6408d7ea18affc5be2b3c766a1afd752 MD5 72880dfc17fce0411d01d7f1436a9404 files/scipy-0.6.0-fftw-fix.patch 535 RMD160 3a42973062b6b5834596ffd16ffccedb4ddc0818 files/scipy-0.6.0-fftw-fix.patch 535 @@ -61,14 +65,18 @@ EBUILD scipy-0.6.0-r1.ebuild 3290 RMD160 42f5b1a9f16ebbfe245527a30940b8e8be81867 MD5 21b37b0ce17f56dbba87eaf83d3a893d scipy-0.6.0-r1.ebuild 3290 RMD160 42f5b1a9f16ebbfe245527a30940b8e8be81867a scipy-0.6.0-r1.ebuild 3290 SHA256 f1cea1d8b12e32fa901dba7d5f0e089abe07aea8b832c710420a6e9025023a2f scipy-0.6.0-r1.ebuild 3290 +EBUILD scipy-0.6.0-r2.ebuild 3342 RMD160 c08cc763f9bbdd23e1d57b82070867f47da46ad1 SHA1 76802589ed07688f8fe375d440eabf5a48211dc6 SHA256 843732c831634b98cf4cfc21393b282c76d50331e2a980eb1391baa342ba9aed +MD5 e7b6bf479a0ea1298a0c156376668131 scipy-0.6.0-r2.ebuild 3342 +RMD160 c08cc763f9bbdd23e1d57b82070867f47da46ad1 scipy-0.6.0-r2.ebuild 3342 +SHA256 843732c831634b98cf4cfc21393b282c76d50331e2a980eb1391baa342ba9aed scipy-0.6.0-r2.ebuild 3342 EBUILD scipy-0.6.0.ebuild 3245 RMD160 7e6a22cc612571d915b48b7d3cbc1bc97dca4565 SHA1 a19a74095ff6366dd041ce78d80753e2d4a87739 SHA256 525c2ea3792430ab8fd4a81f646f296bb1e9cece572e94e9f1bed1ca234d2fe4 MD5 3803c5b55dac10c2943d001b281a72ec scipy-0.6.0.ebuild 3245 RMD160 7e6a22cc612571d915b48b7d3cbc1bc97dca4565 scipy-0.6.0.ebuild 3245 SHA256 525c2ea3792430ab8fd4a81f646f296bb1e9cece572e94e9f1bed1ca234d2fe4 scipy-0.6.0.ebuild 3245 -MISC ChangeLog 5339 RMD160 4db6bfa6f26d8e8827d1e3d7e33f17e1af0aad5d SHA1 d02882ca57489944536168fdb8273d744a9bc7d7 SHA256 7fa05e44aca1bb375d74b8beae5886778f12325404f8a3b7480887b2d606715e -MD5 7e012df54757ab681020d0033f22fdfa ChangeLog 5339 -RMD160 4db6bfa6f26d8e8827d1e3d7e33f17e1af0aad5d ChangeLog 5339 -SHA256 7fa05e44aca1bb375d74b8beae5886778f12325404f8a3b7480887b2d606715e ChangeLog 5339 +MISC ChangeLog 5570 RMD160 05e943862adc1e7ce3f0e2a0af58cad85c904716 SHA1 e7bfd0d69e0d6e147d50dcd405f4d7b7d5510786 SHA256 661cc600526dbb2eb752130292262f6de550911ea0cc023425513c77554b222d +MD5 cc3dcd0440167c394333bb4b6ba31384 ChangeLog 5570 +RMD160 05e943862adc1e7ce3f0e2a0af58cad85c904716 ChangeLog 5570 +SHA256 661cc600526dbb2eb752130292262f6de550911ea0cc023425513c77554b222d ChangeLog 5570 MISC metadata.xml 577 RMD160 c9ddccf05c22b5460372ef1c47a91e3441ec6480 SHA1 fb55340f9fbf7877f5874cabcfbac9ea19f849bd SHA256 768246bd968275941fcf6cb3b9d084fdc45a2ab10d257709f644fe87c69c3b88 MD5 27ccaa063e4ff212f9a4f5e84e1d7386 metadata.xml 577 RMD160 c9ddccf05c22b5460372ef1c47a91e3441ec6480 metadata.xml 577 @@ -85,3 +93,6 @@ SHA256 ad604f7a85dacec1a9abeb950b1184baff269dc9468fdf5af139b1be4e719d15 files/di MD5 7502d3b639cb67aaec77310db11f4b45 files/digest-scipy-0.6.0-r1 238 RMD160 2a71e6c471815d13edc9f66234b3b9c3a8c2534a files/digest-scipy-0.6.0-r1 238 SHA256 ad604f7a85dacec1a9abeb950b1184baff269dc9468fdf5af139b1be4e719d15 files/digest-scipy-0.6.0-r1 238 +MD5 7502d3b639cb67aaec77310db11f4b45 files/digest-scipy-0.6.0-r2 238 +RMD160 2a71e6c471815d13edc9f66234b3b9c3a8c2534a files/digest-scipy-0.6.0-r2 238 +SHA256 ad604f7a85dacec1a9abeb950b1184baff269dc9468fdf5af139b1be4e719d15 files/digest-scipy-0.6.0-r2 238 diff --git a/sci-libs/scipy/files/digest-scipy-0.6.0-r2 b/sci-libs/scipy/files/digest-scipy-0.6.0-r2 new file mode 100644 index 000000000000..aa28d16fa675 --- /dev/null +++ b/sci-libs/scipy/files/digest-scipy-0.6.0-r2 @@ -0,0 +1,3 @@ +MD5 417adf3bfe03f4c23c9fb265018e545c scipy-0.6.0.tar.gz 6572954 +RMD160 391f2067f7dcc133e7e8622df93a2a0cd5ebbe5b scipy-0.6.0.tar.gz 6572954 +SHA256 5f70390963fb4e3ae8cf5effa301c160ef68c791098e2ea95b99380e298eac4f scipy-0.6.0.tar.gz 6572954 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 new file mode 100644 index 000000000000..ff2d521363d2 --- /dev/null +++ b/sci-libs/scipy/files/scipy-0.6.0-clapack-symbol-fix.patch @@ -0,0 +1,102 @@ +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.6.0-r2.ebuild b/sci-libs/scipy/scipy-0.6.0-r2.ebuild new file mode 100644 index 000000000000..2813e1abd714 --- /dev/null +++ b/sci-libs/scipy/scipy-0.6.0-r2.ebuild @@ -0,0 +1,128 @@ +# 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" +} |