# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-pylint _pkgname=pylint pkgver=2.4.3 pkgrel=1 pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" options="!check" # 1 test test_by_module_statement_value fails url="https://github.com/PyCQA/pylint" arch="noarch" license="GPL-2.0-or-later" depends="py3-astroid py3-isort py3-mccabe py3-setuptools" checkdepends="mpdecimal py3-pytest py3-pytest-runner" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver build() { python3 setup.py build } check() { python3 setup.py pytest } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="b14399bcc1aa4fdc86cbfb4e453c9d507333a91f5f3405cd284391245eb2a783a16533c5aa75121f80f56f7fceda547ef42701f9084526081ee94e5eeea34774 pylint-2.4.3.tar.gz"