blob: 6725ef8b46cc49d618bb9bb8ff5a5e11f58c5e4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-mpi4py
pkgver=3.1.4
pkgrel=1
pkgdesc="Python bindings for MPI"
url="https://github.com/mpi4py/mpi4py"
arch="all"
license="BSD-2-Clause"
depends="python3"
makedepends="
openmpi-dev
py3-setuptools
python3-dev
"
source="https://github.com/mpi4py/mpi4py/releases/download/$pkgver/mpi4py-$pkgver.tar.gz"
options="!check" # Build errors
builddir="$srcdir/mpi4py-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
f59ad765bc272f8b63f74cfde4e588f640c4fc3d47d05729509da45a2155f830c1d409ec716ff374756748fa8ebfa6e72f9fbe188a6b89ea3fa115740a532b08 mpi4py-3.1.4.tar.gz
"
|