aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pylint/APKBUILD
blob: 261fb45545d479165b7725f9a1fdeab1707d3c20 (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=0.28.0
pkgrel=0
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-logilab-astng"
depends_dev=""
makedepends="python-dev py-logilab-astng"
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="1ccd3812c2729b605e5fd9425ef376e6  pylint-0.28.0.tar.gz"
sha256sums="310a03c37148e53521cb4ab704bdba0a2a59af091261c89dde3239320f8fa458  pylint-0.28.0.tar.gz"
sha512sums="52ff88adf3548375832887ea22bf50080de81277740d1485cb86a84b772bf5e78193f27144586a52e3d7c4b1de42e62339bcc8778bd5f52167c7642856fdcc8e  pylint-0.28.0.tar.gz"