development/jupyter-notebook: Updated to use Python 3.

Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
This commit is contained in:
Benjamin Trigona-Harany 2019-05-16 23:23:07 -07:00 committed by Willy Sudiarto Raharjo
parent d3f0255e17
commit c3217f94ac
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@
SRCNAM=notebook
PRGNAM=jupyter-$SRCNAM
VERSION=${VERSION:-5.7.8}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -70,7 +70,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 {} \;
python setup.py install --root=$PKG
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

View File

@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/source/n/notebook/notebook-5.7
MD5SUM="858af8768809185c118266128334be72"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="Jinja2 jupyter_client ipaddress jupyter-ipykernel jupyter-nbconvert python-prometheus_client singledispatch send2trash terminado"
REQUIRES="python3-Jinja2 python3-jupyter_client ipaddress python3-jupyter-ipykernel jupyter-nbconvert python-prometheus_client singledispatch send2trash terminado"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"