# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-flake8-immediate
_pkgname=flake8-immediate
pkgver=0.2
pkgrel=3
pkgdesc="Enables immediate output for flake8"
url="https://github.com/schlamar/flake8-immediate"
arch="noarch"
license="MIT"
depends="flake8"
makedepends="python3-dev"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build || return 1
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="fb231c8a1e938046c55be0590c5e1849  flake8-immediate-0.2.zip"
sha256sums="edfaae46f0254fb87f6bf247fafde4379ecade0d8efc6a6fb5dbc6371fcbb7bc  flake8-immediate-0.2.zip"
sha512sums="51403249731028373af129fd4451f62d90266003ab702bfa8ce925460c7136f3ac35aedd434303c07932147d2ddbeb0e0a5345838ecb1515ff74268575a561f0  flake8-immediate-0.2.zip"