Browse Source

l/pydocstyle: Upgraded to pydocstyle-5.0.1.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
926b7055d8
  1. 1
      l/pydocstyle/pydocstyle-3.0.0.tar.gz.sha256
  2. 1
      l/pydocstyle/pydocstyle-5.0.1.tar.gz.sha256
  3. 16
      l/pydocstyle/pydocstyle.SlackBuild

1
l/pydocstyle/pydocstyle-3.0.0.tar.gz.sha256

@ -1 +0,0 @@
5741c85e408f9e0ddf873611085e819b809fca90b619f5fd7f34bd4959da3dd4 pydocstyle-3.0.0.tar.gz

1
l/pydocstyle/pydocstyle-5.0.1.tar.gz.sha256

@ -0,0 +1 @@
a0de36e549125d0a16a72a8c8c6c9ba267750656e72e466e994c222f1b6e92cb pydocstyle-5.0.1.tar.gz

16
l/pydocstyle/pydocstyle.SlackBuild

@ -25,13 +25,12 @@
# Latest pydocstyle sourcecode is available at:
# <https://github.com/PyCQA/pydocstyle/>.
#
# Depends: l/python-backports
# Depends: l/snowballstemmer
# Source package infos
NAMESRC=${NAMESRC:-pydocstyle}
VERSION=${VERSION:-3.0.0}
VERSION=${VERSION:-5.0.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://files.pythonhosted.org/packages/e1/e6/a0669df17a97e462915a10a7d6c567658b60eceddebf62a3fb9975c00196/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-pydocstyle}
@ -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/$NAME
@ -82,8 +80,8 @@ install -m 644 LICENSE-MIT README.rst $PKG/usr/doc/$NAME
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
python-backports
cat > $PKG/install/slack-required <<EOF
snowballstemmer
EOF
# Package the tree

Loading…
Cancel
Save