academic/sage: Updated for version 9.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Christopher L Duston 2020-02-08 14:35:48 +07:00 committed by Willy Sudiarto Raharjo
parent 9642954ffe
commit 3dbc66f96a
4 changed files with 14 additions and 9 deletions

View file

@ -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"

View file

@ -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

View file

@ -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

View file

@ -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"