Re: [sage-devel] Sagemath 4.1 rpm in Mandriva 2010.0

4 views
Skip to first unread message

William Stein

unread,
Aug 28, 2009, 1:04:15 AM8/28/09
to sage-...@googlegroups.com, debia...@googlegroups.com
2009/8/27 Paulo César Pereira de Andrade
<paulo.cesar.per...@gmail.com>:
>
>  Hi,
>
>  I would like to let people know that there is a sagemath 4.1 package
> for Mandriva cooker,
> and it should be shipped as a contrib package in Mandriva 2010.0.

Awesome!! Now Mandriva will have the most up to date proper
packaging of Sage for any Linux distro. Debian also has Sage, but it
is a bit out of date right now.

May I ask roughly how much work this was? Are there changes that we
should make to our spkg's to make things easier for you?

>  This is not an official announcement of Mandriva, and rpm sources
> can be viewed at
> http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/sagemath/current/
>
>  The package should be stable, but I am still resolving some issues
> with 'sage -testall',
> as not all components match sage spkgs; there are several errors due to
> python deprecation messages followed by the correct result, or false positives
> due to Mandriva using pari 2.3.4 and sage 4.1 using pari 2.3.3; so far, with
> over 125000 tests passing clearly, there are still around 100 that I am checking
> to ensure they are not real errors.
>

When in doubt feel free to post the tests here for comment.

William

Harald Schilly

unread,
Aug 28, 2009, 3:55:36 AM8/28/09
to debian-sage
On Aug 28, 7:04 am, William Stein <wst...@gmail.com> wrote:
> Are there changes that we
> should make to our spkg's to make things easier for you?

Really nice, I looked at the patches, seems like it starts at 3.4.3,
goes then to 4.0 and then 4.1. Much is about disabling build
capabilities, but some details might be interesting in general. For
example, moving the temp directory for sage-ptest to dot_sage:

--- sage-4.1/spkg/build/sage_scripts-4.1/sage-ptest.orig 2009-08-21
16:42:26.000000000 -0300
+++ sage-4.1/spkg/build/sage_scripts-4.1/sage-ptest 2009-08-21
16:42:50.000000000 -0300
@@ -294,8 +294,8 @@ for gr in range(0,numglobaliteration):

failed = []

- SAGE_ROOT=os.environ['SAGE_ROOT']
- TMP=SAGE_ROOT + "/tmp/test/"
+ DOT_SAGE=os.environ['DOT_SAGE']
+ TMP=DOT_SAGE + "/tmp/test/"
if not os.path.exists(TMP):
os.makedirs(TMP)

or little things like
http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/sagemath/current/SOURCES/sage-4.1-doc.patch?revision=411490&view=markup


I'm sure there are other details hidden that might help to package
sage.

H
Reply all
Reply to author
Forward
0 new messages