summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2019-05-16 23:22:25 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-05-18 07:22:18 +0700
commitd3f0255e171be21b547d052710d4f6cc527c2563 (patch)
tree8c6862d4fba34f1ca18475145ed64d5551f82acb
parent0fd3654c5227f8b6922d68ab8adae0bab22c5fdf (diff)
downloadslackbuilds-d3f0255e171be21b547d052710d4f6cc527c2563.tar.gz
development/jupyter-nbformat: Updated to use Python 3.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
-rw-r--r--development/jupyter-nbformat/jupyter-nbformat.SlackBuild6
-rw-r--r--development/jupyter-nbformat/jupyter-nbformat.info2
2 files changed, 4 insertions, 4 deletions
diff --git a/development/jupyter-nbformat/jupyter-nbformat.SlackBuild b/development/jupyter-nbformat/jupyter-nbformat.SlackBuild
index 35853db774..014420d61a 100644
--- a/development/jupyter-nbformat/jupyter-nbformat.SlackBuild
+++ b/development/jupyter-nbformat/jupyter-nbformat.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for jupyter-nbformat
-# Copyright 2017 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=nbformat
PRGNAM=jupyter-$SRCNAM
VERSION=${VERSION:-4.4.0}
-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-nbformat/jupyter-nbformat.info b/development/jupyter-nbformat/jupyter-nbformat.info
index cf67d719a7..12d5d4cbcd 100644
--- a/development/jupyter-nbformat/jupyter-nbformat.info
+++ b/development/jupyter-nbformat/jupyter-nbformat.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/source/n/nbformat/nbformat-4.4
MD5SUM="2d5f873138d9fbc2a3f9eaaebca3b8a1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jsonschema traitlets"
+REQUIRES="python3-jsonschema python3-traitlets"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"