# Contributor: Peter Bui # Maintainer: Fabian Affolter pkgname=pyflakes pkgver=0.9.2 pkgrel=0 pkgdesc="A passive checker of Python programs" url="https://github.com/pyflakes/pyflakes" arch="noarch" license="MIT" depends="python" depends_dev="" makedepends="python-dev" install="" subpackages="" source="http://pypi.python.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" python setup.py build || return 1 } package() { cd "$_builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="f7032897353e68f6dc6210dfab39f414 pyflakes-0.9.2.tar.gz" sha256sums="02691c23ce699f252874b7c27f14cf26e3d4e82b58e5d584f000b7ab5be36a5f pyflakes-0.9.2.tar.gz" sha512sums="f412ab8dfabce8378edc7632f448071fc396bd4d76dc0a091df357ed0283151040be9aa51b59dbf28451b6043388f83d82004f1df1cf761df487df40da0f9294 pyflakes-0.9.2.tar.gz"