Browse Source

l/python-flake8-docstrings: Upgraded to python-flake8-docstrings-1.5.0.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
e9a80e904e
  1. 1
      l/python-flake8-docstrings/flake8-docstrings-1.3.1.tar.gz.sha256
  2. 1
      l/python-flake8-docstrings/flake8-docstrings-1.5.0.tar.gz.sha256
  3. 10
      l/python-flake8-docstrings/python-flake8-docstrings.SlackBuild

1
l/python-flake8-docstrings/flake8-docstrings-1.3.1.tar.gz.sha256

@ -1 +0,0 @@
d8d72ccd5807c1ab9ff1466cb9bece0c4d94b8669e9bc4f472abc80dbc5d399e flake8-docstrings-1.3.1.tar.gz

1
l/python-flake8-docstrings/flake8-docstrings-1.5.0.tar.gz.sha256

@ -0,0 +1 @@
3d5a31c7ec6b7367ea6506a87ec293b94a0a46c0bce2bb4975b7f1d09b6f3717 flake8-docstrings-1.5.0.tar.gz

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

@ -29,9 +29,8 @@
# Source package infos
NAMESRC=${NAMESRC:-flake8-docstrings}
VERSION=${VERSION:-1.3.1}
VERSION=${VERSION:-1.5.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://files.pythonhosted.org/packages/dc/32/22d3ff1dd91d6e2b6821c95331b37a3dbbead88ce57eb3c73c71845141e3/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-python-flake8-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