mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
development/jupyter-notebook: Update for 7.0.8
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
93097b1b97
commit
fe97de4c3e
2 changed files with 12 additions and 7 deletions
|
@ -26,7 +26,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=jupyter-notebook
|
||||
VERSION=${VERSION:-6.5.7}
|
||||
VERSION=${VERSION:-7.0.8}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -65,13 +65,18 @@ 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 {} \;
|
||||
|
||||
python3 setup.py install --root=$PKG
|
||||
# jupyter-notebook should not ask for more dependencies
|
||||
python3 -m build --no-isolation --skip-dependency-check
|
||||
python3 -m installer -d "$PKG" dist/*.whl
|
||||
|
||||
# Fix /etc/jupyter path
|
||||
mv $PKG/{usr/,}etc
|
||||
|
||||
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
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a CHANGELOG.md CONTRIBUTING.rst LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a CHANGELOG.md CONTRIBUTING.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="jupyter-notebook"
|
||||
VERSION="6.5.7"
|
||||
VERSION="7.0.8"
|
||||
HOMEPAGE="https://jupyter.org/"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/source/n/notebook/notebook-6.5.7.tar.gz"
|
||||
MD5SUM="4026bb5c1f7d517affa1e45ad6c576a2"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/source/n/notebook/notebook-7.0.8.tar.gz"
|
||||
MD5SUM="2871e598409cc880d1bc129901b50a1b"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="jupyter-ipykernel jupyter-nbclassic python3-ipython_genutils"
|
||||
REQUIRES="jupyterlab"
|
||||
MAINTAINER="Isaac Yu"
|
||||
EMAIL="isaacyu@protonmail.com"
|
||||
|
|
Loading…
Reference in a new issue