From 23f519cea33ea888fb75b664b966692009065e28 Mon Sep 17 00:00:00 2001 From: Isaac Yu Date: Tue, 4 Jun 2024 09:15:59 +0700 Subject: [PATCH] development/jupyter-notebook: Update dep. Signed-off-by: Willy Sudiarto Raharjo --- .../jupyter-notebook/fix-traitlets-error.patch | 8 ++++---- .../jupyter-notebook.SlackBuild | 18 ++---------------- .../jupyter-notebook/jupyter-notebook.info | 2 +- 3 files changed, 7 insertions(+), 21 deletions(-) diff --git a/development/jupyter-notebook/fix-traitlets-error.patch b/development/jupyter-notebook/fix-traitlets-error.patch index b0994d5411..874fc6b3ed 100644 --- a/development/jupyter-notebook/fix-traitlets-error.patch +++ b/development/jupyter-notebook/fix-traitlets-error.patch @@ -1,5 +1,5 @@ ---- a/notebook/notebookapp.py -+++ b/notebook/notebookapp.py +--- a/notebook/notebookapp.py 2023-12-20 18:04:52.352937385 -0800 ++++ b/notebook/notebookapp.py 2023-12-20 18:06:22.564933788 -0800 @@ -1408,7 +1408,7 @@ # and allow jupyter_server contents managers to pass # through. If jupyter_server is not installed, this class @@ -9,8 +9,8 @@ ], config=True, help=_('The notebook manager class to use.') ---- a/notebook/traittypes.py -+++ b/notebook/traittypes.py +--- a/notebook/traittypes.py 2023-12-20 18:08:44.904928112 -0800 ++++ b/notebook/traittypes.py 2023-12-20 18:09:04.503927331 -0800 @@ -1,5 +1,6 @@ import inspect -from traitlets import ClassBasedTraitType, Undefined, warn diff --git a/development/jupyter-notebook/jupyter-notebook.SlackBuild b/development/jupyter-notebook/jupyter-notebook.SlackBuild index efd511a7c4..d92c54f3f7 100644 --- a/development/jupyter-notebook/jupyter-notebook.SlackBuild +++ b/development/jupyter-notebook/jupyter-notebook.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for jupyter-notebook # Copyright 2017-2021 Benjamin Trigona-Harany -# Copyright 2022-2023 Isaac Yu +# Copyright 2022-2024 Isaac Yu # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=jupyter-notebook VERSION=${VERSION:-6.5.4} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,20 +50,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG diff --git a/development/jupyter-notebook/jupyter-notebook.info b/development/jupyter-notebook/jupyter-notebook.info index 6794b929fc..7195441d98 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-6.5 MD5SUM="6a2f44954dfa39c55bba2f576dd59e4a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="jupyter-ipykernel jupyter-nbclassic ipython_genutils" +REQUIRES="jupyter-ipykernel jupyter-nbclassic python3-ipython_genutils" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com"