New package: python3-contourpy-1.0.5

Closes: #39857 [via git-merge-pr]
This commit is contained in:
Alex Childs 2022-10-09 19:56:46 -05:00 committed by Andrew J. Hesford
parent daf98f93ac
commit 69fbfa0b3e
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
# Template file for 'python3-contourpy'
pkgname=python3-contourpy
version=1.0.5
revision=1
wrksrc="contourpy-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools python3-pybind11"
makedepends="python3-pybind11"
depends="python3"
checkdepends="${depends} python3-pytest-xdist python3-numpy"
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"
distfiles="${PYPI_SITE}/c/contourpy/contourpy-${version}.tar.gz"
checksum=896631cd40222aef3697e4e51177d14c3709fda49d30983269d584f034acc8a4
# Pulling python3-matplotlib creates a build-time dependency
if [ "$XBPS_CHECK_PKGS" = full ]; then
checkdepends+=" python3-matplotlib"
else
# These tests require matplotlib
make_check_args+="
--ignore=tests/test_config.py
--ignore=tests/test_filled.py
--ignore=tests/test_lines.py
--ignore=tests/test_renderer.py
"
fi
post_install() {
vlicense LICENSE
}