flake8: update to 3.0.4
This commit is contained in:
parent
23c692acba
commit
d00b40f9bd
1 changed files with 8 additions and 8 deletions
|
@ -1,18 +1,19 @@
|
||||||
# Template file for 'flake8'
|
# Template file for 'flake8'
|
||||||
pkgname=flake8
|
pkgname=flake8
|
||||||
version=2.6.2
|
version=3.0.4
|
||||||
revision=2
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="flake8"
|
pycompile_module="flake8"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-setuptools pycodestyle pyflakes mccabe"
|
depends="python-setuptools python-pycodestyle python-pyflakes python-mccabe
|
||||||
short_desc="The modular source code checker: pep8, pyflakes, mccabe (Python2)"
|
python-enum34 python-backports.configparser"
|
||||||
|
short_desc="The modular source code checker: pycodestyle, pyflakes, mccabe (Python2)"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="https://gitlab.com/pycqa/flake8"
|
homepage="https://gitlab.com/pycqa/flake8"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
distfiles="${PYPI_SITE}/f/flake8/flake8-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/f/flake8/flake8-${version}.tar.gz"
|
||||||
checksum=231cd86194aaec4bdfaa553ae1a1cd9b7b4558332fbc10136c044940d587a778
|
checksum=b4c210c998f07d6ff24325dd91fbc011f2c37bcd6bf576b188de01d8656e970d
|
||||||
alternatives="flake8:flake8:/usr/bin/python2-flake8"
|
alternatives="flake8:flake8:/usr/bin/python2-flake8"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
|
@ -21,7 +22,7 @@ pre_build() {
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
# XXX: hack ;)
|
# XXX: override the default naming scheme
|
||||||
cp -a ${DESTDIR}/usr/bin/{,python3-}flake8
|
cp -a ${DESTDIR}/usr/bin/{,python3-}flake8
|
||||||
mv ${DESTDIR}/usr/bin/{,python2-}flake8
|
mv ${DESTDIR}/usr/bin/{,python2-}flake8
|
||||||
}
|
}
|
||||||
|
@ -30,8 +31,7 @@ python3-flake8_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
pycompile_module="flake8"
|
pycompile_module="flake8"
|
||||||
replaces="python3.4-flake8>=0"
|
replaces="python3.4-flake8>=0"
|
||||||
depends="python3-setuptools python3-pycodestyle python3-pyflakes
|
depends="python3-setuptools python3-pycodestyle python3-pyflakes python3-mccabe"
|
||||||
python3-mccabe"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
alternatives="flake8:flake8:/usr/bin/python3-flake8"
|
alternatives="flake8:flake8:/usr/bin/python3-flake8"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|
Loading…
Reference in a new issue