# Contributor: jmcb # Contributor: Jonas DOREL pkgname=python-prospector _name=prospector pkgver=1.10.2 pkgrel=1 pkgdesc="Python static analysis tool" url="https://github.com/PyCQA/prospector/" depends=('python-pylint' 'python-pylint-celery' 'python-pylint-django' 'python-pylint-plugin-utils' 'python-pylint-flask' 'python-requirements-detector' 'python-yaml' 'python-mccabe' 'python-pyflakes' 'python-pycodestyle' 'python-pep8-naming' 'python-pydocstyle' 'python-dodgy' 'python-toml' 'python-setoptconf' 'python-gitpython' 'python-packaging') optdepends=('python-bandit: security linter' 'mypy: optional type checking' 'python-pyroma: check setup.py' 'python-vulture: find dead code') makedepends=('python-poetry' 'python-wheel') license=('GPL2') arch=('any') source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") sha256sums=('cc8f09e79bdd32247edddf05b666940e88ad96338a84f5717b1e8c0678337821') build() { cd "$_name-$pkgver" python -m build --wheel --no-isolation } package() { cd "$_name-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl }