aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/numpy/numpy.SlackBuild14
-rw-r--r--development/numpy/numpy.info8
2 files changed, 15 insertions, 7 deletions
diff --git a/development/numpy/numpy.SlackBuild b/development/numpy/numpy.SlackBuild
index ff32dbbba101b..f058ac4dd578d 100644
--- a/development/numpy/numpy.SlackBuild
+++ b/development/numpy/numpy.SlackBuild
@@ -5,11 +5,20 @@
# Written by Aleksandar Samardzic <asamardzic@gmail.com>
PRGNAM=numpy
-VERSION=${VERSION:-1.3.0}
-ARCH=${ARCH:-i486}
+VERSION=${VERSION:-1.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i486 ;;
+ arm*) export ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) export ARCH=$( uname -m ) ;;
+ esac
+fi
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${PKG:-$TMP/package-$PRGNAM}
@@ -30,7 +39,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-python setup.py build
python setup.py install --root $PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/development/numpy/numpy.info b/development/numpy/numpy.info
index 93a4e0b64d90d..8d8e9477e8c82 100644
--- a/development/numpy/numpy.info
+++ b/development/numpy/numpy.info
@@ -1,10 +1,10 @@
PRGNAM="numpy"
-VERSION="1.3.0"
+VERSION="1.4.1"
HOMEPAGE="http://numpy.scipy.org/"
-DOWNLOAD="http://downloads.sourceforge.net/numpy/numpy-1.3.0.tar.gz"
-MD5SUM="3f7773ff0971a5ebb8591536d8ec7bd6"
+DOWNLOAD="http://downloads.sourceforge.net/numpy/numpy-1.4.1.tar.gz"
+MD5SUM="5c7b5349dc3161763f7f366ceb96516b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Aleksandar Samardzic"
EMAIL="asamardzic@gmail.com"
-APPROVED="Erik Hanson"
+APPROVED="rworkman"