flake8: update to 3.2.1
This commit is contained in:
parent
f28ca91f60
commit
9aadb2a498
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'flake8'
|
||||
pkgname=flake8
|
||||
version=3.2.0
|
||||
version=3.2.1
|
||||
revision=1
|
||||
noarch=yes
|
||||
build_style=python-module
|
||||
|
@ -13,12 +13,13 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|||
homepage="https://gitlab.com/pycqa/flake8"
|
||||
license="MIT"
|
||||
distfiles="${PYPI_SITE}/f/flake8/flake8-${version}.tar.gz"
|
||||
checksum=f4c3c0aeb8018319993b2c47a2491fb7ea8b3a51c7a86cba38301ae1561b364e
|
||||
checksum=c7c460b5aff3a2063c798a77af18ec70af3941d35a22e2e76965e3c0e0b36055
|
||||
alternatives="flake8:flake8:/usr/bin/python2-flake8"
|
||||
|
||||
pre_build() {
|
||||
# remove all caps
|
||||
sed -i 's/, *< *[0-9=.]*//' setup.py
|
||||
sed -i setup.py \
|
||||
-e 's/, *< *[0-9=.]*//' \
|
||||
-e '/setup_requires/d'
|
||||
}
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Reference in New Issue