# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-pylint pkgver=2.17.0 pkgrel=0 pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" url="https://github.com/PyCQA/pylint" arch="noarch !s390x" # py3-dill license="GPL-2.0-or-later" depends=" py3-astroid py3-dill py3-isort py3-mccabe py3-platformdirs py3-tomlkit " makedepends=" py3-gpep517 py3-installer py3-setuptools py3-wheel " checkdepends=" py3-gitpython py3-py py3-pytest py3-pytest-benchmark py3-pytest-runner py3-pytest-timeout py3-pytest-xdist py3-requests py3-typing-extensions " source="$pkgname-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir"/pylint-$pkgver build() { gpep517 build-wheel \ --wheel-dir dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages testenv testenv/bin/python3 -m installer dist/*.whl testenv/bin/python3 -m pytest --benchmark-disable -v tests } package() { python3 -m installer -d "$pkgdir" \ dist/pylint-*.whl } sha512sums=" 2796cf670b2aa6cc448e5e26b4899804ebfdea6df3730cab06f2c72fdf57ee07b08e63f0748bce991175c67c22d040ededa19c967a2f74e14d44e54323aff945 py3-pylint-2.17.0.tar.gz "