aboutsummaryrefslogtreecommitdiffstats
path: root/main/flake8/APKBUILD
blob: f319f59676196dd08d5ae5eabb8fd715570aa503 (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
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=flake8
pkgver=3.0.4
pkgrel=0
pkgdesc="A modular source code checker"
url="https://gitlab.com/pycqa/flake8"
arch="noarch"
license="MIT"
depends="python2 py-setuptools py-mccabe py-pep8 pyflakes"
makedepends="python2-dev"
source="https://pypi.io/packages/source/f/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

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

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

md5sums="2b48e5ef1d21c687f10a66d44f1dda5c  flake8-3.0.4.tar.gz"
sha256sums="b4c210c998f07d6ff24325dd91fbc011f2c37bcd6bf576b188de01d8656e970d  flake8-3.0.4.tar.gz"
sha512sums="845b38824112edfc8244f6ec795b5659f99b4e8171af5e6c737f345e5a429f7b26f57e24ccc42fa2d8117b7ceff4dd100fe840064260fa17f203804e4b83ab06  flake8-3.0.4.tar.gz"