# Template file for 'python3-mpi4py' pkgname=python3-mpi4py version=3.1.2 revision=1 wrksrc="mpi4py-${version}" build_style=python3-module hostmakedepends="python3-setuptools python3-Cython gcc-fortran openmpi" makedepends="python3-devel openmpi-devel" depends="openmpi python3" short_desc="Python bindings for the Message Passing Interface (MPI) standard" maintainer="Andrew J. Hesford " license="BSD-2-Clause" homepage="https://github.com/mpi4py/mpi4py" changelog="https://raw.githubusercontent.com/mpi4py/mpi4py/master/CHANGES.rst" distfiles="$PYPI_SITE/m/mpi4py/mpi4py-${version}.tar.gz" checksum=40dd546bece8f63e1131c3ceaa7c18f8e8e93191a762cd446a8cfcf7f9cce770 # Tests require a sensible MPI environment make_check=no post_extract() { # recythonize rm src/mpi4py/include/mpi4py/mpi4py.MPI.h \ src/mpi4py/include/mpi4py/mpi4py.MPI_api.h \ src/mpi4py.MPI.c } post_install() { vlicense LICENSE.rst }