mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
community/py3-flake8: clean checks
Most checkdepends weren't needed and all tests seem to pass
This commit is contained in:
parent
9e0a73901e
commit
970dfa7e56
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user