mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
34 lines
792 B
Text
34 lines
792 B
Text
# 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 --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
f59ad765bc272f8b63f74cfde4e588f640c4fc3d47d05729509da45a2155f830c1d409ec716ff374756748fa8ebfa6e72f9fbe188a6b89ea3fa115740a532b08 mpi4py-3.1.4.tar.gz
|
|
"
|