blob: 6b9a883963e55046456ad10b9b6456132fc67204 (
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.2.1
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="06b388714877a1f758434379c3a94660 flake8-3.2.1.tar.gz"
sha256sums="c7c460b5aff3a2063c798a77af18ec70af3941d35a22e2e76965e3c0e0b36055 flake8-3.2.1.tar.gz"
sha512sums="9ccb4e13d87ae1198466f112138d5ef423f55e9af1d6ab9f14d6927bd40b9d621d1a74e0acd43b1ba4e12cae67d7671dde205c04f5760d760ca9d982655d4ebf flake8-3.2.1.tar.gz"
|