void-packages/srcpkgs/python3-libtmux/template

35 lines
1.3 KiB
Bash

# Template file for 'python3-libtmux'
pkgname=python3-libtmux
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 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=38fd419a4e1088bbe6fffac73af00c0741b3a60e476a1fe179be746812fa717c
pre_check() {
vsed -i -e 's/tool.pytest.ini_options/&_disabled/' pyproject.toml
}
post_install() {
vlicense LICENSE
}