Browse Source

xap/jupyter-qtconsole: Upgraded to jupyter-qtconsole-4.7.5.

current-20200608
Damien Goutte-Gattat 7 months ago
parent
commit
7c7f445726
3 changed files with 5 additions and 10 deletions
  1. +4
    -9
      xap/jupyter-qtconsole/jupyter-qtconsole.SlackBuild
  2. +0
    -1
      xap/jupyter-qtconsole/qtconsole-4.6.0.tar.gz.sha256
  3. +1
    -0
      xap/jupyter-qtconsole/qtconsole-4.7.5.tar.gz.sha256

+ 4
- 9
xap/jupyter-qtconsole/jupyter-qtconsole.SlackBuild View File

@ -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:
@ -25,13 +25,12 @@
# Latest qtconsole sourcecode is available at:
# <https://github.com/jupyter/qtconsole>.
#
# Depends: l/ipykernel, l/ipython-genutils, l/PyQt5
# Depends: l/ipykernel, l/ipython-genutils
# Source package infos
NAMESRC=${NAMESRC:-qtconsole}
VERSION=${VERSION:-4.6.0}
VERSION=${VERSION:-4.7.5}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://github.com/jupyter/qtconsole/archive/$VERSION.tar.gz}
# Build infos
NAMEPKG=${NAMEPKG:-jupyter-qtconsole}
@ -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,8 +69,6 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python2 setup.py build
python2 setup.py install --root=$PKG
python3 setup.py build
python3 setup.py install --root=$PKG
@ -92,7 +88,6 @@ install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
cat <<EOF > $PKG/install/slack-required
ipykernel
python-genutils
PyQt5
EOF
# Package the tree


+ 0
- 1
xap/jupyter-qtconsole/qtconsole-4.6.0.tar.gz.sha256 View File

@ -1 +0,0 @@
e1b58db749d34d39d5d7a025d976f4eddf78401f33ed2bc4292be4736b29622d qtconsole-4.6.0.tar.gz

+ 1
- 0
xap/jupyter-qtconsole/qtconsole-4.7.5.tar.gz.sha256 View File

@ -0,0 +1 @@
f5cb275d30fc8085e2d1d18bc363e5ba0ce6e559bf37d7d6727b773134298754 qtconsole-4.7.5.tar.gz

Loading…
Cancel
Save