summaryrefslogtreecommitdiff
path: root/development/numpy
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-05-23 03:18:29 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-23 23:21:45 -0500
commit9831742bc30bb614e2f29508afd027632a077607 (patch)
treec10c74d14034521832d97a426d6c422ec3938709 /development/numpy
parent91f0e267baa88ddde7313f0f84a82c71b886ddea (diff)
downloadslackbuilds-9831742bc30bb614e2f29508afd027632a077607.tar.gz
development/numpy: Updated for version 1.4.1.
Diffstat (limited to 'development/numpy')
-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 ff32dbbba1..f058ac4dd5 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 93a4e0b64d..8d8e9477e8 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"