23 lines
647 B
Bash
23 lines
647 B
Bash
# Template file for 'flake8'
|
|
pkgname=flake8
|
|
version=2.5.0
|
|
revision=1
|
|
noarch=yes
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools"
|
|
depends="${hostmakedepends} pep8 pyflakes mccabe"
|
|
pycompile_module="flake8"
|
|
short_desc="The modular source code checker: pep8, pyflakes, mccabe"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="https://gitlab.com/pycqa/flake8"
|
|
license="MIT"
|
|
distfiles="${PYPI_SITE}/f/flake8/flake8-${version}.tar.gz"
|
|
checksum=8216c8c6ee092ae93d51f89bc91045648c88cd9be77d60cf47df7ca26ee4f88c
|
|
|
|
pre_build() {
|
|
# allow pep8 1.6.2 (patched)
|
|
sed -i '/pep8/s|, != 1.6.2||' setup.py
|
|
}
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|