mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-30 05:42:12 +01:00
28 lines
943 B
Plaintext
28 lines
943 B
Plaintext
# 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"
|