blob: 392680a7d77815d5d244a5f6f2eafa1d6ad945bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-flake8-import-order
_pkgname=flake8-import-order
pkgver=0.11
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="dca202a864fc718b83fadfe71de32887 flake8-import-order-0.11.tar.gz"
sha256sums="b56ca2793e27bd99c46f59a0a51f4847ddc1fed22697a505add882a9db2b8613 flake8-import-order-0.11.tar.gz"
sha512sums="a4a683da90d97b0eda0d64845737b691eed01171f7417b2882df697f627fef3e4068d3dbffe36dc486f8cd29a0409627e47ab0922063190432571d20a7ee7850 flake8-import-order-0.11.tar.gz"
|