diff options
author | Serban Udrea <S.Udrea@gsi.de> | 2019-02-08 20:25:34 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-02-08 20:25:34 +0700 |
commit | f5812aad13f0accf42fc6bba7a454f8c927c20aa (patch) | |
tree | 2b51ba45275a96d53a2d0d54517ed081bcb9eb23 /academic/scipy/scipy.SlackBuild | |
parent | 4927c8960bccb05106109a5b0888e109d23126a9 (diff) |
academic/scipy: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/scipy/scipy.SlackBuild')
-rw-r--r-- | academic/scipy/scipy.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/academic/scipy/scipy.SlackBuild b/academic/scipy/scipy.SlackBuild index d317dd047815..043194c1018e 100644 --- a/academic/scipy/scipy.SlackBuild +++ b/academic/scipy/scipy.SlackBuild @@ -30,7 +30,7 @@ PRGNAM=scipy VERSION=${VERSION:-1.1.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -63,12 +63,10 @@ find -L . \ -exec chmod 644 {} \; DEBUG=${DEBUG:-no} -case "$DEBUG" in - [yY]|[yY][eE][sS]) DEBUG="y" ;; - *) DEBUG="" ;; -esac +DEBUG=$(echo "$DEBUG"|cut -b 1|tr a-z A-Z) -if [ ! "$DEBUG" ]; then +if [ "$DEBUG" = "N" ] +then 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 |