pylint: update to 2.10.2.
This commit is contained in:
parent
800291af1f
commit
8aca82d401
2 changed files with 5 additions and 17 deletions
|
@ -1,13 +0,0 @@
|
||||||
https://github.com/PyCQA/pylint/pull/4781
|
|
||||||
|
|
||||||
--- a/tests/lint/unittest_lint.py
|
|
||||||
+++ b/tests/lint/unittest_lint.py
|
|
||||||
@@ -643,7 +643,7 @@ def test_pylint_home():
|
|
||||||
assert config.PYLINT_HOME == pylintd
|
|
||||||
finally:
|
|
||||||
try:
|
|
||||||
- os.remove(pylintd)
|
|
||||||
+ rmtree(pylintd)
|
|
||||||
except FileNotFoundError:
|
|
||||||
pass
|
|
||||||
finally:
|
|
|
@ -1,11 +1,12 @@
|
||||||
# Template file for 'pylint'
|
# Template file for 'pylint'
|
||||||
pkgname=pylint
|
pkgname=pylint
|
||||||
version=2.9.6
|
version=2.10.2
|
||||||
revision=1
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
make_check_args="--deselect=tests/benchmark/test_baseline_benchmarks.py"
|
make_check_args="--deselect=tests/benchmark/test_baseline_benchmarks.py"
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3-astroid python3-isort python3-mccabe python3-toml"
|
depends="python3-astroid python3-isort python3-mccabe python3-toml
|
||||||
|
python3-platformdirs"
|
||||||
checkdepends="$depends python3-pytest python3-tkinter python3-six"
|
checkdepends="$depends python3-pytest python3-tkinter python3-six"
|
||||||
short_desc="Python code static checker"
|
short_desc="Python code static checker"
|
||||||
maintainer="Michal Vasilek <michal@vasilek.cz>"
|
maintainer="Michal Vasilek <michal@vasilek.cz>"
|
||||||
|
@ -13,7 +14,7 @@ license="GPL-2.0-or-later"
|
||||||
homepage="https://www.pylint.org/"
|
homepage="https://www.pylint.org/"
|
||||||
changelog="https://raw.githubusercontent.com/PyCQA/pylint/master/ChangeLog"
|
changelog="https://raw.githubusercontent.com/PyCQA/pylint/master/ChangeLog"
|
||||||
distfiles="https://github.com/PyCQA/pylint/archive/refs/tags/v$version.tar.gz"
|
distfiles="https://github.com/PyCQA/pylint/archive/refs/tags/v$version.tar.gz"
|
||||||
checksum=e6335c810ee3ff4b59e3990db49cf0d1e263e122b766853755436d88133c9496
|
checksum=639254a0ef06dacfcfb27ce01bc3b1ddf27dbe702ba0685ae0286e0d02ff9194
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# install example config and emacs files
|
# install example config and emacs files
|
||||||
|
@ -24,7 +25,7 @@ post_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-pylint_package() {
|
python3-pylint_package() {
|
||||||
depends="pylint>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
build_style=meta
|
build_style=meta
|
||||||
short_desc+=" (transitional dummy package)"
|
short_desc+=" (transitional dummy package)"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue