diff options
Diffstat (limited to 'community/python-scipy/PKGBUILD')
-rwxr-xr-x | community/python-scipy/PKGBUILD | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/community/python-scipy/PKGBUILD b/community/python-scipy/PKGBUILD index 49f943dc5..403dbfece 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') 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') |