diff --git a/development/pylint/pylint.SlackBuild b/development/pylint/pylint.SlackBuild index 8469fde965..36003d6637 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