Browse Source

l/jupyter-client: Upgraded to jupyter-client-5.3.4.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
63da6e5110
  1. 16
      l/jupyter-client/jupyter-client.SlackBuild
  2. 1
      l/jupyter-client/jupyter_client-5.2.2.tar.gz.sha256
  3. 1
      l/jupyter-client/jupyter_client-5.3.4.tar.gz.sha256

16
l/jupyter-client/jupyter-client.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2018 Damien Goutte-Gattat
# Copyright (C) 2018,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -29,9 +29,8 @@
# Source package infos
NAMESRC=${NAMESRC:-jupyter_client}
VERSION=${VERSION:-5.2.2}
VERSION=${VERSION:-5.3.4}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://pypi.python.org/packages/bf/0b/7e1725b5ef8925867a604ab74e0618e84fbe4b171996631996b02b99a752/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-jupyter-client}
@ -60,8 +59,7 @@ fi
# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
pip3 download --no-binary :all: --no-deps $NAMESRC==$VERSION
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
@ -71,12 +69,14 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python setup.py build
python setup.py install --root=$PKG
# Jupyter Client works with Python 2, but its n/tornado dependency
# does not, so there's no point in building the Python 2 module.
python3 setup.py build
python3 setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 COPYING.md README.md $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 CONTRIBUTING.md COPYING.md README.md $PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

1
l/jupyter-client/jupyter_client-5.2.2.tar.gz.sha256

@ -1 +0,0 @@
83d5e23132f0d8f79ccd3939f53fb9fa97f88a896a85114dc48d0e86909b06c4 jupyter_client-5.2.2.tar.gz

1
l/jupyter-client/jupyter_client-5.3.4.tar.gz.sha256

@ -0,0 +1 @@
60e6faec1031d63df57f1cc671ed673dced0ed420f4377ea33db37b1c188b910 jupyter_client-5.3.4.tar.gz
Loading…
Cancel
Save