#11021: Fix "sage -info" and a bug when sourcing sage-env more than once
-----------------------------------------+----------------------------------
Reporter: jhpalmieri | Owner: leif
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.7.1
Component: packages | Keywords: SPKG.txt SAGE.txt
-info BUILD sage-env sage-sage sage-spkg
Work_issues: | Upstream: N/A
Reviewer: Kelvin Li, Leif Leonhardy | Author: Leif Leonhardy,
Kelvin Li
Merged: | Dependencies:
-----------------------------------------+----------------------------------
Changes (by leif):
* owner: tbd => leif
Comment:
I've made some more changes to `sage-spkg` (more than I intended):
* Fixed some bugs, e.g. not recording the version of a package found in
`spkg/{standard,optional}` such that the installation later failed;
superfluous second download now doesn't take place.
* All instances of `build` now use `$BUILD`. (It is now also checked that
`BUILD` is really set, cf. patch to `sage-env`.)
* More error checks and more appropriate error messages.
* Non-conforming spkgs are no longer said to be corrupted.
* Default installation scripts now use `$MAKE` rather than `make` (`$MAKE
-j1` for installation).
* `spkg-check` is now `time`d, too.
* Trying to install an already installed spkg now suggests using `-f`.
* Some restructuring and simplification, removed useless code.
* Lots of comments (including TODOs) added, some cosmetic changes.
Harder to review, but please also do. ;-)
(Patch is based on the rebased v2, i.e. should be applied after that.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11021#comment:18>
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.