Browse Source

l/matplotlib: Upgraded to matplotlib-1.5.2.

slackware-14.2
Damien Goutte-Gattat 6 years ago
parent
commit
b54ce29f18
  1. 1
      l/matplotlib/matplotlib-1.5.1.tar.gz.sha1
  2. 0
      l/matplotlib/matplotlib-1.5.2-svg-miterlimit.patch
  3. 1
      l/matplotlib/matplotlib-1.5.2.tar.gz.sha1
  4. 12
      l/matplotlib/matplotlib.SlackBuild

1
l/matplotlib/matplotlib-1.5.1.tar.gz.sha1

@ -1 +0,0 @@
bc29bd5ca64fd633748ca8368a5e80e550698d3c matplotlib-1.5.1.tar.gz

0
l/matplotlib/matplotlib-1.5.1-svg-miterlimit.patch → l/matplotlib/matplotlib-1.5.2-svg-miterlimit.patch

1
l/matplotlib/matplotlib-1.5.2.tar.gz.sha1

@ -0,0 +1 @@
2c78d4b1d9cc1e064a7592158977cb22d6606ca7 matplotlib-1.5.2.tar.gz

12
l/matplotlib/matplotlib.SlackBuild

@ -24,13 +24,14 @@
#
# Latest matplotlib sourcecode is available at: <http://matplotlib.org/>.
#
# Depends: l/numpy, l/python-dateutil, n/tornado, l/pyparsing, l/python-cycler
# Depends: l/numpy, l/python-dateutil, n/tornado, l/pyparsing
# Depends: l/python-cycler, l/pytz
# Source package infos
NAMESRC=${NAMESRC:-matplotlib}
VERSION=${VERSION:-1.5.1}
VERSION=${VERSION:-1.5.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-$VERSION/$ARCHIVE}
WGET=${WGET:-https://github.com/matplotlib/matplotlib/archive/v$VERSION.tar.gz}
# Build infos
NAMEPKG=${NAMEPKG:-matplotlib}
@ -69,14 +70,13 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
patch -p1 < $CWD/matplotlib-1.5.1-svg-miterlimit.patch
patch -p1 < $CWD/matplotlib-1.5.2-svg-miterlimit.patch
python setup.py build
python setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 CHANGELOG CONTRIBUTING.md PKG-INFO README.rst \
$PKG/usr/doc/$NAME
install -m 644 CHANGELOG CONTRIBUTING.md README.rst $PKG/usr/doc/$NAME
cp -r LICENSE $PKG/usr/doc/$NAME/LICENSE
# Copy slack-desc file

Loading…
Cancel
Save