summaryrefslogtreecommitdiff
path: root/community/python-scipy
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-09 01:24:21 -0800
committerroot <root@rshg054.dnsready.net>2012-11-09 01:24:21 -0800
commitc865fc041a0945e396f139a86315f6a25b1d4dec (patch)
tree95e232fb3fc00a803572f8e58af5b08d55ca070f /community/python-scipy
parente5f99abe2484d8fdfd1b2d57ba2233e027e9b64c (diff)
Fri Nov 9 01:24:21 PST 2012
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 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')