aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew J. Hesford <ajh@sideband.org>2024-02-26 15:08:31 +0000
committerAndrew J. Hesford <ajh@sideband.org>2024-02-26 15:26:58 +0000
commit95c79e5f258ab3bd50eb3d7d5f4222d24c060377 (patch)
tree769a782984cd3abea93a3828d594c0b6910435ce
parent2d5c9eaaa7a817a1658c5e9f988277cd50c3beb1 (diff)
downloadvoid-packages-95c79e5f258ab3bd50eb3d7d5f4222d24c060377.tar
void-packages-95c79e5f258ab3bd50eb3d7d5f4222d24c060377.tar.gz
void-packages-95c79e5f258ab3bd50eb3d7d5f4222d24c060377.tar.bz2
void-packages-95c79e5f258ab3bd50eb3d7d5f4222d24c060377.tar.lz
void-packages-95c79e5f258ab3bd50eb3d7d5f4222d24c060377.tar.xz
void-packages-95c79e5f258ab3bd50eb3d7d5f4222d24c060377.tar.zst
void-packages-95c79e5f258ab3bd50eb3d7d5f4222d24c060377.zip
python3-libtmux: update to 0.31.0.post0.
-rw-r--r--srcpkgs/python3-libtmux/template23
1 files changed, 19 insertions, 4 deletions
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 <egorenar-dev@posteo.net>"
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