blob: 8fcc7ad07abd368d525b144542b11cda5ada9d20 (
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
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=pylint
pkgver=1.0.0
pkgrel=1
pkgdesc="Analyzes Python code looking for bugs and signs of poor quality"
url="http://pypi.python.org/pypi/pylint"
arch="noarch"
license="GPL2+"
depends="python py-astroid"
depends_dev=""
makedepends="python-dev py-setuptools py-astroid"
install=""
subpackages="$pkgname-doc"
source="http://pypi.python.org/packages/source/p/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
doc() {
# The man page is not picked-up automatically
mkdir -p "$subpkgdir"/usr/share/man/man1 || return 1
mv "$_builddir"/man/*.1 "$subpkgdir"/usr/share/man/man1/ || return 1
}
md5sums="082b84db04e92f58bba6331060397b05 pylint-1.0.0.tar.gz"
sha256sums="c28f22ef0e3d39a7cac8d2110f8e680e8b44123050ffd5b352d77c081237cb59 pylint-1.0.0.tar.gz"
sha512sums="0af6f49d70dcc46414d36c630c4dbce2dd46b36ed0032ccc3d7862da8f068cbb98593cd183ba0575529192ef42b35b714be89c6e4358fa02e3ad7118ab720598 pylint-1.0.0.tar.gz"
|