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