Maxime Gauduin pushed to branch main at Arch Linux / Packaging / Packages / python-pyfakefs
Commits: b00171ea by Xeonacid at 2023-12-06T12:36:51+00:00 Drop python-tox for check() Due to Python package guidelines, tox should be avoided. Do check() guided by `tox.ini`. Fix #1 Signed-off-by: Xeonacid <[email protected]> - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -13,7 +13,9 @@ makedepends=( python-setuptools ) checkdepends=( - python-tox + python-pandas + python-xlrd + python-openpyxl ) _tag=dc6517f6af6f799636c9ac9d95c18d39474d24ad source=(git+https://github.com/jmcgeheeiv/pyfakefs.git#tag=${_tag}) @@ -39,8 +41,9 @@ build() { check() { cd pyfakefs - local python_version=$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))') - tox -e "py${python_version}" + python -m pyfakefs.tests.all_tests + python -m pyfakefs.tests.all_tests_without_extra_packages + python -m pytest pyfakefs/pytest_tests/pytest_plugin_test.py } package() { View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyfakefs/-/commit/b00171ea0c0344c483626d364dbde6728a06ceae -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyfakefs/-/commit/b00171ea0c0344c483626d364dbde6728a06ceae You're receiving this email because of your account on gitlab.archlinux.org.
