36 lines
1011 B
Bash
36 lines
1011 B
Bash
# Template file for 'python3-tmuxp'
|
|
pkgname=python3-tmuxp
|
|
version=1.9.3
|
|
revision=1
|
|
wrksrc="tmuxp-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3 python3-setuptools python3-colorama python3-click
|
|
python3-kaptan python3-libtmux"
|
|
checkdepends="python3-pytest $depends tmux"
|
|
short_desc="Session manager for tmux"
|
|
maintainer="Alexander Egorenkov <egorenar-dev@posteo.net>"
|
|
license="MIT"
|
|
homepage="https://github.com/tmux-python/tmuxp/"
|
|
distfiles="${PYPI_SITE}/t/tmuxp/tmuxp-${version}.tar.gz"
|
|
checksum=91a73dceda6c6fb700d25e9d21380ab8af4ca84da1e7086a0324f498d409c39f
|
|
conflicts="python-tmuxp>=0"
|
|
|
|
post_patch() {
|
|
# Remove version restrictions
|
|
# colorama is forced at 0.3.9 while Void is at 0.4.x
|
|
# click is at least 7 or higher while Void is at 6.x.x
|
|
vsed 's|[=><].*||g' -i requirements/base.txt
|
|
|
|
vsed '/addopts/d' -i setup.cfg
|
|
}
|
|
|
|
do_check() {
|
|
# XXX: test hangs and crashes midway
|
|
python3 -m pytest -k 'not workspacebuilder'
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|