aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-27 15:22:30 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-28 05:43:35 +0700
commit2a406c5075d9310a32d63adffa6b784e4c348019 (patch)
treef9e56e88ff54b73bf3a0de1c34d47363b0022d3e
parent1085bc270a4f6aac95daec2791aa372370136632 (diff)
academic/sage: Downgraded to 7.2.
Built in python was compiled against UCS-4. Slackware's readline is not linked to ncurses, causing problems similar to here: https://bugs.archlinux.org/task/39731. We will try to bump sage in the next Slackware release when everything is fixed, including Python that is compiled against UCS-4. Adding a note for now. Thanks to Mehran Hosseini for the bug report. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/sage/README11
-rw-r--r--academic/sage/sage.SlackBuild2
-rw-r--r--academic/sage/sage.info6
3 files changed, 15 insertions, 4 deletions
diff --git a/academic/sage/README b/academic/sage/README
index 95e4799699ca4..e0c4bc33c1b39 100644
--- a/academic/sage/README
+++ b/academic/sage/README
@@ -14,3 +14,14 @@ redefine $TMP and/or $OUTPUT.
See README.BUILDOPTS for additional (important) information about
build options and such.
+
+NOTE:
+Future SAGE (7.3+) requires some changes in Slackware's core packages:
+- readline must be linked to ncurses
+ Get readline's SlackBuild script, change this line
+ make $NUMJOBS static shared || make static shared || exit 1
+ into
+ make $NUMJOBS static shared SHLIB_LIBS=-lncurses || make static
+ shared SHLIB_LIBS=-lncurses || exit 1
+ and rebuilt readline.
+- Python rebuilt against UCS-4 (enabled by default in next Slackware)
diff --git a/academic/sage/sage.SlackBuild b/academic/sage/sage.SlackBuild
index 3ecd0835ec44e..000e190b1b4f5 100644
--- a/academic/sage/sage.SlackBuild
+++ b/academic/sage/sage.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sage
-VERSION=${VERSION:-7.3}
+VERSION=${VERSION:-7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/academic/sage/sage.info b/academic/sage/sage.info
index 0e8afb1f92cb9..3ca0311d5355b 100644
--- a/academic/sage/sage.info
+++ b/academic/sage/sage.info
@@ -1,8 +1,8 @@
PRGNAM="sage"
-VERSION="7.3"
+VERSION="7.2"
HOMEPAGE="http://www.sagemath.org"
-DOWNLOAD="http://mirrors.mit.edu/sage/src/sage-7.3.tar.gz"
-MD5SUM="a289e955f9c94be3e4420ee86d8302a7"
+DOWNLOAD="http://mirrors.mit.edu/sage/src/sage-7.2.tar.gz"
+MD5SUM="d0c5e81683dc79a7654206e57e6e727a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""