aboutsummaryrefslogtreecommitdiff
path: root/development/numpy/numpy.SlackBuild
diff options
context:
space:
mode:
authorSerban Udrea <S.Udrea@gsi.de>2014-10-28 08:09:34 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-30 20:27:28 +0700
commit7d2552f8af8cf3879bb3c1f6f3bb6aaa5dda3962 (patch)
treefecaa7520b40ebd487e01cad02e16ac0a2a12b78 /development/numpy/numpy.SlackBuild
parent7d2b1f3e09e56d774a56a4de170692df233533fc (diff)
development/numpy: Updated for version 1.9.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/numpy/numpy.SlackBuild')
-rw-r--r--development/numpy/numpy.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/development/numpy/numpy.SlackBuild b/development/numpy/numpy.SlackBuild
index 2bc381c679656..d3e416836be86 100644
--- a/development/numpy/numpy.SlackBuild
+++ b/development/numpy/numpy.SlackBuild
@@ -3,13 +3,13 @@
# Slackware build script for NumPy
# Written by Aleksandar Samardzic <asamardzic@gmail.com>
-# Updated up to 1.6.2 by Serban Udrea <S.Udrea@gsi.de>
+# Updated up to 1.9.0 by Serban Udrea <S.Udrea@gsi.de>
# Added support for building with debugging symbols (S. Udrea)
# LIBDIRSUFFIX is now needed to set the proper path for
# UMFPACK (S. Udrea)
PRGNAM=numpy
-VERSION=${VERSION:-1.8.0}
+VERSION=${VERSION:-1.9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -77,12 +77,12 @@ case "$DEBUG" in
esac
if [ ! "$DEBUG" ]; then
- python setup.py install --root $PKG
+ NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} python setup.py install --root $PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
else
- python setup.py build --debug
+ NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} python setup.py build --debug
python setup.py install --root $PKG
fi