summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher L Duston <christopher.duston@protonmail.com>2020-02-08 14:35:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-02-08 14:35:48 +0700
commit3dbc66f96a32b9dfab4a57cb0aafd7f41c30bf69 (patch)
tree29113ac7f31b02dd091a242260723330758b3edc
parent9642954ffe95c45fb5732e78feb47e3810a78171 (diff)
downloadslackbuilds-3dbc66f96a32b9dfab4a57cb0aafd7f41c30bf69.tar.gz
academic/sage: Updated for version 9.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/sage/README4
-rw-r--r--academic/sage/doinst.sh2
-rw-r--r--academic/sage/sage.SlackBuild7
-rw-r--r--academic/sage/sage.info10
4 files changed, 14 insertions, 9 deletions
diff --git a/academic/sage/README b/academic/sage/README
index c69694fb19..ab5e912702 100644
--- a/academic/sage/README
+++ b/academic/sage/README
@@ -11,10 +11,14 @@ of a full Slackware installation).
Building sage requires >12GB of disk space, so you may need to
redefine $TMP and/or $OUTPUT.
+Note that the build will likely spit out many "zero length file" errors,
+which can safely be ignored.
See README.BUILDOPTS for additional (important) information about
build options and such.
+This package does not include the doc files. Those can be found at doc.sagemath.org.
+
NOTE:
If you have ATOM processors, you need to run this command prior building:
export OPENBLAS_CONFIGURE="TARGET=ATOM"
diff --git a/academic/sage/doinst.sh b/academic/sage/doinst.sh
index 272b54cdf2..afc6c7588b 100644
--- a/academic/sage/doinst.sh
+++ b/academic/sage/doinst.sh
@@ -4,7 +4,7 @@ if [ -x usr/share/texmf/bin/texhash ]; then
fi
# run sage at least once as root after moving it to a new location
-echo "exit" | SAGEROOT/sage
+#echo "exit" | SAGEROOT/sage
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
diff --git a/academic/sage/sage.SlackBuild b/academic/sage/sage.SlackBuild
index 8e6e47ae47..7049bb6d27 100644
--- a/academic/sage/sage.SlackBuild
+++ b/academic/sage/sage.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for sage
# Written by Jack Maddox <jack@auburn.edu>
-# Currently maintained by Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Currently maintained by Christopher L Duston <christopher.duston@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sage
-VERSION=${VERSION:-8.0}
+VERSION=${VERSION:-9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,7 +69,8 @@ patch -p1 < $CWD/sage-build-root.patch
# Thanks to Philip Lacroix <slackph@posteo.de>
rm build/pkgs/python2/patches/sys_path_security-issue_16202.patch
-make
+# The docs do not build correctly, so instead of make, do:
+make build
# test all examples in the documentation (over 93,000 line of input)
[ "${TEST:-no}" = "yes" ] && make test
diff --git a/academic/sage/sage.info b/academic/sage/sage.info
index 24c282defa..c88eea8153 100644
--- a/academic/sage/sage.info
+++ b/academic/sage/sage.info
@@ -1,10 +1,10 @@
PRGNAM="sage"
-VERSION="8.0"
+VERSION="9.0"
HOMEPAGE="http://www.sagemath.org"
-DOWNLOAD="http://mirrors.mit.edu/sage/src/sage-8.0.tar.gz"
-MD5SUM="93bdd128991e9144c4b137d3d6655065"
+DOWNLOAD="http://mirrors.mit.edu/sage/src/sage-9.0.tar.gz"
+MD5SUM="b864b8c19d376193e70eb2c8084bbd50"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere.com"
+MAINTAINER="Christopher L Duston"
+EMAIL="christopher.duston@protonmail.com"