From f5812aad13f0accf42fc6bba7a454f8c927c20aa Mon Sep 17 00:00:00 2001 From: Serban Udrea Date: Fri, 8 Feb 2019 20:25:34 +0700 Subject: academic/scipy: Update script. Signed-off-by: Willy Sudiarto Raharjo --- academic/scipy/scipy.SlackBuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'academic/scipy/scipy.SlackBuild') 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 -- cgit v1.2.3