summaryrefslogtreecommitdiff
path: root/community/python-scipy
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-03-02 18:53:10 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-03-02 18:53:10 +0100
commit588ef662386ce30b28688e95f11f7fc7a52f8e25 (patch)
treea62b104d7b70d82767fbde6aeb782b1359302459 /community/python-scipy
parent9ea487ed90ebf891571ea8fffd34c154cbf981df (diff)
parentb479098a1b8d7cb545339cb225a7cde4988b2748 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/kdesvn/PKGBUILD community/lwm/PKGBUILD community/sakura/PKGBUILD extra/openmpi/PKGBUILD extra/qt/PKGBUILD
Diffstat (limited to 'community/python-scipy')
-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')