pylint: fix for mccabe 0.7

Closes: #35441
This commit is contained in:
Michal Vasilek 2022-02-06 20:43:52 +01:00
parent 1a04506c00
commit a7f35763f9

View file

@ -1,7 +1,7 @@
# Template file for 'pylint'
pkgname=pylint
version=2.12.2
revision=1
revision=2
build_style=python3-module
make_check_args="--deselect=tests/benchmark/test_baseline_benchmarks.py"
hostmakedepends="python3-setuptools"
@ -17,6 +17,10 @@ changelog="https://raw.githubusercontent.com/PyCQA/pylint/master/ChangeLog"
distfiles="https://github.com/PyCQA/pylint/archive/refs/tags/v$version.tar.gz"
checksum=411308682f3d4578bb769e7fa549c8f34edf1033871d2e8cd5c3ce16a5741c59
post_patch() {
vsed -e 's/mccabe>=0.6,<0.7/mccabe>=0.6,<=0.7/' -i setup.cfg
}
post_install() {
# install example config and emacs files
vsconf examples/pylintrc