aboutsummaryrefslogtreecommitdiff
path: root/development/jupyter-nbclient
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2022-12-01 22:13:10 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-03 09:09:16 +0700
commitd162150bf06693888ecc88c9ee2097496038d768 (patch)
treeb1678f294b9db43ac76085ae5f271673bea27ee3 /development/jupyter-nbclient
parent762f1b284171111440dc0a7b494f9a3a73d7d833 (diff)
development/jupyter-nblcient: Updated for version 0.7.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/jupyter-nbclient')
-rw-r--r--development/jupyter-nbclient/jupyter-nbclient.SlackBuild7
-rw-r--r--development/jupyter-nbclient/jupyter-nbclient.info8
2 files changed, 8 insertions, 7 deletions
diff --git a/development/jupyter-nbclient/jupyter-nbclient.SlackBuild b/development/jupyter-nbclient/jupyter-nbclient.SlackBuild
index 288e41e53280..4895d77830a5 100644
--- a/development/jupyter-nbclient/jupyter-nbclient.SlackBuild
+++ b/development/jupyter-nbclient/jupyter-nbclient.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=jupyter-nbclient
-VERSION=${VERSION:-0.7.0}
+VERSION=${VERSION:-0.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,13 +82,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 {} \;
-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 CONTRIBUTING.md LICENSE README.md RELEASING.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md $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-nbclient/jupyter-nbclient.info b/development/jupyter-nbclient/jupyter-nbclient.info
index 631bc3e15a95..279f0e0ca847 100644
--- a/development/jupyter-nbclient/jupyter-nbclient.info
+++ b/development/jupyter-nbclient/jupyter-nbclient.info
@@ -1,10 +1,10 @@
PRGNAM="jupyter-nbclient"
-VERSION="0.7.0"
+VERSION="0.7.2"
HOMEPAGE="https://jupyter.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/n/nbclient/nbclient-0.7.0.tar.gz"
-MD5SUM="6a59800791be74079cf2ade421526289"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/n/nbclient/nbclient-0.7.2.tar.gz"
+MD5SUM="3476529b4e6cee7a055bfd29203e8451"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="async_generator jupyter_client jupyter-nbformat nest_asyncio"
+REQUIRES="async_generator jupyter_client jupyter-nbformat nest_asyncio python3-hatchling"
MAINTAINER="Isaac Yu"
EMAIL="isaacyu1@isaacyu1.com"