Browse Source

l/python-flake8-comprehensions: Upgraded to python-flake8-comprehensions-3.1.4.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
93d38a937d
  1. 1
      l/python-flake8-comprehensions/flake8-comprehensions-1.4.1.tar.gz.sha256
  2. 1
      l/python-flake8-comprehensions/flake8-comprehensions-3.1.4.tar.gz.sha256
  3. 13
      l/python-flake8-comprehensions/python-flake8-comprehensions.SlackBuild

1
l/python-flake8-comprehensions/flake8-comprehensions-1.4.1.tar.gz.sha256

@ -1 +0,0 @@
b83891fec0e680b07aa1fd92e53eb6993be29a0f3673a09badbe8da307c445e0 flake8-comprehensions-1.4.1.tar.gz

1
l/python-flake8-comprehensions/flake8-comprehensions-3.1.4.tar.gz.sha256

@ -0,0 +1 @@
e3a8350a35d7bc71f8a1f64cf3c633a418a26b0edace2219d26ea4dd78ac21f3 flake8-comprehensions-3.1.4.tar.gz

13
l/python-flake8-comprehensions/python-flake8-comprehensions.SlackBuild

@ -25,13 +25,12 @@
# Latest flake8-comprehensions sourcecode is available at:
# <https://github.com/adamchainz/flake8-comprehensions>.
#
# Depends: l/python-flake8
# Depends: l/python-flake8, l/python-importlib_metadata
# Source package infos
NAMESRC=${NAMESRC:-flake8-comprehensions}
VERSION=${VERSION:-1.4.1}
VERSION=${VERSION:-3.1.4}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://files.pythonhosted.org/packages/34/07/cd53c9ae3275f5f52c5ec196b36b3cd5a71e943b199cef18ffaaf4761338/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-python-flake8-comprehensions}
@ -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
@ -84,6 +82,7 @@ install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
python-flake8
python-importlib_metadata
EOF
# Package the tree

Loading…
Cancel
Save