# Contributor: Martell Malone # Maintainer: Isaac Dunham pkgname=py3-scipy pkgver=1.3.3 pkgrel=1 pkgdesc="Python library for scientific computing" url="https://www.scipy.org" arch="all" license="BSD-3-Clause" depends="py3-numpy-f2py" makedepends="cython gfortran openblas-dev>=0.3.0 py3-numpy-dev py3-setuptools python3-dev lapack-dev" source="https://github.com/scipy/scipy/releases/download/v$pkgver/scipy-$pkgver.tar.xz" builddir="$srcdir"/scipy-$pkgver replaces=py-scipy # Backwards compatibility provides=py-scipy=$pkgver-r$pkgrel # Backwards compatibility build() { export LDFLAGS="$LDFLAGS -shared" python3 setup.py config_fc --fcompiler=gnu95 build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="2960862ab90a580b5267421e6a2f1df9382eb7dd674f1d7b46bccb4f425513c469d4ba7eb0ce39f9074f624f20b0fcbc9ce18debbba0fc118aed5087e2a0e6bd scipy-1.3.3.tar.xz"