|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/bin/bash |
|
|
|
# Build script for Slackware |
|
|
|
# Copyright (C) 2018,2019 Damien Goutte-Gattat |
|
|
|
# Copyright (C) 2018,2019,2020 Damien Goutte-Gattat |
|
|
|
# |
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
# is permitted provided that the following conditions are met: |
|
|
@ -30,9 +30,8 @@ |
|
|
|
|
|
|
|
# Source package infos |
|
|
|
NAMESRC=${NAMESRC:-notebook} |
|
|
|
VERSION=${VERSION:-6.0.2} |
|
|
|
VERSION=${VERSION:-6.0.3} |
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz} |
|
|
|
WGET=${WGET:-https://pypi.python.org/packages/11/15/f8a387de97dbc7555fa41c907cb8c1f73ec5e7e7d577460b46e755b36a5e/$ARCHIVE} |
|
|
|
|
|
|
|
# Build infos |
|
|
|
NAMEPKG=${NAMEPKG:-jupyter-notebook} |
|
|
@ -71,7 +70,6 @@ cd $TMP |
|
|
|
echo "Building $ARCHIVE..." |
|
|
|
tar xf $CWD/$ARCHIVE |
|
|
|
cd $NAME |
|
|
|
# Jupyter Notebook is Python 3 only. |
|
|
|
python3 setup.py build |
|
|
|
python3 setup.py install --root=$PKG |
|
|
|
|
|
|
|