Browse Source

l/jupyter-core: Upgraded to jupyter-core-4.6.1.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
844243cd73
  1. 16
      l/jupyter-core/jupyter-core.SlackBuild
  2. 1
      l/jupyter-core/jupyter_core-4.4.0.tar.gz.sha256
  3. 1
      l/jupyter-core/jupyter_core-4.6.1.tar.gz.sha256

16
l/jupyter-core/jupyter-core.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:
@ -28,9 +28,8 @@
# Source package infos
NAMESRC=${NAMESRC:-jupyter_core}
VERSION=${VERSION:-4.4.0}
VERSION=${VERSION:-4.6.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://pypi.python.org/packages/b6/2d/2804f4de3a95583f65e5dcb4d7c8c7183124882323758996e867f47e72af/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-jupyter-core}
@ -59,8 +58,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)
@ -70,12 +68,14 @@ 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/$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-core/jupyter_core-4.4.0.tar.gz.sha256

@ -1 +0,0 @@
ba70754aa680300306c699790128f6fbd8c306ee5927976cbe48adacf240c0b7 jupyter_core-4.4.0.tar.gz

1
l/jupyter-core/jupyter_core-4.6.1.tar.gz.sha256

@ -0,0 +1 @@
a183e0ec2e8f6adddf62b0a3fc6a2237e3e0056d381e536d3e7c7ecc3067e244 jupyter_core-4.6.1.tar.gz
Loading…
Cancel
Save