# Template file for 'python3-scikit-image'
pkgname=python3-scikit-image
version=0.19.2
revision=1
_pkgname="${pkgname#python3-}"
wrksrc="${_pkgname}-${version}"
build_style=python3-module
build_helper="numpy"
hostmakedepends="python3-Cython python3-wheel python3-numpy
 python3-packaging python3-setuptools pythran"
makedepends="python3-devel"
depends="python3-scipy python3-numpy python3-imageio python3-matplotlib
 python3-networkx python3-tifffile python3-pywt python3-packaging"
short_desc="Image processing in Python"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="BSD-3-Clause, MIT"
homepage="https://scikit-image.org/"
distfiles="https://github.com/${_pkgname}/${_pkgname}/archive/v${version}.tar.gz"
checksum=e72bb5fbc6d66e250ff52719d573073ed6ac5591411c14ec5fea796f41d7415f
# Tests require data files and unpackaged dependencies
make_check=no

pre_build() {
	make_build_args+=" ${makejobs}"
}

post_install() {
	vlicense LICENSE.txt
}