From a1d894864acb3a26ff07245ba7b445b4c12b8517 Mon Sep 17 00:00:00 2001 From: yoctocell Date: Fri, 17 Jul 2020 16:01:06 +0200 Subject: [PATCH] python3-matplotlib: update to 3.3.0 --- srcpkgs/python3-matplotlib/template | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python3-matplotlib/template b/srcpkgs/python3-matplotlib/template index 7182291fa36..7432eb0591c 100644 --- a/srcpkgs/python3-matplotlib/template +++ b/srcpkgs/python3-matplotlib/template @@ -1,12 +1,13 @@ # Template file for 'python3-matplotlib' pkgname=python3-matplotlib -version=3.2.1 +version=3.3.0 revision=1 wrksrc="matplotlib-${version}" build_style=python3-module -hostmakedepends="pkg-config python3-setuptools python3-numpy" +build_helper="numpy" +hostmakedepends="pkg-config python3-setuptools" # XXX use internal copy of agg, highly patched -makedepends="python3-devel freetype-devel libpng-devel" +makedepends="python3-devel freetype-devel libpng-devel libqhull-devel" depends="python3-matplotlib-data>=${version}_${revision} python3-numpy python3-dateutil python3-parsing python3-cycler python3-kiwisolver" short_desc="Python3 2D/3D plotting library" @@ -14,7 +15,15 @@ maintainer="Alessio Sergi " license="custom:matplotlib, BSD-3-Clause, MIT" homepage="https://matplotlib.org/" distfiles="https://github.com/matplotlib/matplotlib/archive/v${version}.tar.gz" -checksum=5462728ed3be60af21bd8a6b33f5f1632dabdb3c1b3cc279cffb05926a48255c +checksum=ee72a23bd5310a69a96c8527901d4ce71820bcbee260c04d1ef2069201c9b98a + +pre_build() { + cat <<-EOF > setup.cfg + [libs] + system_freetype = true + system_qhull = true + EOF +} post_install() { vdoc "${FILESDIR}/README.voidlinux"