Browse Source

l/python-cycler: Updated.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
d2d8345c28
  1. 1
      l/python-cycler/cycler-0.10.0.tar.gz.sha1
  2. 1
      l/python-cycler/cycler-0.10.0.tar.gz.sha256
  3. 18
      l/python-cycler/python-cycler.SlackBuild

1
l/python-cycler/cycler-0.10.0.tar.gz.sha1

@ -1 +0,0 @@
1bcf4a985a5f414333603f3f70a7deebbaf30439 cycler-0.10.0.tar.gz

1
l/python-cycler/cycler-0.10.0.tar.gz.sha256

@ -0,0 +1 @@
cd7b2d1018258d7247a71425e9f26463dfb444d411c39569972f4ce586b0c9d8 cycler-0.10.0.tar.gz

18
l/python-cycler/python-cycler.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2015,2016 Damien Goutte-Gattat
# Copyright (C) 2015,2016,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -23,9 +23,7 @@
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest cycler sourcecode is available at:
# <https://pypi.python.org/pypi/Cycler>.
#
# Depends: l/python-six
# <http://github.com/matplotlib/cycler>.
# Source package infos
NAMESRC=${NAMESRC:-cycler}
@ -63,7 +61,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -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
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/$PKGNAME-$VERSION
install -m 644 LICENSE PKG-INFO README.rst $PKG/usr/doc/$PKGNAME-$VERSION
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 LICENSE README.rst $PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save