summaryrefslogtreecommitdiff
path: root/development/pylint/pylint.SlackBuild
diff options
context:
space:
mode:
authorgrissiom <chaos.proton@gmail.com>2010-06-20 08:23:47 -0400
committerErik Hanson <erik@slackbuilds.org>2010-06-20 15:20:25 -0500
commit4f3b81b6d49934b07ac6f4e28d958e24b4264919 (patch)
tree33062e5cd6581fa224d36239f18780c185687665 /development/pylint/pylint.SlackBuild
parentac0d9da676605b5cfa839eea97f4170ae2a4a689 (diff)
downloadslackbuilds-4f3b81b6d49934b07ac6f4e28d958e24b4264919.tar.gz
development/pylint: Updated for version 0.21.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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