summaryrefslogtreecommitdiff
path: root/development/pylint/pylint.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/pylint/pylint.SlackBuild')
-rw-r--r--development/pylint/pylint.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/development/pylint/pylint.SlackBuild b/development/pylint/pylint.SlackBuild
index 0b2341d962..0a08ab18cb 100644
--- a/development/pylint/pylint.SlackBuild
+++ b/development/pylint/pylint.SlackBuild
@@ -5,11 +5,10 @@
# Written by Grissiom chaos.proton@gmail.com
PRGNAM=pylint
-VERSION=${VERSION:-0.18.0}
+VERSION=${VERSION:-0.21.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -24,7 +23,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -41,14 +40,11 @@ find . \
python setup.py install --root=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
mkdir -p ${PKG}/usr/doc/$PRGNAM-$VERSION
rm -rf ${PKG}/usr/share
cp -a \
- PKG-INFO README ChangeLog COPYING TODO DEPENDS \
+ PKG-INFO README ChangeLog COPYING DEPENDS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild