Browse Source

l/python-flake8-blind-except: Updated.

current-20191101
parent
commit
5fa05087e1
  1. 8
      l/python-flake8-blind-except/python-flake8-blind-except.SlackBuild

8
l/python-flake8-blind-except/python-flake8-blind-except.SlackBuild

@ -29,7 +29,6 @@
NAMESRC=${NAMESRC:-flake8-blind-except}
VERSION=${VERSION:-0.1.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://files.pythonhosted.org/packages/ff/f2/ab635e6e420e78c94eab50cd3f53abd3ec27e411793e50b14f29edbb9f0b/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-python-flake8-blind-except}
@ -59,8 +58,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)
@ -70,8 +68,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