development/pylint: Update script.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dimitris Zlatanidis 2024-04-30 08:24:24 +03:00 committed by Willy Sudiarto Raharjo
parent 4f2b3e94c2
commit 1b9c5de735
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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