Skip to content

Commit

Permalink
[sci-mathematics/sage] Warning for ATLAS users
Browse files Browse the repository at this point in the history
(Portage version: 2.1.10.7/git/Linux x86_64, unsigned Manifest commit)
  • Loading branch information
cschwan committed Jul 25, 2011
1 parent 0e6a9c5 commit f1d4995
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 3 deletions.
4 changes: 4 additions & 0 deletions sci-mathematics/sage/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $

25 Jul 2011; Christopher Schwan <[email protected]>
sage-4.7-r2.ebuild, sage-4.7.1_rc0.ebuild:
Added warning discouraging the use of ATLAS

22 Jul 2011; François Bissey <[email protected]>
sage-4.7-r2.ebuild, sage-4.7.1_rc0.ebuild:
removing guava dep- hasn been required upstream for a while.
Expand Down
6 changes: 3 additions & 3 deletions sci-mathematics/sage/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ AUX trac_9958-mixedfix.patch 2113 RMD160 417360a7f6e59de463bde8665b24b098713bb24
AUX trac_9958-sage_unittest.patch 2336 RMD160 98d99e81cab490ad332d1f3678fd377a844838d0 SHA1 4c5e7ac84eac9f8e4ce6bfd24f278fcfebe30efc SHA256 24f40dabcbaab1568ee71591deb1f10bf88a20e1b6728b0fa7246831b3706b25
DIST sage-4.7.1_rc0.tar.bz2 54241427 RMD160 d45a8cd081753d752b16eddbb72b38454b492313 SHA1 77ab669c60f7fa3daa75b22840ef16cd20825617 SHA256 289fc795938a24a876a04d9d5366a31277c998a46ae6726d1facf96bdef33994
DIST sage-4.7.tar.bz2 53031153 RMD160 4df497885879d1f4ed3b01e1000bebdfb2c56610 SHA1 665d3f41f6c7a3798d90a8edf70f22a5f54f4ab0 SHA256 a1d793787695e094126a3ae1d275b61bc51707567dc574fb1888426855f015d7
EBUILD sage-4.7-r2.ebuild 15138 RMD160 6eb536e82cac552ddafd7e6bbafe4173e125d131 SHA1 ec44dd2de929119f95b4724433815881b54e3ad7 SHA256 4ad025da8a1915cd06f9bc856f9f67b408c8acf8297e420b1bb443ac11025c40
EBUILD sage-4.7.1_rc0.ebuild 14066 RMD160 d26991ea970a905de09767f4b80226c4a349519b SHA1 ab8748f795c9d078a4e2df3cab38b2597c038527 SHA256 aa5930453583229dfe4dffd73b5a8e904a806e76df7cf8939c0db6e9a6b12980
MISC ChangeLog 61125 RMD160 c01b91d54bd63d300c111439c5825c6063fcb1e1 SHA1 f8ec61588606b7163acaf3948f6fa04a3ba0a929 SHA256 73941c209fc6a69d7fdfaee48f09445c1edd15351b8caa938137693d0a2fd815
EBUILD sage-4.7-r2.ebuild 15607 RMD160 a9a332524984882571c01ac536a68d8958a0dfb5 SHA1 db7db899acb24dc853ff6bcbb17094fec800c77b SHA256 6e623ecf63c2b1327841111bd90f60a51792ac3812be129691aba1a873fd93d7
EBUILD sage-4.7.1_rc0.ebuild 14535 RMD160 fe2c64c0378575b5072c7abe3f7310b8c7c77026 SHA1 da07c177fef109f178eef4d17fdfe8bf4a37ba07 SHA256 d1c687ea984613d16f69e41712810eef7309bd23f968d2394d62bb9984520d83
MISC ChangeLog 61283 RMD160 f603051c809b37a6a6e852f2da74717225d947ac SHA1 a2d55b5eb4a59cf7da27bf136362e53373b04449 SHA256 651cd4db34cf8e33de00ebccc14d16166c2d8a3597cb4674ba1bee8272bd3e3e
MISC metadata.xml 482 RMD160 8c16a2194400839c12c9813cf539a09741b571b3 SHA1 c1decbf24b6cd014b1f5916c4754c93db25e36ff SHA256 cea02ccffcb65392d93e0bd322b0ee7423fbbfd47738236d75dbcf2aaee77cd2
11 changes: 11 additions & 0 deletions sci-mathematics/sage/sage-4.7-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,17 @@ RDEPEND="${CDEPEND}
S="${WORKDIR}/${MY_P}"

pkg_setup() {
# TODO: put the following check into pkg_pretend once we may use EAPI 4 with
# the python eclass
if ( eselect blas show ; eselect lapack show ) | grep -q "atlas" ; then

ewarn "You are about to compile Sage with ATLAS blas/lapack libraries. We"
ewarn "discourage the use of atlas because of several small problems seen"
ewarn "with version 3.9.23 in Sage's doctests. This is probably not a"
ewarn "problem for everyday use of Sage but we have warned you!"

fi

# Sage now will only works with python 2.7.*
python_set_active_version 2.7
python_pkg_setup
Expand Down
11 changes: 11 additions & 0 deletions sci-mathematics/sage/sage-4.7.1_rc0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,17 @@ RDEPEND="${CDEPEND}
S="${WORKDIR}/${MY_P}"

pkg_setup() {
# TODO: put the following check into pkg_pretend once we may use EAPI 4 with
# the python eclass
if ( eselect blas show ; eselect lapack show ) | grep -q "atlas" ; then

ewarn "You are about to compile Sage with ATLAS blas/lapack libraries. We"
ewarn "discourage the use of atlas because of several small problems seen"
ewarn "with version 3.9.23 in Sage's doctests. This is probably not a"
ewarn "problem for everyday use of Sage but we have warned you!"

fi

# Sage now will only works with python 2.7.*
python_set_active_version 2.7
python_pkg_setup
Expand Down

0 comments on commit f1d4995

Please sign in to comment.