summaryrefslogtreecommitdiff
path: root/community/python-scipy/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/python-scipy/PKGBUILD')
-rwxr-xr-xcommunity/python-scipy/PKGBUILD15
1 files changed, 13 insertions, 2 deletions
diff --git a/community/python-scipy/PKGBUILD b/community/python-scipy/PKGBUILD
index d9ac969d6..650b6f16d 100755
--- a/community/python-scipy/PKGBUILD
+++ b/community/python-scipy/PKGBUILD
@@ -6,15 +6,16 @@
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
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' '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=('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')