development/jupyter_core: Update for 5.7.2

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
isaackwy 2024-05-25 22:10:54 -07:00 committed by Willy Sudiarto Raharjo
parent 6ad67c57ed
commit 5bf8eda909
3 changed files with 11 additions and 4 deletions

View File

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

View File

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

View File

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