summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Isaac Yu2022-09-14 09:48:24 +0200
committer Willy Sudiarto Raharjo2022-09-17 04:00:18 +0200
commit5ad726ea545cf01bba0699163df71879fd6586f1 (patch)
tree237b9367c90d44b93611601522fbd8954a226f6d
parent7bf912f94210a239c51be09f226bbad1e2bccacf (diff)
downloadslackbuilds-5ad726ea545cf01bba0699163df71879fd6586f1.tar.gz
development/jupyter-nbformat: Update for 5.5.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/jupyter-nbformat/jupyter-nbformat.SlackBuild5
-rw-r--r--development/jupyter-nbformat/jupyter-nbformat.info8
2 files changed, 7 insertions, 6 deletions
diff --git a/development/jupyter-nbformat/jupyter-nbformat.SlackBuild b/development/jupyter-nbformat/jupyter-nbformat.SlackBuild
index b87d4150ee..e857858193 100644
--- a/development/jupyter-nbformat/jupyter-nbformat.SlackBuild
+++ b/development/jupyter-nbformat/jupyter-nbformat.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=jupyter-nbformat
-VERSION=${VERSION:-5.4.0}
+VERSION=${VERSION:-5.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,7 +82,8 @@ 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 --wheel --no-isolation
+python3 -m installer --destdir=$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
diff --git a/development/jupyter-nbformat/jupyter-nbformat.info b/development/jupyter-nbformat/jupyter-nbformat.info
index 66f9bec8a3..ec9c75a58b 100644
--- a/development/jupyter-nbformat/jupyter-nbformat.info
+++ b/development/jupyter-nbformat/jupyter-nbformat.info
@@ -1,10 +1,10 @@
PRGNAM="jupyter-nbformat"
-VERSION="5.4.0"
+VERSION="5.5.0"
HOMEPAGE="https://jupyter.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/n/nbformat/nbformat-5.4.0.tar.gz"
-MD5SUM="a11ccf44c2d984d1b8325a3463a9ae20"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/n/nbformat/nbformat-5.5.0.tar.gz"
+MD5SUM="6626de92b7a2e04d338c74f40c584c1b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-jsonschema python3-fastjsonschema jupyter_core"
+REQUIRES="python3-jsonschema python3-fastjsonschema jupyter_core python3-build python3-flit_core"
MAINTAINER="Isaac Yu"
EMAIL="isaacyu1@isaacyu1.com"