summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-11-02 11:26:22 +0000
committerJustin Lecher <jlec@gentoo.org>2013-11-02 11:26:22 +0000
commit08ab44239f6163786218ac0f3d2e0a4283de939a (patch)
treed011dbc903ecd9d42865b2a2e82f319f7201a527 /sci-libs
parentAdd ~mips per #444688 (diff)
downloadhistorical-08ab44239f6163786218ac0f3d2e0a4283de939a.tar.gz
historical-08ab44239f6163786218ac0f3d2e0a4283de939a.tar.bz2
historical-08ab44239f6163786218ac0f3d2e0a4283de939a.zip
sci-libs/scipy: Drop vulnerable versions, #488048
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xB9D4F231BD1558AB!
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/scipy/ChangeLog6
-rw-r--r--sci-libs/scipy/Manifest36
-rw-r--r--sci-libs/scipy/scipy-0.12.0.ebuild135
-rw-r--r--sci-libs/scipy/scipy-0.9.0-r1.ebuild139
4 files changed, 19 insertions, 297 deletions
diff --git a/sci-libs/scipy/ChangeLog b/sci-libs/scipy/ChangeLog
index ec76cdf3124b..ef0aded56697 100644
--- a/sci-libs/scipy/ChangeLog
+++ b/sci-libs/scipy/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/scipy
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/ChangeLog,v 1.103 2013/11/02 09:58:28 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/ChangeLog,v 1.104 2013/11/02 11:26:20 jlec Exp $
+
+ 02 Nov 2013; Justin Lecher <jlec@gentoo.org> -scipy-0.9.0-r1.ebuild,
+ -scipy-0.12.0.ebuild:
+ Drop vulnerable versions, #488048
02 Nov 2013; Agostino Sarubbo <ago@gentoo.org> scipy-0.12.1.ebuild:
Stable for x86, wrt bug #488048
diff --git a/sci-libs/scipy/Manifest b/sci-libs/scipy/Manifest
index 077ad987eef6..6d68ab1be22f 100644
--- a/sci-libs/scipy/Manifest
+++ b/sci-libs/scipy/Manifest
@@ -7,38 +7,30 @@ AUX scipy-0.12.0-gerqf.patch 731 SHA256 1f3c2723f1094cb6834349f26d40d060ed4e09c7
AUX scipy-0.12.0-restore-sys-argv.patch 483 SHA256 c00daf7d49c042972d2c59bf645c21f3bc437459a745da758e2548a973000170 SHA512 7c439aa7e1e0ccc7444c2c091ef03d3d39f2999a33ef487224c78e74cd3a1b84bd18a9e92d84ab2cd3fc7578644beb3b667fdaacb20a239600cb9b1765eeb7fc WHIRLPOOL f0d4a84e40ee26399b121f0d9159914d480789c83f749cf060bc65f63df315f27718359df7c13c64ae7a04eea00470ea109b110310abeba79944a90b97ebb102
AUX scipy-0.9.0-qhull.patch 1675 SHA256 725a4c74ffe401ba4ae385bcd0a891b9c16d9656d3241204a2b84b88e4bbea95 SHA512 3c151e74dd8797723772c738e94f5591cdcc572d1be9729835245abb0a59690d010d629d46e7c58ff1de46de0827f049984764b90fd58653503e7d56adef5d34 WHIRLPOOL 155ff2f897195390c9f4739c117301ca524896afb94724caea003c2e97091a82563bf57f1ac91042e39a9f54a500fb4657b2bd3a5e05a3195a5299f19caa2ebd
AUX scipy-0.9.0-superlu.patch 1526 SHA256 10b58353b0cdd6a8a6713ca7186cdb37c33c0ae4e42014322c5ad94465359e8f SHA512 1326cf779bffb9e2046106fd771309a93c3b0d7b15f8200f9a6652b425e7b0b642776feda488d10b2b69f6d16fb9fc1beeae4a1ff57b5e7181b9473c4de07232 WHIRLPOOL ceb430b6cca1036e8c07836b1f6ed71a75a9921bda787973ceb6f46673963d70a0bf07f46fed68d85587208aab51065fdebfce8bcd85d35dfa760fae012098e8
-DIST scipy-0.12.0-html.zip 10831664 SHA256 d7a1dba159d13781a31bf88bcca3aec802ad7d0817c585140e05221722e17689 SHA512 dba923b632a063a1e437b77fc4b034df4b9d0936c17a48136857db14719de2ca88336500b663b781b443521cb71fd6bc3e7ff51779ed80ae2b34b7e655cba7ed WHIRLPOOL b25324c06b23e32797701485491696835d1b2878e025cd5f2cc38e3a998fb6bf62980c449f8fcf035035aa899754daf2e0985e872d918a1c7cc7ae2188a9c9b8
-DIST scipy-0.12.0-ref.pdf 7382958 SHA256 04587215578188396723cea2eb7387460fd957706eec61ea1b67326822fdcb68 SHA512 520a75aed2e4b87296e864fde3387ea35978e96af86c3c3f92c0509db7ee0f8253c3c75f3e8de273e534aa400ff3dcca051fc8c83f9406af941da422f88fed70 WHIRLPOOL eae4c8b9fbffcd277b077175eaf9a1e136ec02cbec16c6d389735be5cbbc4300765bd9ce34427932dc1f9b58a0b16971235d89b60c02313d8902a82079bb9317
-DIST scipy-0.12.0.tar.gz 9095801 SHA256 b967e802dafe2db043cfbdf0043e1312f9ce9c1386863e1c801a08ddfccf9de6 SHA512 80c8e137c3ccba86575d4263e144ba2c4684b94b5cd620e200f094c92d4e118ea6a631d27bdb259b0869771dfaeeae68c0fdd37fdd740b9027ee185026e921d4 WHIRLPOOL f5266327a53fac5b40456a2f4884ed5caaf11e2b9340bf29c8108d12bf80c5604a594774c3daf55b375c4a823a823eb31957f8641e622e9177291400c2b2bc29
DIST scipy-0.12.1-html.zip 15578583 SHA256 07c773c6056e5fc0cb65d7048995d0ff056f48f1e482d610865361870ee07998 SHA512 71308ff306ee5556822a279e8dd21efd6c9174fbb5c100acf9e34308cf828789cd257aac5a447a6dbfa8b464447753ea49d6e5819555fbf8db73b3e51fddc2cb WHIRLPOOL 124b12ace1a297789b4f544a28539da964bc756aae72572b2926c9df81b2bd492fdcc4b39bb8b9d83305d21834c7e225a576225a8a94a316707c517583fa9dca
DIST scipy-0.12.1-ref.pdf 11193207 SHA256 4a8298fba9c6d62aeb392ee6588ac45cb266ed6cffb59573f6c19d7779bfc18b SHA512 cad60983c74a447a0e3ba898b81bdea3101dbad7603f1ca8030e3ff9f431eeb8c7b2dd207a45af616ef596e85c0c1846944057ecc11482fe9b389869ee49b137 WHIRLPOOL af600c6cb5c59306b2f5a84df421465a97cae9138f0cf024a0748c80bd516d8fe6a2db135fd56d66eab25f36c99acb3c0825d50b7d376e0ed3d9bd0c4c282943
DIST scipy-0.12.1.tar.gz 9012911 SHA256 15122afe6cb377b010982f9bc46cf41b12af703fd34088aa3971a80276b00e76 SHA512 13dba0b2ff9b69a109403110aaaca892362935262e3999992de96b081eae036fe5dbb3ca209d84ade948377c6ccb4137777c36f76121f8745855dc1d08b86e97 WHIRLPOOL 71467b86b992b14b4bc6c354ac4b4ec138951ab0d17b28c07ac605a81852f4f55bdfe35553ffdecd9611ef0daf2c35012424e28db9c9ff8e2cf6eb3fe0d2583a
DIST scipy-0.13.0-html.zip 18283054 SHA256 3010783ebdc18988440cd0047f061bbfcac98677782cd10e8b4f09e20bbbc23d SHA512 082cb1e0915f6095f80522a76fed4e106ed82889df613c1bcada9a4faded8917fd7e686448f585a5bee5478280ae21f6adf9bd4add125b9082f93eb93e61feef WHIRLPOOL 48b5e2ee9274f324969c413986110a87422b5f3667b617884dd01c660cdabeb05c5e17ca33e861b2fa2cc5caf89e1233aba9f2855386fe211255c5ceee437ac7
DIST scipy-0.13.0-ref.pdf 14748179 SHA256 52caa5fd7e74f2e5a78f26296d2150808eee9e153ca3cee62d05892bbd1bac8c SHA512 9e2d40b154c73e9ad3405038e2c71e01650b9a05781355d499b09d647ae6a73d65d542c36b60a87ac530f9b7509bf1c023624952c2f4f2b2f9fb56394456ec91 WHIRLPOOL 5071c593b999db1a57057731e995153fead4155f04b69b770fd1b2203cc5eb13f6f9395a179c4a06e1d8fc5dfa559f51c494f52a27d524b2794d9683e487e273
DIST scipy-0.13.0.tar.gz 10093476 SHA256 e7fe93ffc4b55d8357238406b1b9e47a4f932474238e2bfdb552423bcd45dc5e SHA512 5bd8f032560dba4796942c8cbbd341c449aae10c3de6023c62bf754bb48d84ba821dbbc24bfe371781e8a06958c104baf670bf167597ec5d4fd5fd2eeadc54b5 WHIRLPOOL 39df9a0c03962f0b5c16efe38d8900c523e45426e228951a5d84fbf7b742cd37c8775f628e6973da572b3b7e088aecba1f7277dbf1fd6e3b72f78a8ad6599a06
-DIST scipy-0.9-html.zip 8516420 SHA256 6f3148881502ca2cd2964fef7baf9bfec6fe2329ec3f1832e1e6d864aed0f889
-DIST scipy-0.9-ref.pdf 5299022 SHA256 ed2641c180eef2f842536a611982fbd91c33c95a7e7e3c279d7ae6f10071be47
-DIST scipy-0.9.0.tar.gz 6084552 SHA256 913089de94721be864e0a57fdab52603f3150250a2e0ce4ed6928ca1125f6b23 SHA512 2c9be17d4f9daea23dab7449282f522641a7bfc0bdb0005631f2a89da44681c4b4e98bdff8b76ee451c1ee36cf3dd2eaf45f670cfaff86c10d49bf5478ac3c43 WHIRLPOOL 0b58a0e0bc03f4759e5bbc3b24b36c6b53092a92c595ca65a79bf307332564b3204fc1d6244bb0a970bdb63f0092591b846cc14e8b4b6c73d9b09ffeb16815b4
-EBUILD scipy-0.12.0.ebuild 3770 SHA256 990abfc2c8afa97a5659cdee52686dff3f372a16ceae76da157a82b02617feb8 SHA512 7ea50b2ef80756d0c134e1a75b643f04a78d2e27df3bc203081912491e8e6e646b8daae923c58e41af0991c67e9340124ea3a3cffd117972e20b7caafd1c3163 WHIRLPOOL 4d85c58fa219dc26c1d27d057e381d9a417f47e2d1b0a8730b3eed8957a0a671330444235cad6d186b7b7c93a3029ed41cf0431c4d3c8b6075b19a0c50719497
EBUILD scipy-0.12.1.ebuild 3794 SHA256 aa1a59f045d86e2cb7016682ea841913bb8429b87a3095a7a00ce3f75b2c48d8 SHA512 856b8b23e6a8ab3efb6526e7cc94b8eb742d04cfa1e460ee9364265743d655cfed4cbb296d41c07ccae3dc4d3945f41a53e0307b87a740b4b7f3fbae6d161f1f WHIRLPOOL d837a98eabb2e5feb143d94790f79c622ab8eba6f4d868bfa2bb0f010af29460389d7d46d6d2be5d11b679624540f87fb8f93a9f69982824397703d0dec4e9e0
EBUILD scipy-0.13.0.ebuild 3619 SHA256 f934647eceef2c326878d31bdf9289ca86726ed1ced5f29568df1935ba6a37f1 SHA512 370aa07dba0e61fe23dc57a33cb460058cfa1708a5d2e21dc7bb41cdfa7bb987e71281ab16dca0e056e1192cf6e69653e689eb5aa87231bbe105544ff69c2f93 WHIRLPOOL 300028a9c33c9010650dfd12437ec9b5e0ccb44b5404b20b2ec897ea4d15dceabf4d2ff89678c90ba567847581d4c03ea12524193ccbff63bc1c3a83421a77ce
-EBUILD scipy-0.9.0-r1.ebuild 4357 SHA256 2a99c317ada2d130e77171d26c3f88654faf68204730f723a89605e87a447f01 SHA512 734a38d0a586d930a9ca196e6cca571022d7af286bb710d29347d5125b9a718fced44d2c2fb1aa968e4b44c228f0b1fb58694e585157edeab0408136c66950cb WHIRLPOOL c4a35e0a8b14c723270a769d0b53fc3fc7a9c875af4b3a08c3276c8da31ec04fac6da64877caee5256f500368a0e9baa77684ee30afb7da2b47753ade0ea4628
-MISC ChangeLog 19090 SHA256 28b63d916f7d688cb37d6cc250f1100a67a5fbddb7bfb21169e39485cf7e425f SHA512 b8a6beddbaa3199c2fdb52cb5f45899d4c5ce81a3f11c927b5f0446ea4011d7ab136a232ee36a95f2d8b3d2990a879ade2fdbb693b3c3b4af6b38ff6e5311266 WHIRLPOOL 5b290819bbb3f1731b54035d2d486d72869ea443402d6c3a32ab48df7a2a13ea4c973f3b208f60de27fdb18569bcf65d060c603aa3b039620617e2c460fc1e5d
+MISC ChangeLog 19223 SHA256 3981ca90f36d0a7e87324e380b2653d6f7ce307f88e4d6804b0ddb56f6852e9e SHA512 291d4871042dc12c59500c8ac671a6405d30b56bb586fc0fac64c289365ad4c34e671884bc025d1ab1f0a01ae6f2be34e7a004903f05501c667d00d2eef17aed WHIRLPOOL 33f515226d5c65b9a423286b31cfa30618cf639a33025abafbb3daa7441d017b93836709f8e4eba93a4cd6636be346666bbc4507d55c4baa73d915d3383bc777
MISC metadata.xml 778 SHA256 c585563656be41d539826dbd6ac5f633a0704b73a39b3603b50ce6092d767e73 SHA512 da239d303a88f7bc4356a27965aed91befd379ee142c529ab5177276eb86ac7976b527a2b1397584754f1cec1c6743c98b9af4a540e6cc503607ac3cf529de06 WHIRLPOOL e04375da88108229b3386ae79ba452705a4d4fcdbff9f38c491a4436846c9037d8c68bd8d5524d5435e351a557bd604211477a28da5661c9cce804fe27a34b2a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCgAGBQJSdMzCAAoJELp701BxlEWfwPYQAInMl49KCwSYE5s5qHoMCwl/
-gEjJDv0OHan+AUv1J2G4PVbyQGfIHkV+z1pZ2ZRT/4XoULkxn4Uup23x/vzFb8LF
-+yAv4mVnJUFNLRNuPSeo5d8iVYn5ewAzgwbzafn4LS4GrkLkMLlIXOCpFXydI7ps
-dBd4hoXGal8WPIVGAmqpnydFQtTl79QrraE1lLtpAoiHh30g2bbwdX/PCx51lStT
-wGmZ8lBUzkz9La7F5a192KpW9ft6oR3Y9ZlWZH+F3ceHrri6xa6LEZaGIqBTTJwz
-ckFekTX3AQLGTHovbugqZ899O/UUaOX1FOW9+FrIvH68qcN92oxGblM2K09v52fP
-4udQrdE+cuygIgvmCHkKzUIbGAIpYd6gmJUFKv8MUK3ww3FfZuNVrRoYBgsfROsR
-hehxgGxW7GOH9dHPJPsSm6PCKcvHRYamJe2KXhYxE5oACoe/Qr97cbwEzaBhO96a
-C42PWbCsSCvrzAi1P6g0eC8bb4KSfbnCEo9uF2QwHtqFVgXgodf1UDv5yEv2LnrG
-Xi0U9rJgyTBeC1gyBfuuOdvCzpgTUrIOLwc4xWhmniQfJMiPPlxqYRu/Rp7mKeUB
-ObxWvquaLGqkxg1l7yAg19JGF26+8pmUFQ53ZSp08P37aN6qxVabTpl0VN2M0mWa
-0dHlEBzNxPPoTHaiuROk
-=1qqm
+iQIcBAEBCgAGBQJSdOFeAAoJELnU8jG9FViracoP/3guXuMmkRzUdxQHveKSSWes
+frFXK/40w+yCfe5afi1z73inEtapNaKE50Zkq/atGYWEDjEQaKcQcb7V7v38tjro
+XwwNh61UVg843yA7Eg2O8DqT7PJ2NuL+OKrcB+r+RNmFrcLYZi5TEwRh/ogaDivQ
+z200DepCGpRVnqzpD9Gcf4p/u4C4bA3PRNHQi15VhX1p9f1yY4uGiHhKTXwQXYyQ
+we6nrpWmUMTpNgB5BXVvjead5Fx0yo+XMzi848pK8S6eNLo4wZgl5p5O2x+DroSC
+nRibl90TJCyyiOwcpws7L8Oh2sWQeE2WjEhOrmaSehSm6ZKUNYX01eclO05pL9xz
+KO/696VfgojY+UV+J1U+zwddO1OqZCUU3DErvja9+B92MnMczpphxHoHwPiRyFkt
+yDUknHnsQltrS4hMGtJWU6CTbsfTVndgO4x26Sfcn2wYEFy3K4h5MaMxTBZeOoiY
+dGtL4voMwG+snc8EyJC7iSHuGdX6vM3uF3Tm2/jsmocz5IyWRGbu81ijxYPIDJg3
+HODWCaG/909JTOQZQsXbXgzj/08Dehr3x8e1UybdrSnPUtH0M1EYKCA8M85SXAb1
+V7gbhSwShvK0+AnWiIQc4F05pQ73Kj5Vt5dHv39rjP6Mhk6QNbsYG1ojedVEjb0s
+FQ0HjiTiJWsnlDqXZpCZ
+=xIrm
-----END PGP SIGNATURE-----
diff --git a/sci-libs/scipy/scipy-0.12.0.ebuild b/sci-libs/scipy/scipy-0.12.0.ebuild
deleted file mode 100644
index b3b8868fefcf..000000000000
--- a/sci-libs/scipy/scipy-0.12.0.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/scipy-0.12.0.ebuild,v 1.6 2013/09/10 02:43:58 patrick Exp $
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
-
-inherit eutils fortran-2 distutils-r1 flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="http://www.scipy.org/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
- doc? (
- http://docs.scipy.org/doc/${PN}/${PN}-html.zip -> ${P}-html.zip
- http://docs.scipy.org/doc/${PN}/${PN}-ref.pdf -> ${P}-ref.pdf
- )"
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-IUSE="doc sparse test"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-
-CDEPEND="
- dev-python/numpy[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack
- virtual/cblas
- virtual/lapack
- sparse? ( sci-libs/umfpack )"
-DEPEND="${CDEPEND}
- dev-lang/swig
- dev-python/cython[${PYTHON_USEDEP}]
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- test? ( dev-python/nose[${PYTHON_USEDEP}] )"
-
-RDEPEND="${CDEPEND}
- virtual/python-imaging[${PYTHON_USEDEP}]"
-
-DOCS=( HACKING.rst.txt README.txt THANKS.txt LATEST.txt TOCHANGE.txt )
-
-DISTUTILS_IN_SOURCE_BUILD=1
-
-src_unpack() {
- unpack ${P}.tar.gz
- if use doc; then
- unzip -qo "${DISTDIR}"/${P}-html.zip -d html || die
- fi
-}
-
-pc_incdir() {
- $(tc-getPKG_CONFIG) --cflags-only-I $@ | \
- sed -e 's/^-I//' -e 's/[ ]*-I/:/g' -e 's/[ ]*$//'
-}
-
-pc_libdir() {
- $(tc-getPKG_CONFIG) --libs-only-L $@ | \
- sed -e 's/^-L//' -e 's/[ ]*-L/:/g' -e 's/[ ]*$//'
-}
-
-pc_libs() {
- $(tc-getPKG_CONFIG) --libs-only-l $@ | \
- sed -e 's/[ ]-l*\(pthread\|m\)[ ]*//g' \
- -e 's/^-l//' -e 's/[ ]*-l/,/g' -e 's/[ ]*$//'
-}
-
-python_prepare_all() {
- # scipy automatically detects libraries by default
- export {FFTW,FFTW3,UMFPACK}=None
- use sparse && unset UMFPACK
- # the missing symbols are in -lpythonX.Y, but since the version can
- # differ, we just introduce the same scaryness as on Linux/ELF
- [[ ${CHOST} == *-darwin* ]] \
- && append-ldflags -bundle "-undefined dynamic_lookup" \
- || append-ldflags -shared
- [[ -z ${FC} ]] && export FC="$(tc-getFC)"
- # hack to force F77 to be FC until bug #278772 is fixed
- [[ -z ${F77} ]] && export F77="$(tc-getFC)"
- export F90="${FC}"
- export SCIPY_FCONFIG="config_fc --noopt --noarch"
- append-fflags -fPIC
-
- local libdir="${EPREFIX}"/usr/$(get_libdir)
- cat >> site.cfg <<-EOF
- [blas]
- include_dirs = $(pc_incdir cblas)
- library_dirs = $(pc_libdir cblas blas):${libdir}
- blas_libs = $(pc_libs cblas blas)
- [lapack]
- library_dirs = $(pc_libdir lapack):${libdir}
- lapack_libs = $(pc_libs lapack)
- EOF
-
- local PATCHES=(
- "${FILESDIR}"/${P}-gerqf.patch
- "${FILESDIR}"/${P}-blitz.patch
- "${FILESDIR}"/${P}-restore-sys-argv.patch
- "${FILESDIR}"/${P}-cephes-missing-include.patch
- )
- distutils-r1_python_prepare_all
-}
-
-python_compile() {
- distutils-r1_python_compile ${SCIPY_FCONFIG}
-}
-
-python_test() {
- distutils_install_for_testing ${SCIPY_FCONFIG}
- cd "${TEST_DIR}" || die "no ${TEST_DIR} available"
- # nasty hack to remove weave tests because it is not python3 compat
- [[ ${TEST_DIR} =~ python3 ]] && rm -r "${TEST_DIR}"/lib/scipy/weave
-#r = scipy.test('full', verbose=10)
- "${EPYTHON}" -c "
-import scipy, sys
-r = scipy.test('fast',verbose=2)
-sys.exit(0 if r.wasSuccessful() else 1)" || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- if use doc; then
- dohtml -r "${WORKDIR}"/html/.
- dodoc "${DISTDIR}"/${P}*pdf
- fi
- distutils-r1_python_install_all
-}
-
-python_install() {
- distutils-r1_python_install ${SCIPY_FCONFIG}
-}
-
-pkg_postinst() {
- elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
- elog "to your prefered image viewer. Example:"
- elog "\t echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
-}
diff --git a/sci-libs/scipy/scipy-0.9.0-r1.ebuild b/sci-libs/scipy/scipy-0.9.0-r1.ebuild
deleted file mode 100644
index 2e560519bd98..000000000000
--- a/sci-libs/scipy/scipy-0.9.0-r1.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/scipy-0.9.0-r1.ebuild,v 1.14 2013/06/17 23:29:09 bicatali Exp $
-
-EAPI="3"
-
-PYTHON_DEPEND="*::3.2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.3 *-jython"
-
-inherit eutils fortran-2 distutils flag-o-matic toolchain-funcs versionator
-
-SP="${PN}-$(get_version_component_range 1-2)"
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="http://www.scipy.org/ http://pypi.python.org/pypi/scipy"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
- doc? (
- http://docs.scipy.org/doc/${P}/${PN}-html.zip -> ${SP}-html.zip
- http://docs.scipy.org/doc/${P}/${PN}-ref.pdf -> ${SP}-ref.pdf
- )"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="doc sparse"
-KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-
-CDEPEND="
- >=dev-python/numpy-1.5[lapack]
- >=media-libs/qhull-2012.1-r1
- sci-libs/arpack
- sci-libs/superlu
- virtual/cblas
- virtual/lapack
- sparse? ( sci-libs/umfpack )"
-DEPEND="${CDEPEND}
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- sparse? ( dev-lang/swig )"
-RDEPEND="${CDEPEND}
- dev-python/imaging"
-
-# buggy test suite - still true for 0.9.0
-#RESTRICT="test"
-
-DOCS="THANKS.txt LATEST.txt TOCHANGE.txt"
-
-pkg_setup() {
- fortran-2_pkg_setup
- # scipy automatically detects libraries by default
- export {FFTW,FFTW3,UMFPACK}=None
- use sparse && unset UMFPACK
- # the missing symbols are in -lpythonX.Y, but since the version can
- # differ, we just introduce the same scaryness as on Linux/ELF
- [[ ${CHOST} == *-darwin* ]] \
- && append-ldflags -bundle "-undefined dynamic_lookup" \
- || append-ldflags -shared
- [[ -z ${FC} ]] && export FC="$(tc-getFC)"
- # hack to force F77 to be FC until bug #278772 is fixed
- [[ -z ${F77} ]] && export F77="$(tc-getFC)"
- export F90="${FC}"
- export SCIPY_FCONFIG="config_fc --noopt --noarch"
- append-fflags -fPIC
-}
-
-src_unpack() {
- unpack ${P}.tar.gz
- if use doc; then
- unzip -qo "${DISTDIR}"/${SP}-html.zip -d html || die
- fi
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-superlu.patch \
- "${FILESDIR}"/${P}-qhull.patch
- rm -rf ./scipy/sparse/linalg/dsolve/SuperLU ./scipy/spatial/qhull
- local libdir="${EPREFIX}"/usr/$(get_libdir)
- cat > site.cfg <<-EOF
- [atlas]
- include_dirs = $($(tc-getPKG_CONFIG) --cflags-only-I \
- cblas | sed -e 's/^-I//' -e 's/ -I/:/g')
- library_dirs = $($(tc-getPKG_CONFIG) --libs-only-L \
- cblas blas lapack| sed -e \
- 's/^-L//' -e 's/ -L/:/g' -e 's/ //g'):${libdir}
- atlas_libs = $($(tc-getPKG_CONFIG) --libs-only-l \
- cblas blas | sed -e 's/^-l//' -e 's/ -l/, /g' -e 's/,.pthread//g')
- lapack_libs = $($(tc-getPKG_CONFIG) --libs-only-l \
- lapack | sed -e 's/^-l//' -e 's/ -l/, /g' -e 's/,.pthread//g')
- [blas_opt]
- include_dirs = $($(tc-getPKG_CONFIG) --cflags-only-I \
- cblas | sed -e 's/^-I//' -e 's/ -I/:/g')
- library_dirs = $($(tc-getPKG_CONFIG) --libs-only-L \
- cblas blas | sed -e 's/^-L//' -e 's/ -L/:/g' \
- -e 's/ //g'):${libdir}
- libraries = $($(tc-getPKG_CONFIG) --libs-only-l \
- cblas blas | sed -e 's/^-l//' -e 's/ -l/, /g' -e 's/,.pthread//g')
- [lapack_opt]
- library_dirs = $($(tc-getPKG_CONFIG) --libs-only-L \
- lapack | sed -e 's/^-L//' -e 's/ -L/:/g' \
- -e 's/ //g'):${libdir}
- libraries = $($(tc-getPKG_CONFIG) --libs-only-l \
- lapack | sed -e 's/^-l//' -e 's/ -l/, /g' -e 's/,.pthread//g')
- EOF
-}
-
-src_compile() {
- distutils_src_compile ${SCIPY_FCONFIG}
-}
-
-src_test() {
- testing() {
- "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install \
- --home="${S}/test-${PYTHON_ABI}" --no-compile ${SCIPY_FCONFIG} || die "install test failed"
- pushd "${S}/test-${PYTHON_ABI}/"lib*/python > /dev/null
- PYTHONPATH=. "$(PYTHON)" -c "import scipy; scipy.test('full')" 2>&1 | tee test.log
- grep -q ^ERROR test.log && die "test failed"
- popd > /dev/null
- rm -fr test-${PYTHON_ABI}
- }
- python_execute_function testing
-}
-
-src_install() {
- distutils_src_install ${SCIPY_FCONFIG}
- if use doc; then
- insinto /usr/share/doc/${PF}
- doins -r "${WORKDIR}"/html || die
- doins "${DISTDIR}"/${SP}*pdf || die
- fi
-}
-
-pkg_postinst() {
- distutils_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"
-}