flake8: allow pyflakes>=1.1
This commit is contained in:
parent
2dfc4afcc7
commit
63818fcd48
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'flake8'
|
# Template file for 'flake8'
|
||||||
pkgname=flake8
|
pkgname=flake8
|
||||||
version=2.5.4
|
version=2.5.4
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-setuptools"
|
hostmakedepends="python-setuptools"
|
||||||
|
@ -14,6 +14,10 @@ license="MIT"
|
||||||
distfiles="${PYPI_SITE}/f/flake8/flake8-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/f/flake8/flake8-${version}.tar.gz"
|
||||||
checksum=cc1e58179f6cf10524c7bfdd378f5536d0a61497688517791639a5ecc867492f
|
checksum=cc1e58179f6cf10524c7bfdd378f5536d0a61497688517791639a5ecc867492f
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
# allow pyflakes 1.1
|
||||||
|
sed -i '/pyflakes/s|, < 1.1||' setup.py
|
||||||
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue