# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-pylint _pkgname=pylint pkgver=2.3.1 pkgrel=0 pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" 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="924d8adc95f04ba750b3b44fe79ac569151ea7c8f693cc9867bcda3878209ebc2202931702b98f80709d161d3781b6e181aea0ded35a3323c023497e2a749ea9 pylint-2.3.1.tar.gz"