void-packages/srcpkgs/python3-mpi4py/template
2021-10-09 08:01:27 -04:00

25 lines
790 B
Bash

# Template file for 'python3-mpi4py'
pkgname=python3-mpi4py
version=3.0.3
revision=3
wrksrc="mpi4py-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython gcc-fortran openmpi"
makedepends="python3-devel openmpi-devel"
depends="openmpi"
short_desc="Python bindings for the Message Passing Interface (MPI) standard"
maintainer="Anders Damsgaard <anders@adamsgaard.dk>"
license="BSD-2-Clause"
homepage="https://bitbucket.org/mpi4py/mpi4py"
distfiles="$PYPI_SITE/m/mpi4py/mpi4py-${version}.tar.gz"
checksum=012d716c8b9ed1e513fcc4b18e5af16a8791f51e6d1716baccf988ad355c5a1f
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
}