summaryrefslogtreecommitdiff
path: root/development/jupyter-ipywidgets/jupyter-ipywidgets.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2019-05-16 23:19:45 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-05-18 07:22:18 +0700
commit3a68ccf1ca08c82dcd06f62e553902b79749bb14 (patch)
treeb536933b3ae8798dac06e7b8bd84c7bc8cdff8bd /development/jupyter-ipywidgets/jupyter-ipywidgets.SlackBuild
parent568ec8b4dbfc1f2df9a55c3e9ab45a0658ca8f60 (diff)
downloadslackbuilds-3a68ccf1ca08c82dcd06f62e553902b79749bb14.tar.gz
development/jupyter-ipywidgets: Updated to use Python 3.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'development/jupyter-ipywidgets/jupyter-ipywidgets.SlackBuild')
-rw-r--r--development/jupyter-ipywidgets/jupyter-ipywidgets.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/development/jupyter-ipywidgets/jupyter-ipywidgets.SlackBuild b/development/jupyter-ipywidgets/jupyter-ipywidgets.SlackBuild
index 78f3742965..050f4520df 100644
--- a/development/jupyter-ipywidgets/jupyter-ipywidgets.SlackBuild
+++ b/development/jupyter-ipywidgets/jupyter-ipywidgets.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for jupyter-ipywidgets
-# Copyright 2017-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2017-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
SRCNAM=ipywidgets
PRGNAM=jupyter-$SRCNAM
VERSION=${VERSION:-7.4.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,7 +70,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true