28 lines
726 B
Bash
28 lines
726 B
Bash
|
# Template file for 'python3-h5py'
|
||
|
pkgname=python3-h5py
|
||
|
version=3.7.0
|
||
|
revision=1
|
||
|
wrksrc="${pkgname#python3-}-${version}"
|
||
|
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=3fcf37884383c5da64846ab510190720027dca0768def34dd8dcb659dbe5cbf3
|
||
|
# Tests require unpackaged pytest-mpi
|
||
|
make_check=no
|
||
|
|
||
|
pre_build() {
|
||
|
# Build in parallel
|
||
|
make_build_args+=" ${makejobs}"
|
||
|
}
|
||
|
|
||
|
post_install() {
|
||
|
vlicense LICENSE
|
||
|
}
|