#9808: Upgrade numpy to 1.5.0 and scipy to 0.8
----------------------------------------------------------------------------------+
   Reporter:  maldun                                                            
  |       Owner:  maldun                                      
       Type:  task                                                              
  |      Status:  needs_work                                  
   Priority:  major                                                             
  |   Milestone:  sage-4.6                                    
  Component:  packages                                                          
  |    Keywords:  numpy, scipy                                
     Author:  Stefan Reiterer, Francois Bissey, John Palmieri, David Kirkby     
  |    Upstream:  Fixed upstream, but not in a stable release.
   Reviewer:  Karl-Dieter Crisman, David Kirkby, Leif Leonhardy, Francois 
Bissey  |      Merged:                                              
Work_issues:                                                                    
  |  
----------------------------------------------------------------------------------+

Comment(by kcrisman):

 Great, all this should hopefully work out fine.   Most of what is said
 above I already had been checking anyway, but having the syntax is nice.
 {{{
 if [ `uname` = "Darwin"]; then
     VER=`uname -r | sed 's/\([0-9]*\)\..*/\1/'`
     if [ $VER -ge 10 ]; then
         cp ../patches/gnu-changes.py numpy/distutils/fcompiler/gnu.py
 fi
 }}}
 because `uname -r` being 10.x.y means OS X 10.6.  It is VERY confusing,
 but that's how it is (as John points out).  So John's sed command should
 work.

 I also updated the SPKG.txt as Francois indicated.  I should have an spkg
 ready to test sometime today with all this changed - assuming it works,
 that is.

 The patch doesn't require us to test for the Darwin version, and I do have
 a 10.4 machine to test it on (though it takes ages to build Scipy).  I
 guess I could just patch it completely.  I just would rather only apply
 the patch if absolutely necessary, since although the code makes sense, I
 don't know what will happen until I try it (which, as said, will happen
 later today).  What they do is get the `-arch` flags from the ambient
 `CFLAGS` and I don't actually know what the ambient `CFLAGS` will be -
 presumably from elsewhere in Python or whatever, but who knows?

 Anyway, if we only apply it on Mac Snow Leopard, that will also make it
 maximally easy to review that part of the change; I haven't made any other
 changes to spkg-install.

 Well, now it's time to sage-pkg it up, and hope for the best.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9808#comment:268>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to