blob: e2d4d5fd93f3806c4b7db6dce4d07f0979d5c6a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: jmcb <joelsgp@protonmail.com>
# Contributor: Jonas DOREL <jonas at dorel dot me>
pkgname='python-prospector'
_name='prospector'
pkgver='1.9.0'
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-build'
'python-installer'
'python-wheel')
license=('GPL2')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('599f31516f857d785058773875e9358702ad653e65461e8cad44134d8ee17b1f')
build() {
cd "$_name-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|