# Template file for 'python3-contourpy'
pkgname=python3-contourpy
version=1.3.3
revision=2
build_style=python3-pep517
build_helper=meson
hostmakedepends="python3-meson-python meson python3-pybind11 pkg-config"
makedepends="python3-pybind11"
depends="python3-numpy"
checkdepends="${depends} python3-pytest-xdist python3-matplotlib"
short_desc="Python library for calculating contours of 2D quadrilateral grids"
maintainer="Alex Childs <misuchiru03+github@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/contourpy/contourpy"
changelog="https://raw.githubusercontent.com/contourpy/contourpy/main/docs/changelog.rst"
distfiles="${PYPI_SITE}/c/contourpy/contourpy-${version}.tar.gz"
checksum=083e12155b210502d0bca491432bb04d56dc3432f95a979b429f2848c3dbe880

# This test needs `wurlitzer`, not packaged
make_check_args="--deselect=tests/test_internal.py::test_write_cache"

post_install() {
	vlicense LICENSE
}
