void-packages/srcpkgs/python3-libtmux/template

25 lines
747 B
Bash

# Template file for 'python3-libtmux'
pkgname=python3-libtmux
version=0.37.0
revision=1
build_style=python3-pep517
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=21955c5dce6332db41abad5e26ae8c4062ef2b9a89099bd57a36f52be1d5270f
pre_check() {
vsed -i -e 's/tool.pytest.ini_options/&_disabled/' pyproject.toml
}
post_install() {
vlicense LICENSE
}