diff options
author | Serban Udrea <S.Udrea@gsi.de> | 2011-11-04 21:35:48 -0200 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-11-04 21:35:48 -0200 |
commit | 79254b4b6f10375a4bb479276a842178a4f05ddd (patch) | |
tree | b38a53853a7fb735abe4ae697a395ee5cdf72354 | |
parent | 5a4f77a6c2ae8babd9d25dff50cd9ab85c3859f2 (diff) | |
download | slackbuilds-79254b4b6f10375a4bb479276a842178a4f05ddd.tar.gz |
libraries/matplotlib: Updated for version 1.1.0.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
-rw-r--r-- | libraries/matplotlib/libpng-1.4.patch | 12 | ||||
-rw-r--r-- | libraries/matplotlib/matplotlib.SlackBuild | 11 | ||||
-rw-r--r-- | libraries/matplotlib/matplotlib.info | 8 | ||||
-rw-r--r-- | libraries/matplotlib/slack-desc | 4 |
4 files changed, 11 insertions, 24 deletions
diff --git a/libraries/matplotlib/libpng-1.4.patch b/libraries/matplotlib/libpng-1.4.patch deleted file mode 100644 index 8fe04de8af..0000000000 --- a/libraries/matplotlib/libpng-1.4.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur matplotlib-0.99.1.1-orig/src/_png.cpp matplotlib-0.99.1.1/src/_png.cpp ---- matplotlib-0.99.1.1-orig/src/_png.cpp 2010-01-25 01:42:32.000000000 -0500 -+++ matplotlib-0.99.1.1/src/_png.cpp 2010-01-25 01:43:17.000000000 -0500 -@@ -290,7 +290,7 @@ - - //free the png memory - png_read_end(png_ptr, info_ptr); -- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); -+ png_destroy_read_struct(&png_ptr, &info_ptr, NULL); - fclose(fp); - for (row = 0; row < height; row++) - delete [] row_pointers[row]; diff --git a/libraries/matplotlib/matplotlib.SlackBuild b/libraries/matplotlib/matplotlib.SlackBuild index 11ffa42bbd..517f7f61df 100644 --- a/libraries/matplotlib/matplotlib.SlackBuild +++ b/libraries/matplotlib/matplotlib.SlackBuild @@ -5,20 +5,19 @@ # Written by Aleksandar Samardzic <asamardzic@gmail.com> # Updated to 0.99.1.2 by João Felipe Santos <joao.eel@gmail.com> # Patch for libpng borrowed from Arch Linux +# Updated for version 1.1.0 by Serban Udrea <S.Udrea@gsi.de> PRGNAM=matplotlib -VERSION=${VERSION:-0.99.1.2} +VERSION=${VERSION:-1.1.0} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -TARBALL_VERSION=0.99.1.1 # Tarball dir has wrong version number +TARBALL_VERSION=1.1.0 # Tarball sometimes has a wrong version number -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -43,7 +42,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -patch -p1 < $CWD/libpng-1.4.patch +# patch -p1 < $CWD/libpng-1.4.patch # Does not seem to be needed anymore # Use setup.cfg to tell setup.py not to install pytz and dateutil mv setup.cfg.template setup.cfg @@ -57,7 +56,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - CHANGELOG INSTALL INTERACTIVE KNOWN_BUGS README.txt TODO \ + CHANGELOG INSTALL README.txt TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/matplotlib/matplotlib.info b/libraries/matplotlib/matplotlib.info index 9e7968f7bf..25789440da 100644 --- a/libraries/matplotlib/matplotlib.info +++ b/libraries/matplotlib/matplotlib.info @@ -1,10 +1,10 @@ PRGNAM="matplotlib" -VERSION="0.99.1.2" +VERSION="1.1.0" HOMEPAGE="http://matplotlib.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/matplotlib/matplotlib-0.99.1.2.tar.gz" -MD5SUM="952e2c992e4a762b8538171f51c9140a" +DOWNLOAD="http://kent.dl.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.1.0/matplotlib-1.1.0.tar.gz" +MD5SUM="57a627f30b3b27821f808659889514c2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Serban Udrea" EMAIL="S.Udrea@gsi.de" -APPROVED="pprkut" +APPROVED="pprkut,Niels Horn" diff --git a/libraries/matplotlib/slack-desc b/libraries/matplotlib/slack-desc index c7a91e2ea1..07979cdc7e 100644 --- a/libraries/matplotlib/slack-desc +++ b/libraries/matplotlib/slack-desc @@ -5,14 +5,14 @@ # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. - |-----handy-ruler--------------------------------------------------| + |-----handy-ruler------------------------------------------------------| 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: Homepage: http://matplotlib.sourceforge.net/ matplotlib: matplotlib: |