blob: a109d1256f946e9724864f7689973a9ef139ad6d (
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
|
# Maintainer: Andrew Steinke <rkcf@rkcf.me>
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=python-prospector
_pkgname=prospector
pkgver=1.1.5
pkgrel=1
pkgdesc="Python static analysis tool"
arch=('any')
depends=('python-pylint-celery'
'python-pylint-flask'
'python-pylint-django'
'python-requirements-detector'
'python-setoptconf'
'python-dodgy'
'python-pyaml'
'python-pycodestyle'
'python-pep8-naming'
'python-pydocstyle')
makedepends=('python-setuptools')
optdepends=('python-pyroma: check setup.py'
'python-vulture: find dead code'
'python-mypy: optional type checking')
url="https://github.com/PyCQA/prospector"
license=('GPL2')
source=("$url/archive/$pkgver.tar.gz")
md5sums=('222892e4f96752ea34a89b9152e35136')
build() {
cd "$srcdir/$_pkgname-$pkgver"
python setup.py build
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
# vim:set ts=2 sw=2 et:
|