From 6f297b1cf462a11227d811a87124006c55911d63 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 1 Mar 2012 03:21:19 +0000 Subject: Thu Mar 1 03:21:19 UTC 2012 --- community/python-scipy/PKGBUILD | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'community/python-scipy/PKGBUILD') diff --git a/community/python-scipy/PKGBUILD b/community/python-scipy/PKGBUILD index 9b7280d04..460313b10 100755 --- a/community/python-scipy/PKGBUILD +++ b/community/python-scipy/PKGBUILD @@ -6,15 +6,16 @@ # Contributor: Andrzej Giniewicz pkgname=('python-scipy' 'python2-scipy') -pkgver=0.10.0 +pkgver=0.10.1 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') +checkdepends=('python-nose' 'python2-nose') source=("http://downloads.sourceforge.net/scipy/scipy-${pkgver}.tar.gz") -md5sums=('e357c08425fd031dce63bc4905789088') +md5sums=('6ad976549e22e04ca93e70cf55b70a22') build() { unset LDFLAGS @@ -42,6 +43,16 @@ build() { python2 setup.py config_fc --fcompiler=gnu95 build } +check() { + cd scipy-${pkgver} +# figure out how to run tests in the source tree easily +# python -c "from scipy import test; test('full')" + + cd ../scipy-${pkgver}-py2 +# figure out how to run tests in the source tree easily +# python2 -c "from scipy import test; test('full')" +} + package_python-scipy() { depends=('python-numpy') provides=('python3-scipy' 'scipy') -- cgit v1.2.3-54-g00ecf