diff options
author | isaackwy <isaacyu@protonmail.com> | 2024-02-15 11:53:58 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-02-16 18:51:34 +0700 |
commit | 516f6fc1020683959d9bf0784c889af8f38755c3 (patch) | |
tree | 3a6b9e433ab89ae1c9b5c52ca10a7ececf890166 /development | |
parent | f6861e5f7c08dc553def25bd7996d95384ec073e (diff) |
development/jupyter-notebook_shim: Update for 0.2.4
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/jupyter-notebook_shim/jupyter-notebook_shim.SlackBuild | 21 | ||||
-rw-r--r-- | development/jupyter-notebook_shim/jupyter-notebook_shim.info | 6 |
2 files changed, 8 insertions, 19 deletions
diff --git a/development/jupyter-notebook_shim/jupyter-notebook_shim.SlackBuild b/development/jupyter-notebook_shim/jupyter-notebook_shim.SlackBuild index 4472fde3ddf55..098b0da54b463 100644 --- a/development/jupyter-notebook_shim/jupyter-notebook_shim.SlackBuild +++ b/development/jupyter-notebook_shim/jupyter-notebook_shim.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for jupyter-notebook_shim -# 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 @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=jupyter-notebook_shim -VERSION=${VERSION:-0.2.3} +VERSION=${VERSION:-0.2.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -49,20 +49,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 @@ -81,6 +67,9 @@ find -L . \ python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl +# Fix /etc/jupyter path +mv $PKG/{usr/,}etc + 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-notebook_shim/jupyter-notebook_shim.info b/development/jupyter-notebook_shim/jupyter-notebook_shim.info index 25b7abe105af8..cf1fd79a84540 100644 --- a/development/jupyter-notebook_shim/jupyter-notebook_shim.info +++ b/development/jupyter-notebook_shim/jupyter-notebook_shim.info @@ -1,8 +1,8 @@ PRGNAM="jupyter-notebook_shim" -VERSION="0.2.3" +VERSION="0.2.4" HOMEPAGE="https://github.com/jupyterlab/notebook_shim" -DOWNLOAD="https://files.pythonhosted.org/packages/source/n/notebook_shim/notebook_shim-0.2.3.tar.gz" -MD5SUM="7d0562e033369d243b282646642a1f1a" +DOWNLOAD="https://files.pythonhosted.org/packages/source/n/notebook_shim/notebook_shim-0.2.4.tar.gz" +MD5SUM="8d3e7f204f53be8fbfe06df534c55613" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="jupyter_server" |