void-packages/srcpkgs/flake8/template

24 lines
686 B
Bash
Raw Normal View History

2014-10-12 18:02:41 +00:00
# Template file for 'flake8'
pkgname=flake8
2015-05-21 07:09:49 +00:00
version=2.4.1
2015-06-04 10:57:17 +00:00
revision=2
2014-10-12 18:02:41 +00:00
noarch=yes
build_style=python-module
hostmakedepends="python-setuptools"
depends="${hostmakedepends} pep8 pyflakes mccabe"
2014-10-12 18:02:41 +00:00
pycompile_module="flake8"
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-05-21 07:09:49 +00:00
checksum=2e7ebbe59d8c85e626e36d99f0db2f578394313d3f7ce9dc9f1da57ef6cd7537
2015-05-21 07:09:49 +00:00
pre_build() {
2015-06-04 10:57:17 +00:00
# allow pep8 1.6.2 (patched) and pyflakes 0.9
sed -i '/pep8/s|, != 1.6.2||;/pyflakes/s|, < 0.9||' setup.py
2015-05-21 07:09:49 +00:00
}
post_install() {
vlicense LICENSE
}