python-matplotlib: update to 2.1.2

This commit is contained in:
Alessio Sergi 2018-01-21 18:51:21 +01:00
parent 71dadf372f
commit b5fceeb4b7

View file

@ -1,6 +1,6 @@
# Template file for 'python-matplotlib' # Template file for 'python-matplotlib'
pkgname=python-matplotlib pkgname=python-matplotlib
version=2.1.1 version=2.1.2
revision=1 revision=1
wrksrc="matplotlib-${version}" wrksrc="matplotlib-${version}"
build_style=python-module build_style=python-module
@ -21,10 +21,10 @@ depends="python-matplotlib-data>=${version}_${revision} python-numpy
pycompile_module="matplotlib mpl_toolkits pylab.py" pycompile_module="matplotlib mpl_toolkits pylab.py"
short_desc="Python2 2D/3D plotting library" short_desc="Python2 2D/3D plotting library"
maintainer="Alessio Sergi <al3hex@gmail.com>" maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://matplotlib.org/" homepage="https://matplotlib.org/"
license="matplotlib, BSD, MIT" license="matplotlib, BSD, MIT"
distfiles="${PYPI_SITE}/m/matplotlib/matplotlib-${version}.tar.gz" distfiles="https://github.com/matplotlib/matplotlib/archive/v${version}.tar.gz"
checksum=659f5e1aa0e0f01488c61eff47560c43b8be511c6a29293d7f3896ae17bd8b23 checksum=613d79282a0a8ba88cfc52dbcf1b08ab070dae395c3d313d141ccc3f87e3c9fa
export XDG_RUNTIME_DIR=/tmp export XDG_RUNTIME_DIR=/tmp
@ -40,6 +40,7 @@ pre_build() {
sed -i 's,\(site-packages/matplotlib/mpl-data\),/etc,' matplotlibrc.template sed -i 's,\(site-packages/matplotlib/mpl-data\),/etc,' matplotlibrc.template
} }
post_install() { post_install() {
vlicense LICENSE/LICENSE
# remove data files # remove data files
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/matplotlib/mpl-data rm -rf ${DESTDIR}/usr/lib/python*/site-packages/matplotlib/mpl-data
} }