mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
tox: update to 4.27.0.
This commit is contained in:
parent
8d7a107fb3
commit
0dabf7b45b
1 changed files with 9 additions and 3 deletions
|
@ -1,8 +1,13 @@
|
|||
# Template file for 'tox'
|
||||
pkgname=tox
|
||||
version=4.25.0
|
||||
version=4.27.0
|
||||
revision=1
|
||||
build_style=python3-pep517
|
||||
# these two tests fail with "OSError: out of pty devices"
|
||||
make_check_args="
|
||||
--deselect=tests/execute/local_subprocess/test_local_subprocess.py::test_local_execute_terminal_size
|
||||
--deselect=tests/execute/local_subprocess/test_local_subprocess.py::test_local_subprocess_tty[on]
|
||||
"
|
||||
hostmakedepends="hatchling hatch-vcs"
|
||||
depends="python3-cachetools python3-chardet python3-colorama python3-filelock
|
||||
python3-packaging python3-platformdirs python3-pluggy python3-pyproject-api
|
||||
|
@ -16,7 +21,7 @@ license="MIT"
|
|||
homepage="https://tox.wiki/"
|
||||
changelog="https://raw.githubusercontent.com/tox-dev/tox/main/docs/changelog.rst"
|
||||
distfiles="${PYPI_SITE}/t/tox/tox-${version}.tar.gz"
|
||||
checksum=dd67f030317b80722cf52b246ff42aafd3ed27ddf331c415612d084304cf5e52
|
||||
checksum=b97d5ecc0c0d5755bcc5348387fef793e1bfa68eb33746412f4c60881d7f5f57
|
||||
|
||||
do_check() {
|
||||
# Running via PYTHONPATH breaks a few tests so we use a venv
|
||||
|
@ -25,7 +30,8 @@ do_check() {
|
|||
|
||||
local testpy="${testdir}/bin/python3"
|
||||
"${testpy}" -m installer dist/*.whl
|
||||
PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS}
|
||||
PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
|
||||
${make_check_args}
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Add table
Reference in a new issue