flake8: allow pyflakes >= 0.9

This commit is contained in:
Alessio Sergi 2015-06-04 12:57:17 +02:00
parent 1f543981fa
commit 50d2aa14a9
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'flake8' # Template file for 'flake8'
pkgname=flake8 pkgname=flake8
version=2.4.1 version=2.4.1
revision=1 revision=2
noarch=yes noarch=yes
build_style=python-module build_style=python-module
hostmakedepends="python-setuptools" hostmakedepends="python-setuptools"
@ -15,8 +15,8 @@ distfiles="${PYPI_SITE}/f/flake8/flake8-${version}.tar.gz"
checksum=2e7ebbe59d8c85e626e36d99f0db2f578394313d3f7ce9dc9f1da57ef6cd7537 checksum=2e7ebbe59d8c85e626e36d99f0db2f578394313d3f7ce9dc9f1da57ef6cd7537
pre_build() { pre_build() {
# allow pep8 1.6.2, patched # allow pep8 1.6.2 (patched) and pyflakes 0.9
sed -i '/pep8/s|, != 1.6.2||' setup.py sed -i '/pep8/s|, != 1.6.2||;/pyflakes/s|, < 0.9||' setup.py
} }
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE