diff options
author | Jack Maddox <jack@auburn.edu> | 2011-09-05 21:26:41 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-09-05 23:03:03 -0500 |
commit | 8a5219d1a754187610355c48ba40e37d09a51f40 (patch) | |
tree | 3b98a79efdb7884f73efc5512672efb60ebb3df9 | |
parent | 792d643422e56bbb3e623b922eb04726e837e90d (diff) | |
download | slackbuilds-8a5219d1a754187610355c48ba40e37d09a51f40.tar.gz |
academic/sage: Updated for version 4.7.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r-- | academic/sage/README | 12 | ||||
-rw-r--r-- | academic/sage/sage.SlackBuild | 19 | ||||
-rw-r--r-- | academic/sage/sage.info | 8 | ||||
-rw-r--r-- | academic/sage/slack-desc | 10 |
4 files changed, 25 insertions, 24 deletions
diff --git a/academic/sage/README b/academic/sage/README index 2a59ca5dd6..f3e637b5c3 100644 --- a/academic/sage/README +++ b/academic/sage/README @@ -1,10 +1,10 @@ -Sage is a free open-source mathematics software system licensed under -the GPL. It combines the power of many existing open-source packages -into a common Python-based interface. -Mission: Creating a viable free open source alternative to Magma, +Sage is a free open-source mathematics software system licensed under +the GPL. It combines the power of many existing open-source packages +into a common Python-based interface. +Mission: Creating a viable free open source alternative to Magma, -Sage can be used in several ways: through an interactive command line, -by writing stand-alone scripts, through the graphical notebook +Sage can be used in several ways: through an interactive command line, +by writing stand-alone scripts, through the graphical notebook interface in a browser, or through the KDE Cantor application (part of a full Slackware installation). diff --git a/academic/sage/sage.SlackBuild b/academic/sage/sage.SlackBuild index b65bfa9bb4..88b6c77e8c 100644 --- a/academic/sage/sage.SlackBuild +++ b/academic/sage/sage.SlackBuild @@ -4,7 +4,7 @@ # Written by Jack Maddox <jack@auburn.edu> PRGNAM=sage -VERSION=${VERSION:-4.7} +VERSION=${VERSION:-4.7.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -26,7 +26,7 @@ SAGEROOT=${SAGEROOT:-/opt/sage} set -e rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT +mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar @@ -37,7 +37,7 @@ find . \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; - + mkdir -p $PKG/$SAGEROOT $PKG/usr/share/{applications,pixmaps} \ $PKG/usr/doc/$PRGNAM-$VERSION $PKG/etc/profile.d make @@ -45,7 +45,7 @@ make # test all examples in the documentation (over 93,000 line of input) [ "${TEST:-no}" = "yes" ] && make test -# build the pdf version of the documentation +# build the pdf version of the documentation # (Note: this requires a LaTeX installation) if [ "${PDFDOC:-no}" = "yes" ]; then ./sage -docbuild all pdf @@ -66,8 +66,8 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true # Sage installs specific versions of a number of software components which -# may be different from the system-wide versions of those components. For -# this reason, the man and info pages are not moved to /usr/man and +# may be different from the system-wide versions of those components. For +# this reason, the man and info pages are not moved to /usr/man and # /usr/info. To avoid possible conflicts, they are compressed in place. find $PKG/$SAGEROOT/local/man -type f -exec gzip -9 {} \; for i in $( find $PKG/$SAGEROOT/local/man -type l ) ; do @@ -84,8 +84,8 @@ sed "s%SAGEROOT%${SAGEROOT}%" $CWD/profile.d/sage.sh > $PKG/etc/profile.d/sage.s sed "s%SAGEROOT%${SAGEROOT}%" $CWD/profile.d/sage.csh > $PKG/etc/profile.d/sage.csh chmod 0755 $PKG/etc/profile.d/* -# install scripts to SAGEROOT/bin that allow the internal sage versions of: gap, -# gp, singular, maxima, M2, kash, mwrank, ipython, hg, and R to be run independently +# install scripts to SAGEROOT/bin that allow the internal sage versions of: gap, +# gp, singular, maxima, M2, kash, mwrank, ipython, hg, and R to be run independently # and add SAGEROOT/bin to the PATH if [ "${INSTALLSCRIPTS:-no}" = "yes" ]; then mkdir $PKG$SAGEROOT/bin @@ -108,5 +108,6 @@ cat $CWD/slack-desc > $PKG/install/slack-desc sed "s%SAGEROOT%${SAGEROOT}%" $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -chown -R root:root . # some ownership is not correct; this is an easy fix +# Some ownership is not correct; this is an easy fix +chown -R root:root . /sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/academic/sage/sage.info b/academic/sage/sage.info index 96080e0d77..f1f86076b5 100644 --- a/academic/sage/sage.info +++ b/academic/sage/sage.info @@ -1,10 +1,10 @@ PRGNAM="sage" -VERSION="4.7" +VERSION="4.7.1" HOMEPAGE="http://www.sagemath.org" -DOWNLOAD="http://sage.math.washington.edu/home/release/sage-4.7/sage-4.7.tar" -MD5SUM="db4d891feed487e1696b8d01ae3b6469" +DOWNLOAD="http://sage.math.washington.edu/home/release/sage-4.7.1/sage-4.7.1.tar" +MD5SUM="4d82c6719d14a1c2d403024d989faac7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Jack Maddox" EMAIL="jack@auburn.edu" -APPROVED="rworkman" +APPROVED="dsomero" diff --git a/academic/sage/slack-desc b/academic/sage/slack-desc index 1f70c7c975..c51611a95c 100644 --- a/academic/sage/slack-desc +++ b/academic/sage/slack-desc @@ -8,11 +8,11 @@ |-----handy-ruler------------------------------------------------------| sage: sage (python based mathematics software) sage: -sage: Sage is a free open-source mathematics software system licensed under -sage: the GPL. It combines the power of many existing open-source packages -sage: into a common Python-based interface. -sage: Mission: Creating a viable free open source alternative to Magma, -sage: Maple, Mathematica and Matlab. +sage: Sage is a free open-source mathematics software system licensed under +sage: the GPL. It combines the power of many existing open-source packages +sage: into a common Python-based interface. +sage: Mission: Creating a viable free open source alternative to Magma, +sage: Maple, Mathematica and Matlab. sage: sage: Home: http://www.sagemath.org sage: |