1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/py3-scipy/APKBUILD
2019-11-05 15:34:01 +00:00

28 lines
934 B
Text

# Contributor: Martell Malone <martellmalone@gmail.com>
# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
pkgname=py3-scipy
pkgver=1.3.1
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"
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="602c9d447f0efde332048261a066e2c9e3b6c4a6797554b9d17ddcc4e22c03e0fb07e8503b9566e30e23ecb6ba344caa03f2e64010945e0c138e2002806d1580 scipy-1.3.1.tar.xz"