mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
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:
parent
4f2b3e94c2
commit
1b9c5de735
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue