diff --git a/srcpkgs/flake8/template b/srcpkgs/flake8/template index 7b2a5bacbda..cf6be38a55e 100644 --- a/srcpkgs/flake8/template +++ b/srcpkgs/flake8/template @@ -1,7 +1,7 @@ # Template file for 'flake8' pkgname=flake8 version=2.5.4 -revision=1 +revision=2 noarch=yes build_style=python-module hostmakedepends="python-setuptools" @@ -14,6 +14,10 @@ license="MIT" distfiles="${PYPI_SITE}/f/flake8/flake8-${version}.tar.gz" checksum=cc1e58179f6cf10524c7bfdd378f5536d0a61497688517791639a5ecc867492f +pre_build() { + # allow pyflakes 1.1 + sed -i '/pyflakes/s|, < 1.1||' setup.py +} post_install() { vlicense LICENSE }