summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/jupyter-notebook_shim/jupyter-notebook_shim.SlackBuild10
-rw-r--r--development/jupyter-notebook_shim/jupyter-notebook_shim.info8
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 40eb4ebca8..a20cc5a9fa 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 8094d5b529..49d871bc1c 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"