# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py-flake8-import-order _pkgname=flake8-import-order pkgver=0.10 pkgrel=0 pkgdesc="Extension for flake8 which checks for the ordering of import statements" url="https://github.com/public/flake8-import-order" arch="noarch" license="MIT" depends="flake8" makedepends="python3-dev" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" 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="2ce3b767bc72b152abc3be1f149d1b41 flake8-import-order-0.10.tar.gz" sha256sums="64ec1220b4755c6bdecffbdbb4c10e6e74f1f7a248c70bbcc33c06d475757d8d flake8-import-order-0.10.tar.gz" sha512sums="d79dd05ddbd3aecd8fb8f9230fe35e08a9c7ee48e7a3f8f800cb65a6084a3a20b43d18b36f2dcd68c1deab6c926f9c8f4827e4ea0f950a0eb57fca4e7cd47c2b flake8-import-order-0.10.tar.gz"