diff options
Diffstat (limited to 'academic')
-rw-r--r-- | academic/matplotlib/matplotlib.SlackBuild | 24 | ||||
-rw-r--r-- | academic/matplotlib/matplotlib.info | 6 | ||||
-rw-r--r-- | academic/matplotlib/slack-desc | 4 |
3 files changed, 13 insertions, 21 deletions
diff --git a/academic/matplotlib/matplotlib.SlackBuild b/academic/matplotlib/matplotlib.SlackBuild index e68e20ef57bc5..de3c3582b2348 100644 --- a/academic/matplotlib/matplotlib.SlackBuild +++ b/academic/matplotlib/matplotlib.SlackBuild @@ -5,7 +5,7 @@ # Written by Aleksandar Samardzic <asamardzic@gmail.com> PRGNAM=matplotlib -VERSION=${VERSION:-0.98.0} +VERSION=${VERSION:-0.98.5.2} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -15,14 +15,6 @@ TMP=${TMP:-/tmp/SBo} PKG=${PKG:-$TMP/package-$PRGNAM} OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" -fi - set -e rm -rf $PKG @@ -38,19 +30,19 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -python setup.py build python setup.py install --root $PKG ( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null || true + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -install -m 0644 API_CHANGES CHANGELOG INSTALL INTERACTIVE KNOWN_BUGS \ - README.txt TODO $PKG/usr/doc/$PRGNAM-$VERSION +install -m 0644 \ + CHANGELOG INSTALL INTERACTIVE KNOWN_BUGS README.txt TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/academic/matplotlib/matplotlib.info b/academic/matplotlib/matplotlib.info index 1cf93d47f09b7..957b2dec84766 100644 --- a/academic/matplotlib/matplotlib.info +++ b/academic/matplotlib/matplotlib.info @@ -1,8 +1,8 @@ PRGNAM="matplotlib" -VERSION="0.98.0" +VERSION="0.98.5.2" HOMEPAGE="http://matplotlib.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/matplotlib/matplotlib-0.98.0.tar.gz" -MD5SUM="4b50915bb3ef983fb695f2270c069862" +DOWNLOAD="http://downloads.sourceforge.net/matplotlib/matplotlib-0.98.5.2.tar.gz" +MD5SUM="3e8210ec8bb71a18962ec8b43688509c" MAINTAINER="Aleksandar Samardzic" EMAIL="asamardzic@gmail.com" APPROVED="rworkman" diff --git a/academic/matplotlib/slack-desc b/academic/matplotlib/slack-desc index 0308217fb4331..c7a91e2ea1dc1 100644 --- a/academic/matplotlib/slack-desc +++ b/academic/matplotlib/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':'. |-----handy-ruler--------------------------------------------------| -matplotlib: matplotlib (a Python 2D plotting library) +matplotlib: matplotlib (a Python 2D plotting library) matplotlib: matplotlib: Matplotlib is a plotting library for Python which uses matplotlib: syntax similar to MATLAB. Matplotlib produces publication matplotlib: quality figures in a variety of hardcopy formats and matplotlib: interactive environments across platforms. matplotlib: -matplotlib: Matplotlib home page is: http://matplotlib.sourceforge.net/ +matplotlib: Homepage: http://matplotlib.sourceforge.net/ matplotlib: matplotlib: matplotlib: |