# Template file for 'python3-h5py'
pkgname=python3-h5py
version=3.12.1
revision=2
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=326d70b53d31baa61f00b8aa5f95c2fcb9621a3ee8365d770c551a13dbbcbfdf
# Tests require unpackaged pytest-mpi
make_check=no

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

post_install() {
	vlicense LICENSE
}
