From ba27590f8742ffcc37e3dccef641c30784491319 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Tue, 12 Aug 2014 00:47:48 +0700 Subject: academic/sage: Updated for version 6.3. Signed-off-by: Willy Sudiarto Raharjo --- academic/sage/pynac.patch | 10 ++++++++++ academic/sage/sage.SlackBuild | 7 ++++++- academic/sage/sage.info | 6 +++--- 3 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 academic/sage/pynac.patch diff --git a/academic/sage/pynac.patch b/academic/sage/pynac.patch new file mode 100644 index 0000000000..c8a0cdc26b --- /dev/null +++ b/academic/sage/pynac.patch @@ -0,0 +1,10 @@ +--- build/pkgs/pynac/spkg-install.orig 2014-08-11 20:52:14.220516400 +0700 ++++ build/pkgs/pynac/spkg-install 2014-08-11 20:52:27.906551659 +0700 +@@ -31,6 +31,7 @@ + + build_pynac() + { ++ chmod -R g-w ${PYNACDIR} + cd ${PYNACDIR} + PKG_CONFIG_PATH=${SAGE_LOCAL}/lib/pkgconfig; export PKG_CONFIG_PATH + ./configure --disable-static --prefix=${SAGE_LOCAL} --libdir="$SAGE_LOCAL/lib" diff --git a/academic/sage/sage.SlackBuild b/academic/sage/sage.SlackBuild index bdbbd7bfda..64c53337d2 100644 --- a/academic/sage/sage.SlackBuild +++ b/academic/sage/sage.SlackBuild @@ -5,7 +5,7 @@ # Currently maintained by Willy Sudiarto Raharjo PRGNAM=sage -VERSION=${VERSION:-6.1} +VERSION=${VERSION:-6.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -41,6 +41,10 @@ find -L . \ mkdir -p $PKG/$SAGEROOT $PKG/usr/share/{applications,pixmaps} \ $PKG/usr/doc/$PRGNAM-$VERSION $PKG/etc/profile.d + +# Added freeBSD patch to build as root, thanks to Heinz for pointing it +patch -p0 < $CWD/pynac.patch + make # test all examples in the documentation (over 93,000 line of input) @@ -62,6 +66,7 @@ if [ "$OPTIONALSPKG" != "no" ]; then fi cp -av * $PKG/$SAGEROOT +rm -rf $PKG/$SAGEROOT/{upstream,logs} find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/academic/sage/sage.info b/academic/sage/sage.info index a3841ae112..9df2e6daee 100644 --- a/academic/sage/sage.info +++ b/academic/sage/sage.info @@ -1,8 +1,8 @@ PRGNAM="sage" -VERSION="6.1" +VERSION="6.3" HOMEPAGE="http://www.sagemath.org" -DOWNLOAD="http://www.sagemath.org/src-old/sage-6.1.tar.gz" -MD5SUM="75130374fcdb9395955db81f1ed28422" +DOWNLOAD="http://boxen.math.washington.edu/home/sagemath/sage-mirror/src/sage-6.3.tar.gz" +MD5SUM="668f080be70ffea8d67592ca00d161eb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3