[arch-commits] Commit in python-scipy/trunk (PKGBUILD)
Jelle van der Waa
jelle at nymeria.archlinux.org
Sat Oct 26 16:32:59 UTC 2013
Date: Saturday, October 26, 2013 @ 18:32:59
Author: jelle
Revision: 99274
upgpkg: python-scipy 0.13.0-1
Modified:
python-scipy/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-10-26 16:24:39 UTC (rev 99273)
+++ PKGBUILD 2013-10-26 16:32:59 UTC (rev 99274)
@@ -6,25 +6,22 @@
# Contributor: Andrzej Giniewicz <gginiu at gmail.com>
pkgname=('python-scipy' 'python2-scipy')
-pkgver=0.12.1
+pkgver=0.13.0
pkgrel=1
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')
+makedepends=('gcc-fortran' 'python-numpy' 'python2-numpy' 'python-setuptools' 'python2-setuptools')
checkdepends=('python-nose' 'python2-nose')
-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")
-md5sums=('906278290152fedfe79029371ca584a5')
+source=("https://pypi.python.org/packages/source/s/scipy/scipy-${pkgver}.tar.gz")
+md5sums=('ffa1e9bfd2bbdf3f17f4cf8139084098')
build() {
- unset LDFLAGS
- unset FFLAGS
-
# Changing the arithmetic parameter (Thanks to Fabrizio Castellano)
- sed -i "s/\#define\ UNK\ 1/\#define\ IBMPC\ 1/" \
- scipy-${pkgver}/scipy/special/cephes/mconf.h
+# sed -i "s/\#define\ UNK\ 1/\#define\ IBMPC\ 1/" \
+# scipy-${pkgver}/scipy/special/cephes/mconf.h
+ export LDFLAGS="-Wall -shared"
# 2 builds
cp -r scipy-${pkgver} scipy-${pkgver}-py2
@@ -31,7 +28,6 @@
# build for python3
cd scipy-${pkgver}
-#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
@@ -48,7 +44,8 @@
check() {
cd scipy-${pkgver}
# figure out how to run tests in the source tree easily
-#python -c "from scipy import test; test('full')"
+# python -c "from scipy import test; test('full')"
+# python setup.py test
cd ../scipy-${pkgver}-py2
# figure out how to run tests in the source tree easily
@@ -60,6 +57,7 @@
provides=('python3-scipy' 'scipy')
cd scipy-${pkgver}
+ export LDFLAGS="-Wall -shared"
python3 setup.py config_fc --fcompiler=gnu95 install \
--prefix=/usr --root=${pkgdir} --optimize=1
@@ -73,6 +71,7 @@
conflicts=('python-scipy<0.9.0')
cd scipy-${pkgver}-py2
+ export LDFLAGS="-Wall -shared"
python2 setup.py config_fc --fcompiler=gnu95 install \
--prefix=/usr --root=${pkgdir} --optimize=1
More information about the arch-commits
mailing list