diff --git a/srcpkgs/python3-lap/template b/srcpkgs/python3-lap/template new file mode 100644 index 00000000000..7b3d3b1de85 --- /dev/null +++ b/srcpkgs/python3-lap/template @@ -0,0 +1,21 @@ +# Template file for 'python3-lap' +pkgname=python3-lap +version=0.5.12 +revision=1 +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 " +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 +}