#10492: Rework spkg/install, spkg/standard/deps, spkg/standard/newest_version
---------------------------+------------------------------------------------
   Reporter:  jdemeyer     |          Owner:  GeorgSWeber                       
          
       Type:  enhancement  |         Status:  new                               
          
   Priority:  major        |      Milestone:  sage-5.0                          
          
  Component:  build        |       Keywords:  scripts install newest_version 
deps Makefile
Work_issues:               |       Upstream:  N/A                               
          
   Reviewer:               |         Author:                                    
          
     Merged:               |   Dependencies:                                    
          
---------------------------+------------------------------------------------
Changes (by jdemeyer):

  * keywords:  scripts install newest_version => scripts install
               newest_version deps Makefile
  * component:  scripts => build


Old description:

> The shell script `newest_version` should become a shell function in
> `spkg/install`.  It should also do some error checking, since currently a
> non-existing package will not signal ''any'' error.  A shell function
> should simply exit with an error message.

New description:

 The current system of `spkg/install` setting '''environment variables'''
 like `$TERMCAP` with the version numbers of the various packages is quite
 bad.

 In this ticket, I change `spkg/install` to create a file `spkg/Makefile`
 (which includes `spkg/standard/deps`) which is used as makefile instead of
 `spkg/standard/deps`.  Instead of using environment variables for the
 versions, I simply use make variables.

 The shell script `newest_version` is also removed in favor of a shell
 function in `spkg/install`.  It gracefully handles non-existing packages.
 Currently a non-existing package will not signal ''any'' error or warning.

 '''Apply''':
  1. [attachment:10492_deps_to_Makefile.patch] to `SAGE_ROOT`

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10492#comment:3>
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