aboutsummaryrefslogtreecommitdiff
path: root/development/jupyter-qtconsole
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2019-05-16 23:23:36 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-05-18 07:22:18 +0700
commit76b3f6ab4c8b1bb1e1dd316c930ec7afa8a0afa1 (patch)
tree5b8f8c10c3c7b27c567fe2787387c9644dedf8c6 /development/jupyter-qtconsole
parentc3217f94acb46d8ac54b1f53424a35c58d46585f (diff)
development/jupyter-qtconsole: Updated to use Python 3.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'development/jupyter-qtconsole')
-rw-r--r--development/jupyter-qtconsole/jupyter-qtconsole.SlackBuild4
-rw-r--r--development/jupyter-qtconsole/jupyter-qtconsole.info2
2 files changed, 3 insertions, 3 deletions
diff --git a/development/jupyter-qtconsole/jupyter-qtconsole.SlackBuild b/development/jupyter-qtconsole/jupyter-qtconsole.SlackBuild
index eec0ae3fe1fe4..2cc5e40a0dfc3 100644
--- a/development/jupyter-qtconsole/jupyter-qtconsole.SlackBuild
+++ b/development/jupyter-qtconsole/jupyter-qtconsole.SlackBuild
@@ -25,7 +25,7 @@
SRCNAM=qtconsole
PRGNAM=jupyter-$SRCNAM
VERSION=${VERSION:-4.4.4}
-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-qtconsole/jupyter-qtconsole.info b/development/jupyter-qtconsole/jupyter-qtconsole.info
index dd84f372077ed..c74eff4f3e4fb 100644
--- a/development/jupyter-qtconsole/jupyter-qtconsole.info
+++ b/development/jupyter-qtconsole/jupyter-qtconsole.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/jupyter/qtconsole/archive/4.4.4/qtconsole-4.4.4.tar
MD5SUM="7e973140790fee2b6bab6fc31d0a48e3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jupyter-ipykernel"
+REQUIRES="python3-jupyter-ipykernel"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"