summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2019-05-16 23:23:07 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-05-18 07:22:18 +0700
commitc3217f94acb46d8ac54b1f53424a35c58d46585f (patch)
treed67c0b1d80a0388baa5e086d513c666393f22651 /development
parentd3f0255e171be21b547d052710d4f6cc527c2563 (diff)
downloadslackbuilds-c3217f94acb46d8ac54b1f53424a35c58d46585f.tar.gz
development/jupyter-notebook: Updated to use Python 3.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'development')
-rw-r--r--development/jupyter-notebook/jupyter-notebook.SlackBuild4
-rw-r--r--development/jupyter-notebook/jupyter-notebook.info2
2 files changed, 3 insertions, 3 deletions
diff --git a/development/jupyter-notebook/jupyter-notebook.SlackBuild b/development/jupyter-notebook/jupyter-notebook.SlackBuild
index 94f89a0187..46b4958400 100644
--- a/development/jupyter-notebook/jupyter-notebook.SlackBuild
+++ b/development/jupyter-notebook/jupyter-notebook.SlackBuild
@@ -25,7 +25,7 @@
SRCNAM=notebook
PRGNAM=jupyter-$SRCNAM
VERSION=${VERSION:-5.7.8}
-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-notebook/jupyter-notebook.info b/development/jupyter-notebook/jupyter-notebook.info
index 18bd8ef2af..4dc6464743 100644
--- a/development/jupyter-notebook/jupyter-notebook.info
+++ b/development/jupyter-notebook/jupyter-notebook.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/source/n/notebook/notebook-5.7
MD5SUM="858af8768809185c118266128334be72"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="Jinja2 jupyter_client ipaddress jupyter-ipykernel jupyter-nbconvert python-prometheus_client singledispatch send2trash terminado"
+REQUIRES="python3-Jinja2 python3-jupyter_client ipaddress python3-jupyter-ipykernel jupyter-nbconvert python-prometheus_client singledispatch send2trash terminado"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"