python3-matplotlib: update to 3.5.0.

This commit is contained in:
Andrew J. Hesford 2021-11-19 08:24:21 -05:00
parent 01e6bab3df
commit 84973adcad

View file

@ -1,11 +1,11 @@
# Template file for 'python3-matplotlib' # Template file for 'python3-matplotlib'
pkgname=python3-matplotlib pkgname=python3-matplotlib
version=3.4.3 version=3.5.0
revision=2 revision=1
wrksrc="matplotlib-${version}" wrksrc="matplotlib-${version}"
build_style=python3-module build_style=python3-module
build_helper="numpy" build_helper="numpy"
hostmakedepends="pkg-config python3-setuptools python3-certifi python3-numpy" hostmakedepends="pkg-config python3-setuptools_scm python3-certifi python3-numpy"
makedepends="python3-devel freetype-devel libpng-devel libqhull-devel" makedepends="python3-devel freetype-devel libpng-devel libqhull-devel"
depends="python3-certifi python3-cycler python3-kiwisolver depends="python3-certifi python3-cycler python3-kiwisolver
python3-numpy python3-Pillow python3-parsing python3-dateutil" python3-numpy python3-Pillow python3-parsing python3-dateutil"
@ -14,13 +14,17 @@ maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="custom:matplotlib, BSD-3-Clause, MIT" license="custom:matplotlib, BSD-3-Clause, MIT"
homepage="https://matplotlib.org/" homepage="https://matplotlib.org/"
distfiles="https://github.com/matplotlib/matplotlib/archive/v${version}.tar.gz" distfiles="https://github.com/matplotlib/matplotlib/archive/v${version}.tar.gz"
checksum=474c4c5555476eb35f44cfd00a4c9b7b24fff9cef685ec80e52260cc33558b0c checksum=fc46f0eb54d9d51ddf0637e383afce2fdb6e352d894a81993b25d8df41eddaaf
replaces="python3-matplotlib-data>=0" replaces="python3-matplotlib-data>=0"
# Comparison of images is too frail for validation # Comparison of images is too frail for validation
make_check="no" make_check="no"
post_patch() {
vsed -e '/setuptools_scm_git_archive/d' -i setup.py
}
pre_build() { pre_build() {
cat <<-EOF > setup.cfg cat <<-EOF > mplsetup.cfg
[libs] [libs]
system_freetype = true system_freetype = true
system_qhull = true system_qhull = true