python-matplotlib: update to 1.5.2

This commit is contained in:
Alessio Sergi 2016-08-21 23:55:45 +02:00
parent dd95441818
commit 96b05874a4

View file

@ -1,7 +1,7 @@
# Template file for 'python-matplotlib'
pkgname=python-matplotlib
version=1.5.1
revision=3
version=1.5.2
revision=1
wrksrc="matplotlib-${version}"
build_style=python-module
python_versions="2.7 3.4"
@ -23,7 +23,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://matplotlib.org/"
license="matplotlib, BSD, MIT"
distfiles="${PYPI_SITE}/m/matplotlib/matplotlib-${version}.tar.gz"
checksum=3ab8d968eac602145642d0db63dd8d67c85e9a5444ce0e2ecb2a8fedc7224d40
checksum=8875d763c9e0d0ae01fefd5ebbe2b22bde5f080037f9467126d5dbee31785913
export XDG_RUNTIME_DIR=/tmp
@ -35,8 +35,6 @@ pre_build() {
[rc_options]
backend = Agg
EOF
# remove shebangs
find . -type f -name '*.py' -exec sed -i "s,^#!.*python$,," {} +
# adjust path
sed -i 's,\(site-packages/matplotlib/mpl-data\),/etc,' matplotlibrc.template
}