summaryrefslogtreecommitdiffstats
path: root/development
diff options
context:
space:
mode:
author Isaac Yu <isaacyu1@isaacyu1.com>2022-12-05 20:50:04 -0800
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-08 20:47:28 +0700
commita143d4e17809919a63746e6354d1c86b873749ee (patch)
treed5b8df1c330410676a53a915c618bfc883a44643 /development
parent546d4b270b3b866a968b36e409fcbf9a8fff26e9 (diff)
downloadslackbuilds-a143d4e17809919a63746e6354d1c86b873749ee.tar.gz
slackbuilds-a143d4e17809919a63746e6354d1c86b873749ee.tar.xz
development/jupyter-nbconvert: Update for 7.2.6
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/jupyter-nbconvert/jupyter-nbconvert.SlackBuild9
-rw-r--r--development/jupyter-nbconvert/jupyter-nbconvert.info8
2 files changed, 5 insertions, 12 deletions
diff --git a/development/jupyter-nbconvert/jupyter-nbconvert.SlackBuild b/development/jupyter-nbconvert/jupyter-nbconvert.SlackBuild
index c461f098ae..29a308ce18 100644
--- a/development/jupyter-nbconvert/jupyter-nbconvert.SlackBuild
+++ b/development/jupyter-nbconvert/jupyter-nbconvert.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=jupyter-nbconvert
-VERSION=${VERSION:-7.2.5}
+VERSION=${VERSION:-7.2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -87,12 +87,7 @@ find -L . \
# https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/nbconvert/nbconvert-7.1.0.ebuild
sed -e 's:css = .*:raise PermissionError("You shall not fetch!"):' -i hatch_build.py
-# Import style.min.css into classic templates
-mkdir -p $TMP/$SRCNAM-$VERSION/share/templates/classic/static
-cp $CWD/style.min.css $TMP/$SRCNAM-$VERSION/share/templates/classic/static/style.css
-
-# wheel build requires offline style.css
-python3 -m build --wheel --no-isolation
+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 \
diff --git a/development/jupyter-nbconvert/jupyter-nbconvert.info b/development/jupyter-nbconvert/jupyter-nbconvert.info
index 9b377823bd..6ce852269f 100644
--- a/development/jupyter-nbconvert/jupyter-nbconvert.info
+++ b/development/jupyter-nbconvert/jupyter-nbconvert.info
@@ -1,10 +1,8 @@
PRGNAM="jupyter-nbconvert"
-VERSION="7.2.5"
+VERSION="7.2.6"
HOMEPAGE="https://jupyter.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/n/nbconvert/nbconvert-7.2.5.tar.gz \
- https://cdn.jupyter.org/notebook/5.4.0/style/style.min.css"
-MD5SUM="be3485e08235c6d36016f22ab5f43bfd \
- 47782e517c98a53adb514cbefb4528f2"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/n/nbconvert/nbconvert-7.2.6.tar.gz"
+MD5SUM="04d46ffb4ef168a1e7047a8f1b264a2a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="bleach python3-defusedxml jupyter-nbclient jupyterlab_pygments python3-mistune pandocfilters testpath BeautifulSoup4 tinycss2 python3-hatchling"