You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.0 KiB
44 lines
1.0 KiB
# Copyright 2019-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
|
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="tmux session manager. built on libtmux"
|
|
HOMEPAGE="https://tmuxp.git-pull.com"
|
|
SRC_URI="https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
|
|
|
|
RDEPEND="
|
|
>=app-misc/tmux-3.0a
|
|
>=dev-python/kaptan-0.5.10[${PYTHON_USEDEP}]
|
|
~dev-python/libtmux-0.10.3[${PYTHON_USEDEP}]
|
|
>=dev-python/click-7.0[${PYTHON_USEDEP}]
|
|
>=dev-python/colorama-0.3.9[${PYTHON_USEDEP}]
|
|
"
|
|
BDEPEND="
|
|
test? (
|
|
>=dev-python/pytest-rerunfailures-4.2[${PYTHON_USEDEP}]
|
|
!dev-python/flaky
|
|
)
|
|
"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/tmuxp-1.6.4-tests.patch"
|
|
"${FILESDIR}/tmuxp-1.7.2-tests.patch"
|
|
"${FILESDIR}/tmuxp-1.9.4-relax-click-dep.patch"
|
|
"${FILESDIR}/tmuxp-1.9.2-tests.patch"
|
|
)
|
|
|
|
distutils_enable_tests pytest
|
|
|
|
python_test() {
|
|
SHELL="/bin/bash" epytest
|
|
}
|