diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /app-misc/tmuxp/tmuxp-1.5.6.ebuild | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'app-misc/tmuxp/tmuxp-1.5.6.ebuild')
-rw-r--r-- | app-misc/tmuxp/tmuxp-1.5.6.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app-misc/tmuxp/tmuxp-1.5.6.ebuild b/app-misc/tmuxp/tmuxp-1.5.6.ebuild new file mode 100644 index 000000000000..e14902706cbe --- /dev/null +++ b/app-misc/tmuxp/tmuxp-1.5.6.ebuild @@ -0,0 +1,41 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,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[${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 + ) +" + +distutils_enable_tests pytest + +python_test() { + SHELL="/bin/bash" pytest -vv || die "Tests fail with ${EPYTHON}" +} |