32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
# Template file for 'pylint'
|
|
pkgname=pylint
|
|
version=2.12.2
|
|
revision=1
|
|
build_style=python3-module
|
|
make_check_args="--deselect=tests/benchmark/test_baseline_benchmarks.py"
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-astroid python3-isort python3-mccabe python3-toml
|
|
python3-platformdirs"
|
|
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://www.pylint.org/"
|
|
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_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)"
|
|
}
|