aboutsummaryrefslogtreecommitdiff
path: root/development/jupyter-ipywidgets
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
parent568ec8b4dbfc1f2df9a55c3e9ab45a0658ca8f60 (diff)
development/jupyter-ipywidgets: Updated to use Python 3.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'development/jupyter-ipywidgets')
-rw-r--r--development/jupyter-ipywidgets/jupyter-ipywidgets.SlackBuild6
-rw-r--r--development/jupyter-ipywidgets/jupyter-ipywidgets.info2
2 files changed, 4 insertions, 4 deletions
diff --git a/development/jupyter-ipywidgets/jupyter-ipywidgets.SlackBuild b/development/jupyter-ipywidgets/jupyter-ipywidgets.SlackBuild
index 78f3742965e75..050f4520df73b 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
diff --git a/development/jupyter-ipywidgets/jupyter-ipywidgets.info b/development/jupyter-ipywidgets/jupyter-ipywidgets.info
index b8d42fb7c24ab..953cbccf74027 100644
--- a/development/jupyter-ipywidgets/jupyter-ipywidgets.info
+++ b/development/jupyter-ipywidgets/jupyter-ipywidgets.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/source/i/ipywidgets/ipywidgets
MD5SUM="e1ac2d4e3dc463f8c20e074d9414436e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ipython jupyter-widgetsnbextension"
+REQUIRES="python3-ipython jupyter-widgetsnbextension"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"