python3-matplotlib: update to 3.9.0.

This commit is contained in:
Andrew J. Hesford 2024-05-16 21:59:54 -04:00
parent 66cd24bef7
commit ce0ee529bd

View file

@ -1,11 +1,13 @@
# Template file for 'python3-matplotlib'
pkgname=python3-matplotlib
version=3.8.4
version=3.9.0
revision=1
build_style=python3-pep517
build_helper="numpy"
hostmakedepends="pkg-config python3-setuptools_scm python3-certifi
python3-numpy python3-pybind11 python3-wheel"
build_helper="meson numpy"
make_build_args="-Csetup-args=-Dsystem-freetype=true
-Csetup-args=-Dsystem-qhull=true"
hostmakedepends="python3-meson-python pkg-config python3-setuptools_scm
python3-numpy python3-pybind11"
makedepends="python3-devel freetype-devel libpng-devel libqhull-devel python3-pybind11"
depends="python3-cycler fonttools python3-kiwisolver python3-numpy
python3-packaging python3-Pillow python3-parsing python3-dateutil
@ -16,20 +18,11 @@ license="custom:matplotlib, BSD-3-Clause, MIT"
homepage="https://matplotlib.org/"
changelog="https://github.com/matplotlib/matplotlib/releases"
distfiles="${PYPI_SITE}/m/matplotlib/matplotlib-${version}.tar.gz"
checksum=8aac397d5e9ec158960e31c381c5ffc52ddd52bd9a47717e2a694038167dffea
checksum=e6d29ea6c19e34b30fb7d88b7081f869a03014f66fe06d62cc77d5a6ea88ed7a
replaces="python3-matplotlib-data>=0"
# Comparison of images is too frail for validation
make_check="no"
pre_build() {
cat <<-EOF > mplsetup.cfg
[libs]
system_freetype = true
system_qhull = true
EOF
vsed -e "s|'-flto'|'-flto=auto'|" -i setup.py
}
post_install() {
vdoc "${FILESDIR}/README.voidlinux"
vlicense LICENSE/LICENSE