aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-02-12 19:43:28 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2016-02-12 20:20:29 +0100
commit8640afc9fe05531dbe60317167b4341728dd92a4 (patch)
treeeea01bfafd500de38cf4017d0d01749bc4be6f59
parent29f4db5ff9f20d3ef2e744c2070f79276e2972d9 (diff)
downloadaports-8640afc9fe05531dbe60317167b4341728dd92a4.tar.bz2
aports-8640afc9fe05531dbe60317167b4341728dd92a4.tar.xz
testing/py-scipy: upgrade to 0.17.0
Also fix the build failure by depending on py-numpy, py-numpy-dev only contains header files and not the python library files.
-rw-r--r--testing/py-scipy/APKBUILD23
1 files changed, 11 insertions, 12 deletions
diff --git a/testing/py-scipy/APKBUILD b/testing/py-scipy/APKBUILD
index c463ff4d11..f22c33f04b 100644
--- a/testing/py-scipy/APKBUILD
+++ b/testing/py-scipy/APKBUILD
@@ -1,19 +1,18 @@
# Contributor: Isaac Dunham <ibid.ag@gmail.com>
# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
pkgname=py-scipy
-_pkgname=scipy
-pkgver=0.15.1
+pkgver=0.17.0
pkgrel=0
pkgdesc="Python library for scientific computing"
url="http://www.scipy.org"
arch="all"
license="BSD"
-depends="python"
+depends="python py-numpy"
depends_dev="python-dev gfortran py-numpy-dev openblas-dev"
makedepends="$depends_dev py-setuptools"
install=""
-subpackages="$pkgname-dev $pkgname-doc"
-source="http://sourceforge.net/projects/scipy/files/scipy/$pkgver/scipy-$pkgver.tar.gz"
+subpackages="$pkgname-dev"
+source="https://pypi.python.org/packages/source/s/scipy/scipy-${pkgver}.tar.gz"
_builddir="$srcdir"/scipy-$pkgver
prepare() {
@@ -29,17 +28,17 @@ prepare() {
build() {
cd "$_builddir"
export LDFLAGS="$LDFLAGS -shared"
- python setup.py config_fc --fcompiler=gnu95 config || return 1
- python setup.py config_fc --fcompiler=gnu95 build || return 1
+ python setup.py config_fc \
+ --fcompiler=gnu95 config || return 1
+ python setup.py config_fc \
+ --fcompiler=gnu95 build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
- mkdir -pm 0755 "$pkgdir"/usr/share/licenses/$package && \
- cp LICENSE.txt "$pkgdir"/usr/share/licenses/$package || return 1
}
-md5sums="be56cd8e60591d6332aac792a5880110 scipy-0.15.1.tar.gz"
-sha256sums="a212cbc3b79e9a563aa45fc5c517b3499198bd7eb7e7be1e047568a5f48c259a scipy-0.15.1.tar.gz"
-sha512sums="fff4412d850c431a1b4e6ee3b17958ee5ab3beb81e6cb8a8e7d56d368751eaa8781d7c3e69d932dc002d718fddc66a72098acfe74cfe29ec80b24e6736317275 scipy-0.15.1.tar.gz"
+md5sums="5ff2971e1ce90e762c59d2cd84837224 scipy-0.17.0.tar.gz"
+sha256sums="f600b755fb69437d0f70361f9e560ab4d304b1b66987ed5a28bdd9dd7793e089 scipy-0.17.0.tar.gz"
+sha512sums="de6409d75a3ff3cf1e5391d3b09126f0bc7e1a40a15f9bee244195638fe2f8481fca032896d8534623e6122ff59aaf669664e27ff89cf1b094a5ce7312f220b7 scipy-0.17.0.tar.gz"