parent
daf98f93ac
commit
69fbfa0b3e
1 changed files with 34 additions and 0 deletions
34
srcpkgs/python3-contourpy/template
Normal file
34
srcpkgs/python3-contourpy/template
Normal 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
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue