From 967193805e21767cdb7b7e65178b072670904544 Mon Sep 17 00:00:00 2001 From: Ben Jargowsky Date: Sun, 8 May 2022 16:22:33 +0200 Subject: [PATCH 1/2] New package: python3-pytest-mpi-0.6 --- srcpkgs/python3-pytest-mpi/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/python3-pytest-mpi/template diff --git a/srcpkgs/python3-pytest-mpi/template b/srcpkgs/python3-pytest-mpi/template new file mode 100644 index 000000000000..7290335d9921 --- /dev/null +++ b/srcpkgs/python3-pytest-mpi/template @@ -0,0 +1,18 @@ +# Template file for 'python3-pytest-mpi' +pkgname=python3-pytest-mpi +version=0.6 +revision=1 +wrksrc="${pkgname#*-}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3-py python3-pytest" +short_desc="Assists pytest with MPI relatated code" +maintainer="Ben Jargowsky " +license="BSD-3-Clause" +homepage="http://www.h5py.org/" +distfiles="${PYPI_SITE}/p/pytest-mpi/pytest-mpi-${version}.tar.gz" +checksum=09b3cd3511f8f3cd4d205f54d4a7223724fed0ab68b872ed1123d312152325a9 + +post_install() { + vlicense LICENSE.txt +} From 8557fca12be6a3022d253943de5327d9e4c4b882 Mon Sep 17 00:00:00 2001 From: Ben Jargowsky Date: Wed, 5 Jan 2022 16:01:06 -0800 Subject: [PATCH 2/2] New package: python3-h5py-3.6.0 --- srcpkgs/python3-h5py/template | 23 +++++++++++++++++++++++ 1 file changed, 23 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 000000000000..fe8278d6a17c --- /dev/null +++ b/srcpkgs/python3-h5py/template @@ -0,0 +1,23 @@ +# Template file for 'python3-h5py' +pkgname=python3-h5py +version=3.6.0 +revision=1 +wrksrc="${pkgname#*-}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools pkg-config python3-pytest python3-pytest-mpi" +makedepends="python3-Cython python3-numpy python3-pkgconfig hdf5-devel python3-devel" +short_desc="Read and write HDF5 files from Python" +maintainer="Ben Jargowsky " +license="BSD-3-Clause" +homepage="http://www.h5py.org/" +distfiles="${PYPI_SITE}/h/h5py/h5py-${version}.tar.gz" +checksum=8752d2814a92aba4e2b2a5922d2782d0029102d99caaf3c201a566bc0b40db29 + +do_check() { + cd build/lib* + python3 -c 'import h5py; h5py.run_tests()' +} + +post_install() { + vlicense LICENSE +}