academic/sage: Updated for version 6.5.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2015-02-19 18:22:48 +07:00
parent 906015fffd
commit 2b9473f833
3 changed files with 40 additions and 4 deletions

View file

@ -0,0 +1,33 @@
--- sage-6.5/configure.old 2015-02-19 08:11:31.873711070 +0700
+++ sage-6.5/configure 2015-02-19 08:12:00.982710447 +0700
@@ -2942,19 +2942,19 @@
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for root user" >&5
-$as_echo_n "checking for root user... " >&6; }
+#{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for root user" >&5
+#$as_echo_n "checking for root user... " >&6; }
-uid=`id -u`
-if test "x$uid" == "x0"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- as_fn_error $? "You cannot build Sage as root, switch to a unpriviledged user" "$LINENO" 5
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
+#uid=`id -u`
+#if test "x$uid" == "x0"; then
+# { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+#$as_echo "yes" >&6; }
+# as_fn_error $? "You cannot build Sage as root, switch to a unpriviledged user" "$LINENO" 5
+#else
+# { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+#$as_echo "no" >&6; }
-fi;
+#fi;
#---------------------------------------------------------

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sage PRGNAM=sage
VERSION=${VERSION:-6.4.1} VERSION=${VERSION:-6.5}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -63,6 +63,9 @@ mkdir -p $PKG/$SAGEROOT $PKG/usr/share/{applications,pixmaps} \
# Added freeBSD patch to build as root, thanks to Heinz for pointing it # Added freeBSD patch to build as root, thanks to Heinz for pointing it
patch -p0 < $CWD/pynac.patch patch -p0 < $CWD/pynac.patch
# Added more patch to build as root.
patch -p1 < $CWD/sage-build-root.patch
make make
# test all examples in the documentation (over 93,000 line of input) # test all examples in the documentation (over 93,000 line of input)

View file

@ -1,8 +1,8 @@
PRGNAM="sage" PRGNAM="sage"
VERSION="6.4.1" VERSION="6.5"
HOMEPAGE="http://www.sagemath.org" HOMEPAGE="http://www.sagemath.org"
DOWNLOAD="http://boxen.math.washington.edu/home/sagemath/sage-mirror/src/sage-6.4.1.tar.gz" DOWNLOAD="http://boxen.math.washington.edu/home/sagemath/sage-mirror/src/sage-6.5.tar.gz"
MD5SUM="9e64f198f791577555344b9aaa6768a9" MD5SUM="ec9195561ffa2bcbc02391ac5af4e7ed"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""