# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=pylint pkgver=1.0.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="082b84db04e92f58bba6331060397b05 pylint-1.0.0.tar.gz" sha256sums="c28f22ef0e3d39a7cac8d2110f8e680e8b44123050ffd5b352d77c081237cb59 pylint-1.0.0.tar.gz" sha512sums="0af6f49d70dcc46414d36c630c4dbce2dd46b36ed0032ccc3d7862da8f068cbb98593cd183ba0575529192ef42b35b714be89c6e4358fa02e3ad7118ab720598 pylint-1.0.0.tar.gz"