From f6db5f16586d1d5de3c54b5d340d85106acaee0c Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Fri, 10 Jun 2022 22:38:17 -0400 Subject: [PATCH] New package: python3-h5py-3.7.0 --- srcpkgs/python3-h5py/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/python3-h5py/template diff --git a/srcpkgs/python3-h5py/template b/srcpkgs/python3-h5py/template new file mode 100644 index 00000000000..8c9b8c2a213 --- /dev/null +++ b/srcpkgs/python3-h5py/template @@ -0,0 +1,27 @@ +# 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 " +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 +}