aboutsummaryrefslogtreecommitdiff
path: root/development/pylint
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2024-04-30 08:24:24 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-05-04 21:45:31 +0700
commit1b9c5de73524c4669184bcfc57ce41405c5a64f6 (patch)
tree29bd948723f46adf4dfa1644167272382226b0ef /development/pylint
parent4f2b3e94c2dca3555e229923b95ddd6045393de0 (diff)
development/pylint: Update script.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/pylint')
-rw-r--r--development/pylint/pylint.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/development/pylint/pylint.SlackBuild b/development/pylint/pylint.SlackBuild
index 8469fde965ef..36003d6637ec 100644
--- a/development/pylint/pylint.SlackBuild
+++ b/development/pylint/pylint.SlackBuild
@@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pylint
VERSION=${VERSION:-1.7.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -71,6 +71,11 @@ find -L . \
python setup.py install --root=$PKG
+# Rename executables to avoid conflicts with Python 3 version of pylint.
+for executable in pylint epylint pyreverse symilar; do
+ mv $PKG/usr/bin/${executable}{,2}
+done
+
mkdir -p ${PKG}/usr/doc/$PRGNAM-$VERSION
rm -rf ${PKG}/usr/share