# Template file for 'python3-lap'
pkgname=python3-lap
version=0.5.12
revision=2
build_style=python3-pep517
make_check_target=".xbps-testdir/*/${py3_sitelib}/lap/tests"
hostmakedepends="python3-setuptools python3-Cython python3-numpy"
makedepends="python3-devel"
depends="python3-numpy"
checkdepends="$depends python3-pytest"
short_desc="Linear Assignment Problem solver (LAPJV/LAPMOD)"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="BSD-2-Clause"
homepage="https://github.com/gatagat/lap"
distfiles="${PYPI_SITE}/l/lap/lap-${version}.tar.gz"
checksum=570b414ea7ae6c04bd49d0ec8cdac1dc5634737755784d44e37f9f668bab44fd

post_install() {
	rm -r ${DESTDIR}/${py3_sitelib}/lap/tests
	vlicense LICENSE
}
