aboutsummaryrefslogtreecommitdiff
path: root/development/jupyter-widgetsnbextension
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2019-05-16 23:24:26 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-05-18 07:22:18 +0700
commit56e56491d0c5c0f613ab2bc5ca58fa83251f4b42 (patch)
tree539e9a3ca80d584988b532d2daee12b3075807da /development/jupyter-widgetsnbextension
parent76b3f6ab4c8b1bb1e1dd316c930ec7afa8a0afa1 (diff)
development/jupyter-widgetsnbextension: Updated to use Python 3.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'development/jupyter-widgetsnbextension')
-rw-r--r--development/jupyter-widgetsnbextension/jupyter-widgetsnbextension.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/development/jupyter-widgetsnbextension/jupyter-widgetsnbextension.SlackBuild b/development/jupyter-widgetsnbextension/jupyter-widgetsnbextension.SlackBuild
index f459cb788e721..258158e3d6fc9 100644
--- a/development/jupyter-widgetsnbextension/jupyter-widgetsnbextension.SlackBuild
+++ b/development/jupyter-widgetsnbextension/jupyter-widgetsnbextension.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for jupyter-widgetsnbextension
-# 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=widgetsnbextension
PRGNAM=jupyter-$SRCNAM
VERSION=${VERSION:-3.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