Browse Source

l/python-alabaster: Upgraded to python-alabaster-0.7.12.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
7a56b222f0
  1. 1
      l/python-alabaster/alabaster-0.7.12.tar.gz.sha256
  2. 1
      l/python-alabaster/alabaster-0.7.8.tar.gz.sha1
  3. 16
      l/python-alabaster/python-alabaster.SlackBuild

1
l/python-alabaster/alabaster-0.7.12.tar.gz.sha256

@ -0,0 +1 @@
a661d72d58e6ea8a57f7a86e37d86716863ee5e92788398526d58b26a4e4dc02 alabaster-0.7.12.tar.gz

1
l/python-alabaster/alabaster-0.7.8.tar.gz.sha1

@ -1 +0,0 @@
78756daf51406cb20de7e17005f51cb2990d77ab alabaster-0.7.8.tar.gz

16
l/python-alabaster/python-alabaster.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2016 Damien Goutte-Gattat
# Copyright (C) 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,13 +23,13 @@
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest alabaster sourcecode is available at:
# <https://github.com/bitprophet/alabaster>.
# <https://alabaster.readthedocs.io/>.
# Source package infos
NAMESRC=${NAMESRC:-alabaster}
VERSION=${VERSION:-0.7.8}
VERSION=${VERSION:-0.7.12}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://github.com/bitprophet/alabaster/archive/$VERSION.tar.gz}
WGET=${WGET:-https://files.pythonhosted.org/packages/cc/b4/ed8dcb0d67d5cfb7f83c4d5463a7614cb1d078ad7ae890c9143edebbf072/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-python-alabaster}
@ -61,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
@ -69,8 +69,10 @@ 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

Loading…
Cancel
Save