diff options
author | Serban Udrea <S.Udrea@gsi.de> | 2019-02-08 20:26:26 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-02-08 20:26:26 +0700 |
commit | bcb4c87b7f407035a7ac8de4a7e19dde2f717573 (patch) | |
tree | 533d14cda846e299ad40bd55a07a0979b271e801 /academic/scipy3/scipy3.SlackBuild | |
parent | f5812aad13f0accf42fc6bba7a454f8c927c20aa (diff) |
academic/scipy3: Updated for version 1.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/scipy3/scipy3.SlackBuild')
-rw-r--r-- | academic/scipy3/scipy3.SlackBuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/academic/scipy3/scipy3.SlackBuild b/academic/scipy3/scipy3.SlackBuild index 8c0af2f33c249..22cbb37f311cf 100644 --- a/academic/scipy3/scipy3.SlackBuild +++ b/academic/scipy3/scipy3.SlackBuild @@ -2,7 +2,7 @@ # Build script for the Python SciPy package to be used with python 3 -# Copyright 2016 Serban Udrea <s.udrea@gsi.de> +# Copyright 2016-2019 Serban Udrea <s.udrea@gsi.de> # All rights reserved. # # Redistribution and use of this script, with or without modification, @@ -25,12 +25,12 @@ # Written by Eugene Suter <easuter@gmail.com> # Updated to 0.7.2 by João Felipe Santos <joao.eel@gmail.com> -# Updated up to 0.18.0 by Serban Udrea <S.Udrea@gsi.de> +# Updated up to 1.1.0 by Serban Udrea <S.Udrea@gsi.de> # Added support for building with debugging symbols (S. Udrea) PRGNAM="scipy3" SRCNAM="scipy" -VERSION=${VERSION:-0.18.0} +VERSION=${VERSION:-1.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -53,7 +53,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf "$SRCNAM-$VERSION" -tar xvf $CWD/$SRCNAM-$VERSION.tar.xz +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd "$SRCNAM-$VERSION" chown -R root:root . @@ -64,12 +64,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 python3 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 |