Browse Source
development/jupyter-nbconvert: Update for 7.16.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/216/head
isaackwy
2 years ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with
5 additions and
19 deletions
-
development/jupyter-nbconvert/jupyter-nbconvert.SlackBuild
-
development/jupyter-nbconvert/jupyter-nbconvert.info
|
|
@ -26,7 +26,7 @@ |
|
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
PRGNAM=jupyter-nbconvert |
|
|
|
VERSION=${VERSION:-7.16.0} |
|
|
|
VERSION=${VERSION:-7.16.1} |
|
|
|
BUILD=${BUILD:-1} |
|
|
|
TAG=${TAG:-_SBo} |
|
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
@ -50,20 +50,6 @@ TMP=${TMP:-/tmp/SBo} |
|
|
|
PKG=$TMP/package-$PRGNAM |
|
|
|
OUTPUT=${OUTPUT:-/tmp} |
|
|
|
|
|
|
|
if [ "$ARCH" = "i586" ]; then |
|
|
|
SLKCFLAGS="-O2 -march=i586 -mtune=i686" |
|
|
|
LIBDIRSUFFIX="" |
|
|
|
elif [ "$ARCH" = "i686" ]; then |
|
|
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686" |
|
|
|
LIBDIRSUFFIX="" |
|
|
|
elif [ "$ARCH" = "x86_64" ]; then |
|
|
|
SLKCFLAGS="-O2 -fPIC" |
|
|
|
LIBDIRSUFFIX="64" |
|
|
|
else |
|
|
|
SLKCFLAGS="-O2" |
|
|
|
LIBDIRSUFFIX="" |
|
|
|
fi |
|
|
|
|
|
|
|
set -e |
|
|
|
|
|
|
|
rm -rf $PKG |
|
|
@ -81,7 +67,7 @@ find -L . \ |
|
|
|
|
|
|
|
# Build jupyter-nbconvert offline |
|
|
|
# Code taken from Gentoo science project: |
|
|
|
# https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/nbconvert/nbconvert-7.13.0.ebuild |
|
|
|
# https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/nbconvert/nbconvert-7.16.1.ebuild |
|
|
|
sed -e 's:css = .*:raise PermissionError("You shall not fetch!"):' -i hatch_build.py |
|
|
|
|
|
|
|
python3 -m build --no-isolation |
|
|
|
|
|
@ -1,8 +1,8 @@ |
|
|
|
PRGNAM="jupyter-nbconvert" |
|
|
|
VERSION="7.16.0" |
|
|
|
VERSION="7.16.1" |
|
|
|
HOMEPAGE="https://jupyter.org/" |
|
|
|
DOWNLOAD="https://files.pythonhosted.org/packages/source/n/nbconvert/nbconvert-7.16.0.tar.gz" |
|
|
|
MD5SUM="c8fdb77d8269941358034dab84cd1c03" |
|
|
|
DOWNLOAD="https://files.pythonhosted.org/packages/source/n/nbconvert/nbconvert-7.16.1.tar.gz" |
|
|
|
MD5SUM="7f134038205ad2d4407bf3a61e223679" |
|
|
|
DOWNLOAD_x86_64="" |
|
|
|
MD5SUM_x86_64="" |
|
|
|
REQUIRES="python3-bleach python3-defusedxml jupyter-nbclient jupyterlab_pygments python3-mistune pandocfilters testpath BeautifulSoup4 tinycss2 python-importlib_metadata" |
|
|
|