diff --git a/srcpkgs/python3-libtmux/template b/srcpkgs/python3-libtmux/template index 17853cac12f..3c38e041e32 100644 --- a/srcpkgs/python3-libtmux/template +++ b/srcpkgs/python3-libtmux/template @@ -1,18 +1,33 @@ # Template file for 'python3-libtmux' pkgname=python3-libtmux -version=0.23.2 -revision=2 +version=0.31.0.post0 +revision=1 build_style=python3-pep517 +# Time-out tests fail when time-out takes too long +make_check_args=" + --deselect tests/test_pane.py::test_capture_pane + --deselect tests/test_test.py::test_function_times_out + --deselect tests/test_test.py::test_function_times_out_no_raise + --deselect tests/test_test.py::test_function_times_out_no_raise_assert + --deselect tests/legacy_api/test_test.py::test_function_times_out + --deselect tests/legacy_api/test_test.py::test_function_times_out_no_raise + --deselect tests/legacy_api/test_test.py::test_function_times_out_no_raise_assert +" +make_check_target="tests" hostmakedepends="python3-poetry-core" depends="python3" -checkdepends="python3-pytest-mock tmux" +checkdepends="python3-pytest-mock python3-pytest-xdist tmux" short_desc="Python binding for tmux" maintainer="Alexander Egorenkov " license="MIT" homepage="https://libtmux.git-pull.com/" changelog="https://raw.githubusercontent.com/tmux-python/libtmux/master/CHANGES" distfiles="${PYPI_SITE}/l/libtmux/libtmux-${version}.tar.gz" -checksum=eb3e8fb803e4e7c9ce515c93a95145aa6a0b58ddb2ae532daf9fad879609971d +checksum=38fd419a4e1088bbe6fffac73af00c0741b3a60e476a1fe179be746812fa717c + +pre_check() { + vsed -i -e 's/tool.pytest.ini_options/&_disabled/' pyproject.toml +} post_install() { vlicense LICENSE