diff options
author | Isaac Yu <isaacyu1@isaacyu1.com> | 2022-10-17 17:06:48 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-10-20 06:30:35 +0700 |
commit | 7729f94d930f121cc7650681b5ea3623b9b8ffbb (patch) | |
tree | 6f4649f72dc7bb9475026841667fbc14b0f8f8a5 | |
parent | 7b056dc8461f27100d850b091804a8013b2aef0a (diff) |
development/jupyter-notebook_shim: Update for 0.2.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | development/jupyter-notebook_shim/jupyter-notebook_shim.SlackBuild | 10 | ||||
-rw-r--r-- | development/jupyter-notebook_shim/jupyter-notebook_shim.info | 8 |
2 files changed, 8 insertions, 10 deletions
diff --git a/development/jupyter-notebook_shim/jupyter-notebook_shim.SlackBuild b/development/jupyter-notebook_shim/jupyter-notebook_shim.SlackBuild index 40eb4ebca8fd..a20cc5a9fa39 100644 --- a/development/jupyter-notebook_shim/jupyter-notebook_shim.SlackBuild +++ b/development/jupyter-notebook_shim/jupyter-notebook_shim.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=jupyter-notebook_shim -VERSION=${VERSION:-0.1.0} +VERSION=${VERSION:-0.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,16 +81,14 @@ 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 {} \; -# Fix /etc/jupyter path -sed 's|etc|/etc|' -i setup.cfg - -python3 setup.py install --root=$PKG +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl 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 README.md RELEASE.md LICENSE PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md README.md RELEASE.md PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/development/jupyter-notebook_shim/jupyter-notebook_shim.info b/development/jupyter-notebook_shim/jupyter-notebook_shim.info index 8094d5b529bb..49d871bc1ccf 100644 --- a/development/jupyter-notebook_shim/jupyter-notebook_shim.info +++ b/development/jupyter-notebook_shim/jupyter-notebook_shim.info @@ -1,10 +1,10 @@ PRGNAM="jupyter-notebook_shim" -VERSION="0.1.0" +VERSION="0.2.0" HOMEPAGE="https://github.com/jupyterlab/notebook_shim" -DOWNLOAD="https://files.pythonhosted.org/packages/source/n/notebook_shim/notebook_shim-0.1.0.tar.gz" -MD5SUM="28c32e4e199c18ebcbfc57a0f1d5b60a" +DOWNLOAD="https://files.pythonhosted.org/packages/source/n/notebook_shim/notebook_shim-0.2.0.tar.gz" +MD5SUM="2815eedabac675efd2d008237dc3fb07" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="jupyter_server" +REQUIRES="jupyter_server python3-hatchling" MAINTAINER="Isaac Yu" EMAIL="isaacyu1@isaacyu1.com" |