aboutsummaryrefslogtreecommitdiff
path: root/python/python3-pylint
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2023-10-25 16:57:50 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-10-28 13:12:00 +0700
commit7631d5606c3789494db05e10247adc4422e86e28 (patch)
tree98f83886e5ce23462b75a2778a5b29f9af38e1bd /python/python3-pylint
parent1043930c652733311bda8375a4089e90ecd7ace9 (diff)
python/python3-pylint: Updated for version 3.0.2.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-pylint')
-rw-r--r--python/python3-pylint/python3-pylint.SlackBuild9
-rw-r--r--python/python3-pylint/python3-pylint.info8
2 files changed, 9 insertions, 8 deletions
diff --git a/python/python3-pylint/python3-pylint.SlackBuild b/python/python3-pylint/python3-pylint.SlackBuild
index 9d4ebc0aceb8..e44d5f2ecdaa 100644
--- a/python/python3-pylint/python3-pylint.SlackBuild
+++ b/python/python3-pylint/python3-pylint.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-pylint
-# Copyright 2022 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2022-2023 Dimitris Zlatanidis Orestiada, Greece
# Copyright 2018 Markus Rinne Finland
# All rights reserved.
#
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-pylint
SRCNAM=pylint
-VERSION=${VERSION:-2.14.5}
+VERSION=${VERSION:-3.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,10 +81,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python3 setup.py install --root=$PKG
+python3 -m flit_core.wheel
+python3 -m installer -d "$PKG" dist/*.whl
# Rename executables to avoid conflicts with Python 2 version of pylint.
-for executable in epylint pylint pyreverse symilar; do
+for executable in pylint-config pylint pyreverse symilar; do
mv $PKG/usr/bin/${executable}{,3}
done
diff --git a/python/python3-pylint/python3-pylint.info b/python/python3-pylint/python3-pylint.info
index dee07458f251..3e5e11782670 100644
--- a/python/python3-pylint/python3-pylint.info
+++ b/python/python3-pylint/python3-pylint.info
@@ -1,10 +1,10 @@
PRGNAM="python3-pylint"
-VERSION="2.14.5"
+VERSION="3.0.2"
HOMEPAGE="https://www.pylint.org"
-DOWNLOAD="https://files.pythonhosted.org/packages/82/e5/ae649803c4f3a4e47720337352af046089f8e9ff8a25958199df74268984/pylint-2.14.5.tar.gz"
-MD5SUM="6c095d6908c18fe69553e8a075fbe05b"
+DOWNLOAD="https://files.pythonhosted.org/packages/10/ab/f0ad2a4fb3265d71685627db452398f769b48d64d81c7d66ca8c4f4c198b/pylint-3.0.2.tar.gz"
+MD5SUM="73baaa9253c5e16850dd9c89128fb3d2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-toml python3-astroid python3-isort python3-mccabe python3-dill python3-tomlkit python3-platformdirs"
+REQUIRES="python3-astroid python3-isort python3-mccabe python3-dill python3-tomlkit python3-platformdirs"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"