mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
flake8: update to 5.0.4.
This commit is contained in:
parent
078d387904
commit
3d33a5a56e
1 changed files with 3 additions and 10 deletions
|
@ -1,8 +1,9 @@
|
|||
# Template file for 'flake8'
|
||||
pkgname=flake8
|
||||
version=4.0.1
|
||||
version=5.0.4
|
||||
revision=1
|
||||
build_style=python3-module
|
||||
make_check_args="--deselect=tests/unit/plugins/pycodestyle_test.py"
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3-pycodestyle python3-pyflakes python3-mccabe"
|
||||
checkdepends="$depends python3-mock python3-pytest"
|
||||
|
@ -12,15 +13,7 @@ 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=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
|
||||
}
|
||||
checksum=6fbe320aad8d6b95cec8b8e47bc933004678dc63095be98528b7bdd2a9f510db
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Add table
Reference in a new issue