aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorisaackwy <isaacyu@protonmail.com>2024-05-25 22:10:54 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-05-27 10:10:16 +0700
commit5bf8eda909115b867962e903a39b82a0855b96c9 (patch)
tree1db25de73790ceadca774f6b2a476c7847a99a3d /development
parent6ad67c57edb1720ac3c7503114929c6dcd848631 (diff)
development/jupyter_core: Update for 5.7.2
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/jupyter_core/README3
-rw-r--r--development/jupyter_core/jupyter_core.SlackBuild6
-rw-r--r--development/jupyter_core/jupyter_core.info6
3 files changed, 11 insertions, 4 deletions
diff --git a/development/jupyter_core/README b/development/jupyter_core/README
index a08b26947fb3..41f85274549e 100644
--- a/development/jupyter_core/README
+++ b/development/jupyter_core/README
@@ -1,2 +1,5 @@
The Jupyter core contains the base application classes and
configuration used by other Jupyter projects.
+
+This SlackBuild also installs shell completions.
+Bash completion in particular additionally requires python3-argcomplete.
diff --git a/development/jupyter_core/jupyter_core.SlackBuild b/development/jupyter_core/jupyter_core.SlackBuild
index ab9293471ff2..d0d5d74184e3 100644
--- a/development/jupyter_core/jupyter_core.SlackBuild
+++ b/development/jupyter_core/jupyter_core.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=jupyter_core
-VERSION=${VERSION:-5.7.1}
+VERSION=${VERSION:-5.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -66,6 +66,10 @@ find -L . \
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl
+# Install shell completions. Bash completion additionally requires python3-argcomplete.
+install -Dm644 examples/jupyter-completion.bash $PKG/usr/share/bash-completion/completions/jupyter
+install -Dm644 examples/completions-zsh $PKG/usr/share/zsh/site-functions/_jupyter
+
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_core/jupyter_core.info b/development/jupyter_core/jupyter_core.info
index 35b394340b61..f2a43e8b9d83 100644
--- a/development/jupyter_core/jupyter_core.info
+++ b/development/jupyter_core/jupyter_core.info
@@ -1,8 +1,8 @@
PRGNAM="jupyter_core"
-VERSION="5.7.1"
+VERSION="5.7.2"
HOMEPAGE="https://jupyter.org/"
-DOWNLOAD="https://github.com/jupyter/jupyter_core/archive/v5.7.1/jupyter_core-5.7.1.tar.gz"
-MD5SUM="f6ed082aa24bc06837e5bba84deaab19"
+DOWNLOAD="https://github.com/jupyter/jupyter_core/archive/v5.7.2/jupyter_core-5.7.2.tar.gz"
+MD5SUM="97589e671ec3afee642d68058a7f33df"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="traitlets python3-platformdirs"