On Wednesday, February 8, 2012 7:06:14 AM UTC+8, Jeroen Demeyer wrote: > > I came across the following in the Sage Developer guide: > > - If your package depends on another package, say boehmgc, then you > should check that this other package has been installed. Your > ``spkg-install`` script should check that it exists, with code > like the following: > > :: > > BOEHM_GC=`cd $SAGE_ROOT/spkg/standard/; ./newest_version boehm_gc` > if [ $? -ne 0 ]; then > echo "Failed to find boehm_gc. Please install the boehm_gc > spkg" > exit 1 > fi > > Only *one* package does this, namely PPL. Since I think this is neither > needed not used, I propose to remove this. I would also like to get rid > of the newest_version script (#10492). >
well, I'd rather popularize this! E.g. GAP and GAP-related packages use some home-made stuff for a similar task, at least I recall something like this done in Simon's cohomology package. Dima -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org