# Template file for 'python3-h5py'
pkgname=python3-h5py
version=3.8.0
revision=1
build_style=python3-module
build_helper="numpy"
hostmakedepends="python3-setuptools python3-Cython python3-pkgconfig"
makedepends="python3-devel hdf5-devel"
depends="python3-numpy"
short_desc="HDF5 for Python"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="BSD-3-Clause"
homepage="http://www.h5py.org/"
distfiles="${PYPI_SITE}/h/h5py/h5py-${version}.tar.gz"
checksum=6fead82f0c4000cf38d53f9c030780d81bfa0220218aee13b90b7701c937d95f
# Tests require unpackaged pytest-mpi
make_check=no

pre_build() {
	# Build in parallel
	make_build_args+=" ${makejobs}"
}

post_install() {
	vlicense LICENSE
}
