27 lines
816 B
Bash
27 lines
816 B
Bash
# Template file for 'python3-mpi4py'
|
|
pkgname=python3-mpi4py
|
|
version=3.0.2
|
|
revision=2
|
|
wrksrc="mpi4py-${version}"
|
|
build_style=python3-module
|
|
pycompile_module="mpi4py"
|
|
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=f8d629d1e3e3b7b89cb99d0e3bc5505e76cc42089829807950d5c56606ed48e0
|
|
|
|
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
|
|
}
|