34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'pylint'
|
|
pkgname=pylint
|
|
version=2.15.8
|
|
revision=1
|
|
build_style=python3-pep517
|
|
make_build_args="--skip-dependency-check --no-isolation --wheel"
|
|
make_check_args="--deselect=tests/benchmark/test_baseline_benchmarks.py"
|
|
hostmakedepends="python3-wheel"
|
|
depends="python3-astroid python3-isort python3-mccabe python3-tomlkit
|
|
python3-tomli python3-platformdirs python3-dill"
|
|
checkdepends="$depends python3-pytest python3-tkinter python3-six
|
|
python3-GitPython git"
|
|
short_desc="Python code static checker"
|
|
maintainer="Michal Vasilek <michal@vasilek.cz>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://pylint.pycqa.org"
|
|
distfiles="https://github.com/PyCQA/pylint/archive/refs/tags/v$version.tar.gz"
|
|
checksum=0a4f659e7d80de094ee0bd9db243f1c921dcb82e8afa150844d0b04bec90f6e7
|
|
make_check=no # FIXME
|
|
|
|
post_install() {
|
|
# install example config and emacs files
|
|
vsconf examples/pylintrc
|
|
vsconf examples/pylintrc_camelcase
|
|
vsconf elisp/pylint.el
|
|
vsconf elisp/pylint-flymake.el
|
|
}
|
|
|
|
python3-pylint_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
build_style=meta
|
|
short_desc+=" (transitional dummy package)"
|
|
}
|