2014-10-12 20:02:41 +02:00
|
|
|
# Template file for 'flake8'
|
|
|
|
pkgname=flake8
|
2016-02-14 00:07:02 +01:00
|
|
|
version=2.5.4
|
2016-03-02 19:40:32 +01:00
|
|
|
revision=2
|
2014-10-12 20:02:41 +02:00
|
|
|
noarch=yes
|
|
|
|
build_style=python-module
|
|
|
|
hostmakedepends="python-setuptools"
|
2015-03-10 12:58:00 +01:00
|
|
|
depends="${hostmakedepends} pep8 pyflakes mccabe"
|
2014-10-12 20:02:41 +02:00
|
|
|
pycompile_module="flake8"
|
2015-03-10 12:58:00 +01:00
|
|
|
short_desc="The modular source code checker: pep8, pyflakes, mccabe"
|
2014-10-12 20:02:41 +02:00
|
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
|
|
homepage="https://gitlab.com/pycqa/flake8"
|
|
|
|
license="MIT"
|
|
|
|
distfiles="${PYPI_SITE}/f/flake8/flake8-${version}.tar.gz"
|
2016-02-14 00:07:02 +01:00
|
|
|
checksum=cc1e58179f6cf10524c7bfdd378f5536d0a61497688517791639a5ecc867492f
|
2015-03-10 12:58:00 +01:00
|
|
|
|
2016-03-02 19:40:32 +01:00
|
|
|
pre_build() {
|
|
|
|
# allow pyflakes 1.1
|
|
|
|
sed -i '/pyflakes/s|, < 1.1||' setup.py
|
|
|
|
}
|
2015-03-10 12:58:00 +01:00
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|