From 3dbc66f96a32b9dfab4a57cb0aafd7f41c30bf69 Mon Sep 17 00:00:00 2001 From: Christopher L Duston Date: Sat, 8 Feb 2020 14:35:48 +0700 Subject: academic/sage: Updated for version 9.0. Signed-off-by: Willy Sudiarto Raharjo --- academic/sage/README | 4 ++++ academic/sage/doinst.sh | 2 +- academic/sage/sage.SlackBuild | 7 ++++--- academic/sage/sage.info | 10 +++++----- 4 files changed, 14 insertions(+), 9 deletions(-) (limited to 'academic/sage') 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 -# Currently maintained by Willy Sudiarto Raharjo +# Currently maintained by Christopher L Duston # 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 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" -- cgit v1.2.3