aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorSerban Udrea <S.Udrea@gsi.de>2019-02-08 20:25:34 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-02-08 20:25:34 +0700
commitf5812aad13f0accf42fc6bba7a454f8c927c20aa (patch)
tree2b51ba45275a96d53a2d0d54517ed081bcb9eb23 /academic
parent4927c8960bccb05106109a5b0888e109d23126a9 (diff)
academic/scipy: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/scipy/README2
-rw-r--r--academic/scipy/scipy.SlackBuild10
2 files changed, 5 insertions, 7 deletions
diff --git a/academic/scipy/README b/academic/scipy/README
index e03678305edd..730af331080f 100644
--- a/academic/scipy/README
+++ b/academic/scipy/README
@@ -21,4 +21,4 @@ If you need to build scipy for debugging, set DEBUG=y.
NOTE: If you use this SlackBuild scipy will run with the python version
provided by Slackware Linux, which is presently 2.7.xx. If you'd like to
- use python 3.x then you have to install scipy3.
+ use python 3.x then you have to install scipy with the scipy3 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