# Template file for 'pylint'
pkgname=pylint
version=3.3.7
revision=2
build_style=python3-pep517
make_check_args="--primer-stdlib"
hostmakedepends="python3-setuptools"
depends="python3-astroid python3-isort python3-mccabe python3-tomlkit
 python3-platformdirs python3-dill"
checkdepends="$depends python3-pytest python3-pytest-benchmark
 python3-coverage python3-GitPython python3-typing_extensions
 python3-requests python3-enchant hunspell-en"
short_desc="Python code static checker"
maintainer="Orphaned <orphan@voidlinux.org>"
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=a10501d89b9257720844481b21a16137f7880af793971bdf871f78712f75b5ee

post_install() {
	# install example config and emacs files
	vsconf examples/pylintrc
	vsconf examples/pylintrc_camelcase
}

python3-pylint_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	metapackage=yes
	short_desc+=" (transitional dummy package)"
}
