blob: 14fd55b752189326092fc05deeafe18523d0b7b9 (
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
|
# Contributor: Martell Malone <martellmalone@gmail.com>
# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
pkgname=py3-scipy
pkgver=1.4.1
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 lapack-dev py3-pybind11-dev"
source="https://github.com/scipy/scipy/releases/download/v$pkgver/scipy-$pkgver.tar.xz
missing-int64_t.patch
"
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="c7e1a1695a937ed7b712bb0750b0359b9d80254ef611ba924c9062862a61d7d36705a168b5102202009b16487596c66e4a892feaa1171012e23f71b0520c290f scipy-1.4.1.tar.xz
df346dc84e4ec6773e1e7fe21dccf6d124c8a498d4daba77d3abd399fef1aa711b9799541c5e7b6b3ee209c738817cc2680810dcd2c4ee61686292536e6b00d1 missing-int64_t.patch"
|