summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2021-04-03 09:08:58 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-10 17:04:48 +0700
commitce22805cc1fc58422716d4c6a0dc66cf12c88b4d (patch)
tree31b082e247960f59e2bce6383acd923391a7377b
parent442f1fa849ab8e5ec330da7786eb05016b3cd47a (diff)
downloadslackbuilds-ce22805cc1fc58422716d4c6a0dc66cf12c88b4d.tar.gz
development/jupyter-ipykernel: Updated for version 5.3.4.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/jupyter-ipykernel/README2
-rw-r--r--development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild9
-rw-r--r--development/jupyter-ipykernel/jupyter-ipykernel.info6
-rw-r--r--development/jupyter-ipykernel/slack-desc4
4 files changed, 10 insertions, 11 deletions
diff --git a/development/jupyter-ipykernel/README b/development/jupyter-ipykernel/README
index f0974bc59f..696b0972d7 100644
--- a/development/jupyter-ipykernel/README
+++ b/development/jupyter-ipykernel/README
@@ -1 +1 @@
-IPython Kernel for Jupyter.
+Python 3 kernel for Jupyter.
diff --git a/development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild b/development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild
index e806879f4c..9ae8008530 100644
--- a/development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild
+++ b/development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for jupyter-ipykernel
-# Copyright 2017-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=jupyter-ipykernel
-VERSION=${VERSION:-4.10.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-5.3.4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
SRCNAM=ipykernel
@@ -71,8 +71,7 @@ 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 {} \;
-python2 setup.py install --root=$PKG
-sed -i "s| \"python\",| \"/usr/bin/python2\",|" $PKG/usr/share/jupyter/kernels/python2/kernel.json
+python3 setup.py install --root=$PKG
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-ipykernel/jupyter-ipykernel.info b/development/jupyter-ipykernel/jupyter-ipykernel.info
index 34e73eda40..2d684badc1 100644
--- a/development/jupyter-ipykernel/jupyter-ipykernel.info
+++ b/development/jupyter-ipykernel/jupyter-ipykernel.info
@@ -1,10 +1,10 @@
PRGNAM="jupyter-ipykernel"
-VERSION="4.10.0"
+VERSION="5.3.4"
HOMEPAGE="https://jupyter.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/i/ipykernel/ipykernel-4.10.0.tar.gz"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/i/ipykernel/ipykernel-5.3.4.tar.gz"
MD5SUM="e4ee1bf2d025a6016fdf03a8f748aa01"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ipython jupyter_client tornado"
+REQUIRES="python3-ipython jupyter_client tornado"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"
diff --git a/development/jupyter-ipykernel/slack-desc b/development/jupyter-ipykernel/slack-desc
index df185b168e..79655ba2fb 100644
--- a/development/jupyter-ipykernel/slack-desc
+++ b/development/jupyter-ipykernel/slack-desc
@@ -6,9 +6,9 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-jupyter-ipykernel: jupyter-ipykernel (IPython Kernel for Jupyter)
+jupyter-ipykernel: jupyter-ipykernel (Python 3 kernel for Jupyter)
jupyter-ipykernel:
-jupyter-ipykernel: IPython Kernel for Jupyter.
+jupyter-ipykernel: Python 3 kernel for Jupyter.
jupyter-ipykernel:
jupyter-ipykernel:
jupyter-ipykernel: