From 9831742bc30bb614e2f29508afd027632a077607 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sun, 23 May 2010 03:18:29 -0500 Subject: development/numpy: Updated for version 1.4.1. --- development/numpy/numpy.SlackBuild | 14 +++++++++++--- development/numpy/numpy.info | 8 ++++---- 2 files changed, 15 insertions(+), 7 deletions(-) (limited to 'development/numpy') diff --git a/development/numpy/numpy.SlackBuild b/development/numpy/numpy.SlackBuild index ff32dbbba101..f058ac4dd578 100644 --- a/development/numpy/numpy.SlackBuild +++ b/development/numpy/numpy.SlackBuild @@ -5,11 +5,20 @@ # Written by Aleksandar Samardzic 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 93a4e0b64d90..8d8e9477e8c8 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" -- cgit v1.2.3