flake8: update to 2.5.0

This commit is contained in:
Alessio Sergi 2015-10-27 16:50:50 +01:00
parent fb5191845e
commit 43c07d8385

View file

@ -1,7 +1,7 @@
# Template file for 'flake8'
pkgname=flake8
version=2.4.1
revision=2
version=2.5.0
revision=1
noarch=yes
build_style=python-module
hostmakedepends="python-setuptools"
@ -12,11 +12,11 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://gitlab.com/pycqa/flake8"
license="MIT"
distfiles="${PYPI_SITE}/f/flake8/flake8-${version}.tar.gz"
checksum=2e7ebbe59d8c85e626e36d99f0db2f578394313d3f7ce9dc9f1da57ef6cd7537
checksum=8216c8c6ee092ae93d51f89bc91045648c88cd9be77d60cf47df7ca26ee4f88c
pre_build() {
# allow pep8 1.6.2 (patched) and pyflakes 0.9
sed -i '/pep8/s|, != 1.6.2||;/pyflakes/s|, < 0.9||' setup.py
# allow pep8 1.6.2 (patched)
sed -i '/pep8/s|, != 1.6.2||' setup.py
}
post_install() {
vlicense LICENSE