#19119: Use $PKG-clean target to implement sage -f $PKG
---------------------------+----------------------------------
   Reporter:  jdemeyer     |            Owner:
       Type:  enhancement  |           Status:  new
   Priority:  major        |        Milestone:  sage-6.9
  Component:  build        |         Keywords:
  Merged in:               |          Authors:  Jeroen Demeyer
  Reviewers:               |  Report Upstream:  N/A
Work issues:               |           Branch:
     Commit:               |     Dependencies:  #19116
   Stopgaps:               |
---------------------------+----------------------------------
 After #19101, `sage -f PKG` first deletes
 `local/var/lib/sage/installed/PKG-*` and then runs `sage -i PKG`.

 I propose to move the rule of removing
 `local/var/lib/sage/installed/PKG-*` to `build/make/Makefile` as a `PKG-
 clean` target. This would make it easier to extend the functionality of
 `sage -f FOO` to non-packages, for example
 {{{
 sage -f optional   # force install all optional packages
 sage -f python     # force install correct version of Python (python2 or
 python3 package)
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/19119>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to