From d3f0255e171be21b547d052710d4f6cc527c2563 Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Thu, 16 May 2019 23:22:25 -0700 Subject: development/jupyter-nbformat: Updated to use Python 3. Signed-off-by: Benjamin Trigona-Harany --- development/jupyter-nbformat/jupyter-nbformat.SlackBuild | 6 +++--- development/jupyter-nbformat/jupyter-nbformat.info | 2 +- 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 +# Copyright 2017-2019 Benjamin Trigona-Harany # 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" -- cgit v1.2.3