# Contributor: Peter Bui # Maintainer: Fabian Affolter pkgname=pyflakes pkgver=1.1.0 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="https://files.pythonhosted.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="e0bf854cd5abd4527e149692925b82eb pyflakes-1.1.0.tar.gz" sha256sums="e5f959931987e2be178781554b485d52342ec9f1b43f891d2dad07a691c7a89a pyflakes-1.1.0.tar.gz" sha512sums="7348ad097af9d8f3af5aa272a2de639724b76aa2bfbda323c90d2a8cd7574ac768f0ff23c558ebb5a81c029b578ce152d8790fa322c4090defda53dad28cf9a3 pyflakes-1.1.0.tar.gz"