summaryrefslogtreecommitdiff
path: root/community/python-scipy
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-11-09 20:51:43 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-11-09 20:51:43 +0100
commit7b801d14eb78615912e7456a4654c2488bdee4d5 (patch)
tree070ebb46ae5f3eda613c61c00455800ec93267cd /community/python-scipy
parent6437e5e532491d7221030a7647fde7a69d1a1099 (diff)
parentc865fc041a0945e396f139a86315f6a25b1d4dec (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/erlang/PKGBUILD community/mcabber/PKGBUILD community/smem/PKGBUILD community/uqm/PKGBUILD extra/bitlbee/PKGBUILD extra/gvfs/PKGBUILD extra/gweled/PKGBUILD extra/libmikmod/PKGBUILD extra/sdl_sound/PKGBUILD extra/xmms/PKGBUILD libre/gnu-ghostscript/PKGBUILD libre/libretools/PKGBUILD
Diffstat (limited to 'community/python-scipy')
-rwxr-xr-xcommunity/python-scipy/PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/community/python-scipy/PKGBUILD b/community/python-scipy/PKGBUILD
index 68f04fa70..a0426cee3 100755
--- a/community/python-scipy/PKGBUILD
+++ b/community/python-scipy/PKGBUILD
@@ -7,15 +7,14 @@
pkgname=('python-scipy' 'python2-scipy')
pkgver=0.11.0
-pkgrel=2
+pkgrel=4
pkgdesc="SciPy is open-source software for mathematics, science, and engineering."
arch=('i686' 'x86_64' 'mips64el')
url="http://www.scipy.org/"
license=('BSD')
makedepends=('gcc-fortran' 'python-numpy' 'python2-numpy')
checkdepends=('python-nose' 'python2-nose')
-source=("http://downloads.sourceforge.net/scipy/scipy-${pkgver}.tar.gz")
-md5sums=('842c81d35fd63579c41a8ca21a2419b9')
+source=("http://downloads.sourceforge.net/scipy/scipy-${pkgver}.tar.gz" "http://pkgbuild.com/~jelle/0001-GEN-regenerate-C-sources-with-Cython-0.17.1.patch.xz")
build() {
unset LDFLAGS
@@ -30,7 +29,8 @@ build() {
# build for python3
cd scipy-${pkgver}
- python setup.py config_fc --fcompiler=gnu95 build
+ patch -Np1 -i $srcdir/0001-GEN-regenerate-C-sources-with-Cython-0.17.1.patch
+ python3 setup.py config_fc --fcompiler=gnu95 build
# build for python2
cd ../scipy-${pkgver}-py2
@@ -59,7 +59,7 @@ package_python-scipy() {
cd scipy-${pkgver}
- python setup.py config_fc --fcompiler=gnu95 install \
+ python3 setup.py config_fc --fcompiler=gnu95 install \
--prefix=/usr --root=${pkgdir} --optimize=1
install -Dm644 LICENSE.txt \
@@ -80,3 +80,5 @@ package_python2-scipy() {
}
# vim:set ts=2 sw=2 et:
+md5sums=('842c81d35fd63579c41a8ca21a2419b9'
+ '20d41a597ebfb260d777597e431a7a20')