python3-mpi4py: update to 4.0.0.

This commit is contained in:
Andrew J. Hesford 2024-07-31 15:52:08 -04:00
parent 073a2da197
commit 7244797e85
1 changed files with 4 additions and 11 deletions

View File

@ -1,30 +1,23 @@
# Template file for 'python3-mpi4py'
pkgname=python3-mpi4py
version=3.1.6
version=4.0.0
revision=1
# OpenMPI >= 5 is 64-bit only
archs="x86_64* aarch64* ppc64* riscv64*"
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython0.29 gcc-fortran openmpi"
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 <ajh@sideband.org>"
license="BSD-2-Clause"
license="BSD-3-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=c8fa625e0f92b082ef955bfb52f19fa6691d29273d7d71135d295aa143dee6cb
checksum=820d31ae184d69c17d9b5d55b1d524d56be47d2e6cb318ea4f3e7007feff2ccc
# Tests require a sensible MPI environment
make_check=no
post_extract() {
# recythonize
rm src/mpi4py.MPI.c \
src/mpi4py/include/mpi4py/mpi4py.MPI.h \
src/mpi4py/include/mpi4py/mpi4py.MPI_api.h
}
pre_build() {
if [ "${CROSS_BUILD}" ]; then
# Need to tell OpenMPI wrappers to use cross compilers