blob: 77d8bbcc89e5e28c704465e75fa823db8a7b43ef (
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
|
# Contributor: Martell Malone <martellmalone@gmail.com>
# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
pkgname=py3-scipy
pkgver=1.3.2
pkgrel=0
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"
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="07aee19c60e72a359f61a45c6a8460b57b27243f4a3933b8606dfeb0925e1c99f57de106dd6ec689d0fb0590a405ff0a2b5a4edc43b0d66663bcbe08fdf8e77e scipy-1.3.2.tar.xz"
|