summaryrefslogtreecommitdiffstats
path: root/python/python3-pylint
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-pylint')
-rw-r--r--python/python3-pylint/python3-pylint.SlackBuild11
-rw-r--r--python/python3-pylint/python3-pylint.info12
2 files changed, 10 insertions, 13 deletions
diff --git a/python/python3-pylint/python3-pylint.SlackBuild b/python/python3-pylint/python3-pylint.SlackBuild
index 19bb296c27..e0e34d2c1a 100644
--- a/python/python3-pylint/python3-pylint.SlackBuild
+++ b/python/python3-pylint/python3-pylint.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for python3-pylint
+# Copyright 2022-2024 Dimitris Zlatanidis Orestiada, Greece
# Copyright 2018 Markus Rinne Finland
# All rights reserved.
#
@@ -26,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-pylint
SRCNAM=pylint
-VERSION=${VERSION:-2.10.1}
+VERSION=${VERSION:-3.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,12 +81,8 @@ 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
-
-# Rename executables to avoid conflicts with Python 2 version of pylint.
-for executable in epylint pylint pyreverse symilar; do
- mv $PKG/usr/bin/${executable}{,3}
-done
+python3 -m flit_core.wheel
+python3 -m installer -d "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/python/python3-pylint/python3-pylint.info b/python/python3-pylint/python3-pylint.info
index ff22d3af9e..d33f11b8fc 100644
--- a/python/python3-pylint/python3-pylint.info
+++ b/python/python3-pylint/python3-pylint.info
@@ -1,10 +1,10 @@
PRGNAM="python3-pylint"
-VERSION="2.10.1"
+VERSION="3.2.0"
HOMEPAGE="https://www.pylint.org"
-DOWNLOAD="https://files.pythonhosted.org/packages/bd/8e/17dc5445c1614afe4df858c1d8ed2aedc5ec98e193527b78e3a19513e491/pylint-2.10.1.tar.gz"
-MD5SUM="82fe955282c1068240bab31021cb3c1a"
+DOWNLOAD="https://files.pythonhosted.org/packages/62/75/e48496ea7fc2de24b361dd8084300a2f7e51c47e82363c736026d41cdf2f/pylint-3.2.0.tar.gz"
+MD5SUM="ef6f8388897bea9bc845bcc4e696f484"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-toml python3-astroid python3-isort python3-mccabe"
-MAINTAINER="Markus Rinne"
-EMAIL="markus.ka.rinne@gmail.com"
+REQUIRES="python3-astroid python3-isort python3-mccabe python3-dill python3-tomlkit python3-platformdirs"
+MAINTAINER="Dimitris Zlatanidis"
+EMAIL="dslackw@gmail.com"