development/jupyter-notebook: Update for 7.0.8

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
isaackwy 2024-11-03 13:01:37 -08:00 committed by Willy Sudiarto Raharjo
parent 93097b1b97
commit fe97de4c3e
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 12 additions and 7 deletions

View file

@ -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

View file

@ -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"