Browse Source

l/matplotlib: Upgraded to matplotlib-1.5.1.

slackware-14.2
Damien Goutte-Gattat 6 years ago
parent
commit
e6010e14c3
  1. 1
      l/matplotlib/matplotlib-1.5.0.tar.gz.sha1
  2. 15
      l/matplotlib/matplotlib-1.5.1-svg-miterlimit.patch
  3. 1
      l/matplotlib/matplotlib-1.5.1.tar.gz.sha1
  4. 5
      l/matplotlib/matplotlib.SlackBuild

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

@ -1 +0,0 @@
cf74d1f0fd668563773c57faa927923a9c631530 matplotlib-1.5.0.tar.gz

15
l/matplotlib/matplotlib-1.5.1-svg-miterlimit.patch

@ -0,0 +1,15 @@
diff -Naur matplotlib-1.5.1.orig/lib/matplotlib/backends/backend_svg.py matplotlib-1.5.1/lib/matplotlib/backends/backend_svg.py
--- matplotlib-1.5.1.orig/lib/matplotlib/backends/backend_svg.py 2016-01-11 03:43:13.000000000 +0100
+++ matplotlib-1.5.1/lib/matplotlib/backends/backend_svg.py 2016-03-12 18:46:22.218964040 +0100
@@ -298,10 +298,7 @@
writer = self.writer
default_style = generate_css({
'stroke-linejoin': 'round',
- 'stroke-linecap': 'butt',
- # Disable the miter limit. 100000 seems to be close to
- # the maximum that renderers support before breaking.
- 'stroke-miterlimit': '100000'})
+ 'stroke-linecap': 'butt'})
writer.start('defs')
writer.start('style', type='text/css')
writer.data('*{%s}\n' % default_style)

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

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

5
l/matplotlib/matplotlib.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2014,2015 Damien Goutte-Gattat
# Copyright (C) 2014,2015,2016 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -28,7 +28,7 @@
# Source package infos
NAMESRC=${NAMESRC:-matplotlib}
VERSION=${VERSION:-1.5.0}
VERSION=${VERSION:-1.5.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-$VERSION/$ARCHIVE}
@ -69,6 +69,7 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
patch -p1 < $CWD/matplotlib-1.5.1-svg-miterlimit.patch
python setup.py build
python setup.py install --root=$PKG

Loading…
Cancel
Save