Browse Source

l/ipykernel: Upgraded to ipykernel-5.1.3.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
3beb4c5a18
  1. 1
      l/ipykernel/ipykernel-4.8.0.tar.gz.sha256
  2. 1
      l/ipykernel/ipykernel-5.1.3.tar.gz.sha256
  3. 22
      l/ipykernel/ipykernel.SlackBuild

1
l/ipykernel/ipykernel-4.8.0.tar.gz.sha256

@ -1 +0,0 @@
dedc199df6a38725c732986dfa606c245fb8fe0fe999b33a0c305b73d80c6774 ipykernel-4.8.0.tar.gz

1
l/ipykernel/ipykernel-5.1.3.tar.gz.sha256

@ -0,0 +1 @@
b368ad13edb71fa2db367a01e755a925d7f75ed5e09fbd3f06c85e7a8ef108a8 ipykernel-5.1.3.tar.gz

22
l/ipykernel/ipykernel.SlackBuild

@ -24,13 +24,12 @@
#
# Latest ipykernel sourcecode is available at: <http://ipython.org/>.
#
# Depends: d/ipython, n/tornado, l/python-traitlets, l/jupyter-client
# Depends: d/ipython, l/jupyter-client
# Source package infos
NAMESRC=${NAMESRC:-ipykernel}
VERSION=${VERSION:-4.8.0}
VERSION=${VERSION:-5.1.3}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://pypi.python.org/packages/74/54/0fdcd1db1e02b02022b6aa96826973645c60ef7e152c5b57f3db0bf5e74f/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-ipykernel}
@ -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,18 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python setup.py build
python setup.py install --root=$PKG
# IPython is Python 3 only
python3 setup.py build
python3 setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 COPYING.md README.md $PKG/usr/doc/$NAME
install -m 644 CONTRIBUTING.md COPYING.md README.md $PKG/usr/doc/$NAME
# Build HTML docs if Sphinx is available
if sphinx-build -b html docs $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
@ -83,8 +87,6 @@ install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
ipython
tornado
python-traitlets
jupyter-client
EOF

Loading…
Cancel
Save