community/py3-flake8: clean checks

Most checkdepends weren't needed and all tests seem to pass
This commit is contained in:
Sertonix 2026-03-03 16:35:43 +00:00 committed by Natanael Copa
parent 9e0a73901e
commit 970dfa7e56

View File

@ -20,12 +20,6 @@ makedepends="
"
checkdepends="
py3-pytest
py3-pbr
py3-atomicwrites
py3-attrs
py3-pluggy
py3-six
py3-mock
"
subpackages="$pkgname-pyc"
source="https://github.com/PyCQA/flake8/archive/refs/tags/$pkgver/py3-flake8-$pkgver.tar.gz"
@ -42,12 +36,7 @@ build() {
check() {
python3 -m venv --clear --without-pip --system-site-packages testenv
testenv/bin/python3 setup.py install
testenv/bin/python3 -m pytest -v \
--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/unit/plugins/pycodestyle_test.py::test_up_to_date
testenv/bin/python3 -m pytest -v
}
package() {