2014-10-12 18:02:41 +00:00
|
|
|
# Template file for 'flake8'
|
|
|
|
pkgname=flake8
|
2015-12-09 23:10:12 +00:00
|
|
|
version=2.5.1
|
2015-10-27 15:50:50 +00:00
|
|
|
revision=1
|
2014-10-12 18:02:41 +00:00
|
|
|
noarch=yes
|
|
|
|
build_style=python-module
|
|
|
|
hostmakedepends="python-setuptools"
|
2015-03-10 11:58:00 +00:00
|
|
|
depends="${hostmakedepends} pep8 pyflakes mccabe"
|
2014-10-12 18:02:41 +00:00
|
|
|
pycompile_module="flake8"
|
2015-03-10 11:58:00 +00:00
|
|
|
short_desc="The modular source code checker: pep8, pyflakes, mccabe"
|
2014-10-12 18:02:41 +00:00
|
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
|
|
homepage="https://gitlab.com/pycqa/flake8"
|
|
|
|
license="MIT"
|
|
|
|
distfiles="${PYPI_SITE}/f/flake8/flake8-${version}.tar.gz"
|
2015-12-09 23:10:12 +00:00
|
|
|
checksum=448aed48b0671fe6062f47b98c3081f3a4b36fbe99ddb8ac2a3be6e6cb135603
|
2015-03-10 11:58:00 +00:00
|
|
|
|
2015-05-21 07:09:49 +00:00
|
|
|
pre_build() {
|
2015-10-27 15:50:50 +00:00
|
|
|
# allow pep8 1.6.2 (patched)
|
|
|
|
sed -i '/pep8/s|, != 1.6.2||' setup.py
|
2015-05-21 07:09:49 +00:00
|
|
|
}
|
2015-03-10 11:58:00 +00:00
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|