diff options
author | Patrick McLean <patrick.mclean@sony.com> | 2021-02-03 19:14:18 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2021-02-03 19:14:18 -0800 |
commit | 99ee137e9d3c2676bea5b46ac90e5aae8667658f (patch) | |
tree | 92b0205581085b37cb6c5177cb90f7e619a8f596 /app-misc/tmuxp/tmuxp-1.6.5.ebuild | |
parent | app-misc/tmuxp-1.7.2: Version bump (diff) | |
download | gentoo-99ee137e9d3c2676bea5b46ac90e5aae8667658f.tar.gz gentoo-99ee137e9d3c2676bea5b46ac90e5aae8667658f.tar.bz2 gentoo-99ee137e9d3c2676bea5b46ac90e5aae8667658f.zip |
app-misc/tmuxp-1.6.5: Version bump
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'app-misc/tmuxp/tmuxp-1.6.5.ebuild')
-rw-r--r-- | app-misc/tmuxp/tmuxp-1.6.5.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/app-misc/tmuxp/tmuxp-1.6.5.ebuild b/app-misc/tmuxp/tmuxp-1.6.5.ebuild new file mode 100644 index 000000000000..eb22d7e67537 --- /dev/null +++ b/app-misc/tmuxp/tmuxp-1.6.5.ebuild @@ -0,0 +1,45 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..8} pypy3 ) +DISTUTILS_USE_SETUPTOOLS=rdepend +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" +IUSE="test" + +RDEPEND=" + >=app-misc/tmux-3.0a + >=dev-python/kaptan-0.5.10[${PYTHON_USEDEP}] + >=dev-python/libtmux-0.8.5[${PYTHON_USEDEP}] + <dev-python/libtmux-0.9[${PYTHON_USEDEP}] + >=dev-python/click-7.0[${PYTHON_USEDEP}] + <dev-python/click-8.0[${PYTHON_USEDEP}] + >=dev-python/colorama-0.3.9[${PYTHON_USEDEP}] +" +BDEPEND="${RDEPEND} + test? ( + >=dev-python/pytest-4.1.1[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + >=dev-python/pytest-rerunfailures-4.2[${PYTHON_USEDEP}] + !dev-python/flaky + ) +" + +PATCHES=( + "${FILESDIR}/tmuxp-1.6.4-tests.patch" +) + +distutils_enable_tests pytest + +python_test() { + SHELL="/bin/bash" pytest -vv || die "Tests fail with ${EPYTHON}" +} |