development/jupyter-notebook: Update dep.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Isaac Yu 2024-06-04 09:15:59 +07:00 committed by Willy Sudiarto Raharjo
parent f66dac19ce
commit 23f519cea3
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 7 additions and 21 deletions

View File

@ -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

View File

@ -3,7 +3,7 @@
# Slackware build script for jupyter-notebook
# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com>
# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com>
# 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

View File

@ -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"