Browse Source

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

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
65bfd43c19
  1. 19
      xap/jupyter-qtconsole/jupyter-qtconsole.SlackBuild
  2. 1
      xap/jupyter-qtconsole/qtconsole-4.4.1.tar.gz.sha256
  3. 1
      xap/jupyter-qtconsole/qtconsole-4.6.0.tar.gz.sha256

19
xap/jupyter-qtconsole/jupyter-qtconsole.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,7 +29,7 @@
# Source package infos
NAMESRC=${NAMESRC:-qtconsole}
VERSION=${VERSION:-4.4.1}
VERSION=${VERSION:-4.6.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://github.com/jupyter/qtconsole/archive/$VERSION.tar.gz}
@ -71,12 +71,19 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python setup.py build
python setup.py install --root=$PKG
python2 setup.py build
python2 setup.py install --root=$PKG
python3 setup.py build
python3 setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 LICENSE README.md $PKG/usr/doc/$NAME
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 LICENSE README.md $PKG/usr/doc/$NAMEPKG-$VERSION
# Build docs if sphinx is available
if sphinx-build -b html docs/source $PKG/usr/doc/$NAMEPKG-$VERSION/html ; then
rm -rf $PKG/usr/doc/$NAMEPKG-$VERSION/html/.{buildinfo,doctrees}
fi
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

1
xap/jupyter-qtconsole/qtconsole-4.4.1.tar.gz.sha256

@ -1 +0,0 @@
93e0b623f86919a5e81a3a57919ad2831cbde668f80cb24dc1372cecd39adca2 qtconsole-4.4.1.tar.gz

1
xap/jupyter-qtconsole/qtconsole-4.6.0.tar.gz.sha256

@ -0,0 +1 @@
e1b58db749d34d39d5d7a025d976f4eddf78401f33ed2bc4292be4736b29622d qtconsole-4.6.0.tar.gz
Loading…
Cancel
Save