flake8: update to 4.0.1.

This commit is contained in:
Michal Vasilek 2021-10-17 14:53:45 +02:00
parent 184c458e30
commit d6a01358fa

View file

@ -1,7 +1,7 @@
# Template file for 'flake8'
pkgname=flake8
version=3.9.2
revision=2
version=4.0.1
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-pycodestyle python3-pyflakes python3-mccabe"
@ -12,15 +12,14 @@ license="MIT"
homepage="https://gitlab.com/pycqa/flake8"
changelog="https://raw.githubusercontent.com/PyCQA/flake8/master/docs/source/release-notes/$version.rst"
distfiles="${PYPI_SITE}/f/flake8/flake8-${version}.tar.gz"
checksum=07528381786f2a6237b061f6e96610a4167b226cb926e2aa2b6b1d78057c576b
checksum=806e034dda44114815e23c16ef92f95c91e4c71100ff52813adf7132a6ad870d
do_check() {
# from alpine
PYTHONPATH=build/lib python3 -m pytest \
--deselect=tests/integration/test_api_legacy.py::test_legacy_api \
--deselect=tests/integration/test_main.py \
--deselect=tests/integration/test_plugins.py \
--deselect=tests/unit/test_setuptools_command.py::test_package_files_removes_submodules
--deselect=tests/integration/test_plugins.py
}
post_install() {