summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Isaac Yu <isaacyu@protonmail.com>2024-06-04 09:15:59 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-06-04 10:09:56 +0700
commit23f519cea33ea888fb75b664b966692009065e28 (patch)
treed92c4d543cec1f664bafc839e4e6a5fbf2022282
parentf66dac19cef4dd21b41917563f5c75cdabc9f312 (diff)
downloadslackbuilds-23f519cea33ea888fb75b664b966692009065e28.tar.gz
slackbuilds-23f519cea33ea888fb75b664b966692009065e28.tar.xz
development/jupyter-notebook: Update dep.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/jupyter-notebook/fix-traitlets-error.patch8
-rw-r--r--development/jupyter-notebook/jupyter-notebook.SlackBuild18
-rw-r--r--development/jupyter-notebook/jupyter-notebook.info2
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 <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
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"