Browse Source

l/python-flake8-rst-docstrings: Upgraded to python-flake8-rst-docstrings-0.0.12.

current-20191101
parent
commit
c8dee06c77
  1. 1
      l/python-flake8-rst-docstrings/flake8-rst-docstrings-0.0.10.tar.gz.sha256
  2. 1
      l/python-flake8-rst-docstrings/flake8-rst-docstrings-0.0.12.tar.gz.sha256
  3. 10
      l/python-flake8-rst-docstrings/python-flake8-rst-docstrings.SlackBuild

1
l/python-flake8-rst-docstrings/flake8-rst-docstrings-0.0.10.tar.gz.sha256

@ -1 +0,0 @@
009c278460394d7f5a88c9e4da91962e1b7cd6a351913c2c2947b873a4887625 flake8-rst-docstrings-0.0.10.tar.gz

1
l/python-flake8-rst-docstrings/flake8-rst-docstrings-0.0.12.tar.gz.sha256

@ -0,0 +1 @@
01d38327801781b26c3dfeb71ae37e5a02c5ca1b774a686f63feab8824ca6f9c flake8-rst-docstrings-0.0.12.tar.gz

10
l/python-flake8-rst-docstrings/python-flake8-rst-docstrings.SlackBuild

@ -29,9 +29,8 @@
# Source package infos
NAMESRC=${NAMESRC:-flake8-rst-docstrings}
VERSION=${VERSION:-0.0.10}
VERSION=${VERSION:-0.0.12}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://files.pythonhosted.org/packages/37/7e/38880c61c0b76e45d6907b1877e727fc558d3c2b5812955ce3b468bdae5d/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-python-flake8-rst-docstrings}
@ -60,8 +59,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)
@ -71,8 +69,8 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python setup.py build
python 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