Commit 01038365 authored by A. Klitzing's avatar A. Klitzing Committed by Natanael Copa

testing/py-scipy: upgrade to 0.19.0 and modernize abuild

parent 955a74ce
# Contributor: Isaac Dunham <ibid.ag@gmail.com>
# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
pkgname=py-scipy
pkgver=0.17.0
pkgver=0.19.0
pkgrel=0
pkgdesc="Python library for scientific computing"
url="http://www.scipy.org"
arch="all"
license="BSD"
depends="python2 py-numpy"
depends="python2 py-numpy-f2py"
depends_dev="python2-dev gfortran py-numpy-dev openblas-dev"
makedepends="$depends_dev py-setuptools"
install=""
subpackages="$pkgname-dev"
source="https://files.pythonhosted.org/packages/source/s/scipy/scipy-$pkgver.tar.gz"
_builddir="$srcdir"/scipy-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
source="https://files.pythonhosted.org/packages/source/s/scipy/scipy-$pkgver.zip"
builddir="$srcdir"/scipy-$pkgver
build() {
cd "$_builddir"
cd "$builddir"
export LDFLAGS="$LDFLAGS -shared"
python2 setup.py config_fc \
--fcompiler=gnu95 config || return 1
......@@ -35,10 +25,8 @@ build() {
}
package() {
cd "$_builddir"
cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="5ff2971e1ce90e762c59d2cd84837224 scipy-0.17.0.tar.gz"
sha256sums="f600b755fb69437d0f70361f9e560ab4d304b1b66987ed5a28bdd9dd7793e089 scipy-0.17.0.tar.gz"
sha512sums="de6409d75a3ff3cf1e5391d3b09126f0bc7e1a40a15f9bee244195638fe2f8481fca032896d8534623e6122ff59aaf669664e27ff89cf1b094a5ce7312f220b7 scipy-0.17.0.tar.gz"
sha512sums="3144bc14155ae790f2aba5ca6b22cbe5e7170ae1ad305774601ac22e479e1377197e47e3cd7033a5ca3464f5e944db91d3c4615111eb3369cbdd3f9079ae8c54 scipy-0.19.0.zip"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment