From d162150bf06693888ecc88c9ee2097496038d768 Mon Sep 17 00:00:00 2001 From: Isaac Yu Date: Thu, 1 Dec 2022 22:13:10 +0700 Subject: development/jupyter-nblcient: Updated for version 0.7.2. Signed-off-by: Willy Sudiarto Raharjo --- development/jupyter-nbclient/jupyter-nbclient.SlackBuild | 7 ++++--- development/jupyter-nbclient/jupyter-nbclient.info | 8 ++++---- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'development/jupyter-nbclient') 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" -- cgit v1.2.3