diff options
author | isaackwy <isaacyu@protonmail.com> | 2024-11-03 13:01:37 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-11-05 00:37:10 +0700 |
commit | fe97de4c3e13a5914a57e9d0b322dcad7718319f (patch) | |
tree | 31c0bb863941ef9eb334cc3879aeed83a0f7fea2 /development/jupyter-notebook/jupyter-notebook.SlackBuild | |
parent | 93097b1b97a29fbad5ce1ff5bb36071bcba64cd8 (diff) |
development/jupyter-notebook: Update for 7.0.8
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/jupyter-notebook/jupyter-notebook.SlackBuild')
-rw-r--r-- | development/jupyter-notebook/jupyter-notebook.SlackBuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/development/jupyter-notebook/jupyter-notebook.SlackBuild b/development/jupyter-notebook/jupyter-notebook.SlackBuild index 0f1922221e..15b582e9f2 100644 --- a/development/jupyter-notebook/jupyter-notebook.SlackBuild +++ b/development/jupyter-notebook/jupyter-notebook.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=jupyter-notebook -VERSION=${VERSION:-6.5.7} +VERSION=${VERSION:-7.0.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -65,13 +65,18 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 setup.py install --root=$PKG +# jupyter-notebook should not ask for more dependencies +python3 -m build --no-isolation --skip-dependency-check +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGELOG.md CONTRIBUTING.rst LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md CONTRIBUTING.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |