#5903: Remove dist directories from Sage distribution
------------------------------+---------------------------------------------
Reporter: tabbott | Owner: tabbott
Type: task | Status: new
Priority: major | Milestone: sage-4.7
Component: debian-package | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
------------------------------+---------------------------------------------
Old description:
> The dist/ directories currently shipped in various Sage .spkg's have
> resulted in confusion for people a few times.
>
> These directories are no longer used (the Debian packaging for these
> things are now maintained in my own git repositories). So, they should
> be deleted before anyone else gets confused. The list of packages
> needing this treatment is as follows:
>
> {{{
> eclib-20080310.p7
> extcode-3.4.1
> flint-1.2.4.p1
> flintqs-20070817.p4
> gap-4.4.10.p11
> genus2reduction-0.3.p5
> givaro-3.2.13rc2
> iml-1.0.1.p11
> jmol-11.6.16.p0
> lcalc-20080205.p2
> libfplll-2.1.6-20071129.p5
> linbox-1.1.6
> ntl-5.4.2.p6
> palp-1.1.p1
> polybori-0.5rc.p6
> rubiks-20070912.p8
> scipy_sandbox-20071020.p3
> singular-3-0-4-4-20080711.p4
> symmetrica-2.0.p2
> sympow-1.018.1.p6
> tachyon-0.98beta.p8
> zn_poly-0.9.p0
> }}}
>
> Since this is a huge list, we probably want to handle this issue by just
> deleting the dist/ directories the next time each of these .spkg files is
> updated.
New description:
The dist/ directories currently shipped in various Sage .spkg's are no
longer used and should be removed. The current list of packages needing
this treatment is:
{{{
eclib
extcode
flint
gap
givaro
iml
libm4ri
linbox
ntl
palp
rubiks
symmetrica
sympow
zn_poly
}}}
--
Comment(by mariah):
Code to identify packages with dist directory
{{{
#!/usr/bin/python
# search spkgs for dist directory
#
# assumes you start in spkg/standard
import sys,os,subprocess
cur = os.getcwd()
print cur
for filename in os.listdir("."):
if filename.endswith(".spkg"):
val = subprocess.check_output(["file", filename])
if val.find("bzip2") > -1:
basename=filename.rstrip(".spkg")
subprocess.check_output(["cp", filename,basename +".tar.bz2"])
subprocess.check_output(["bunzip2", basename + ".tar.bz2"])
else: # fortran.spkg (only tar'ed)
basename=filename.rstrip(".spkg")
subprocess.check_output(["cp", filename,basename + ".tar"])
subprocess.check_output(["tar", "xf", basename + ".tar"])
if os.path.exists(cur + "/" + basename + "/dist") == True:
print filename
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5903#comment:9>
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.