Skip to content

Commit

Permalink
numpy: upgraded to 1.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
conraid committed Mar 28, 2016
1 parent 995e3df commit 58868f5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion numpy/README
@@ -1,5 +1,5 @@

Slackware Current Repository by Conraid
Slackware Current Repository by Conraid

======================================================================

Expand Down
8 changes: 4 additions & 4 deletions numpy/numpy.SlackBuild
Expand Up @@ -2,7 +2,7 @@
#
# Slackware build script for numpy
#
# Copyright 2009-2015 Corrado Franco (http://conraid.net)
# Copyright 2009-2016 Corrado Franco (http://conraid.net)
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
Expand All @@ -28,7 +28,7 @@ set -eu
CWD=$(pwd)

PRGNAM=numpy
VERSION=${VERSION:-1.10.4}
VERSION=${VERSION:-1.11.0}
BUILD=${BUILD:-1}
TAG=${TAG:-cf}
TMP=${TMP:-/tmp/pkg}
Expand All @@ -52,7 +52,7 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC -fomit-frame-pointer"
SLKCFLAGS="-O2 -fPIC -pipe -fomit-frame-pointer"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
Expand All @@ -69,7 +69,7 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a+X-s .

CFLAGS="$SLKCFLAGS" LDFLAGS="-L/usr/lib$LIBDIRSUFFIX -shared" python setup.py install --root=$PKG
CFLAGS="$SLKCFLAGS" LDFLAGS="-L/usr/lib${LIBDIRSUFFIX} -shared" 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
find $PKG | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs strip -g 2> /dev/null || true
Expand Down
10 changes: 5 additions & 5 deletions numpy/numpy.info
@@ -1,10 +1,10 @@
PRGNAM="numpy"
VERSION="1.10.4"
VERSION="1.11.0"
HOMEPAGE="http://www.numpy.org/"
DOWNLOAD="https://github.com/numpy/numpy/archive/v1.10.4.tar.gz"
FILENAME="numpy-1.10.4.tar.gz"
DOWNLOAD="https://github.com/numpy/numpy/archive/v1.11.0.tar.gz"
FILENAME="numpy-1.11.0.tar.gz"
REQUIRES="lapack cython"
MD5SUM="3cb325c3dff03b5bc15206c757a26116"
SHASUM="ae4ef962c7bfef8e5756fb4372331aa6636fef66"
MD5SUM="487c83ea27d5e4581348a916453723da"
SHASUM="7028ce175d5b0c6975abb91b00c86a503ed1f02d"
MAINTAINER="Corrado Franco"
EMAIL="conraid (at) linux (dot) it"

0 comments on commit 58868f5

Please sign in to comment.