mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/matplotlibs: Updated for version 1.5.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
73c204903a
commit
49349f85ab
3 changed files with 295 additions and 507 deletions
|
@ -2,17 +2,38 @@
|
|||
|
||||
# Slackware build script for matplotlib
|
||||
|
||||
# Copyright 2011-2016 Serban Udrea <s.udrea@gsi.de>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification,
|
||||
# is permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of this script must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
|
||||
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
||||
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# 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 up to version 1.4.1 by Serban Udrea <S.Udrea@gsi.de>
|
||||
# Updated up to version 1.5.2 by Serban Udrea <S.Udrea@gsi.de>
|
||||
|
||||
PRGNAM=matplotlib
|
||||
VERSION=${VERSION:-1.4.2}
|
||||
VERSION=${VERSION:-1.5.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
TARBALL_VERSION=1.4.2 # Tarball sometimes has a wrong version number
|
||||
TARBALL_VERSION=${TARBALL_VERSION:-1.5.2} # Tarball sometimes has a wrong version number
|
||||
DISABLE_TESTS=${DISABLE_TESTS:-Y}
|
||||
DISABLE_TK_TESTS=${DISABLE_TK_TESTS:-Y}
|
||||
|
||||
|
@ -46,6 +67,7 @@ find -L . \
|
|||
|
||||
# Use setup.cfg to decide about the optional subpackages tests and
|
||||
# toolkits_tests
|
||||
#
|
||||
cat setup.cfg.template > setup.cfg
|
||||
|
||||
DISABLE_TESTS=$(echo "$DISABLE_TESTS"|cut -b 1|tr a-z A-Z)
|
||||
|
@ -69,10 +91,10 @@ fi
|
|||
|
||||
# Use modified setupext.py to make sure that the build process gets
|
||||
# interrupted if requirements are not fulfilled
|
||||
|
||||
#
|
||||
cat "${CWD}/setupext.py" > setupext.py
|
||||
|
||||
python setup.py install --root $PKG # > ${CWD}/SETUP.OUTPUT 2>&1
|
||||
python setup.py install --root $PKG # > ${CWD}/SETUP.OUTPUT 2>&1
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="matplotlib"
|
||||
VERSION="1.4.2"
|
||||
VERSION="1.5.2"
|
||||
HOMEPAGE="http://matplotlib.org/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/matplotlib/matplotlib-1.4.2.tar.gz"
|
||||
MD5SUM="7d22efb6cce475025733c50487bd8898"
|
||||
DOWNLOAD="https://pypi.python.org/packages/15/89/240b4ebcd63bcdde9aa522fbd2e13f0af3347bea443cb8ad111e3b4c6f3a/matplotlib-1.5.2.tar.gz#md5=66f35e55cc15455eb37b415ae51f1e51"
|
||||
MD5SUM="66f35e55cc15455eb37b415ae51f1e51"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="numpy python-dateutil pytz six tornado pyparsing"
|
||||
REQUIRES="numpy python-dateutil pytz tornado pyparsing cycler"
|
||||
MAINTAINER="Serban Udrea"
|
||||
EMAIL="S.Udrea@gsi.de"
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue