diff --git a/app-misc/tmuxp/Manifest b/app-misc/tmuxp/Manifest index 6f78bef48053..8b08b353c1e6 100644 --- a/app-misc/tmuxp/Manifest +++ b/app-misc/tmuxp/Manifest @@ -4,3 +4,4 @@ DIST tmuxp-1.55.0.tar.gz 912159 BLAKE2B 4a2eced7a2fc88ac25e8818ddd3a9368182470ab DIST tmuxp-1.56.0.tar.gz 935483 BLAKE2B b20a38a3e87c1e77368305f46e617ec4cebb6bd95c4e0d23a275edf22254bd265ce53e71e455a17f637101f64134cd852dfc8c4145efc385509899ff414c2da3 SHA512 a65800868b9b82a7d3cf498e7d9589aac96ccf47c50bc31f70ebb2ed15f855a64d910b1ed312dac5e360bcb960cb4f22817711bcb4c4e8d6f3b92bb6e8df1d8d DIST tmuxp-1.59.0.tar.gz 942266 BLAKE2B 8ed1db31dce46a47179b9823516621d32fd0ebbbca7f320072e70da211cdab1a021570a0a3695ecf0fffa6e7381bfd2dd444e6aad59a211593dae1c1c903aa26 SHA512 3743e89e2ec766b392ee213074cda50e2a4b2e724732658c67ee0d8c341097b0b9ba7d3edafce73696d6b8c345410330900e7ff0f9c96c3fce8932c40aa83df3 DIST tmuxp-1.61.0.tar.gz 942836 BLAKE2B 2bc8d62484534a6d458d09402f318913267887d014b06e01cf0383d8652128edd8fa2c1183a6082d2b0beab57b9e1d4960820c17c545547fcdc6c51171439450 SHA512 730b92fb39a2153424b0d419e4c7920efaa41898ed8788aa1968c5c6f5b50420cb167934a4e4f970e6515675b03947383a3dcb0f5113d44abc5cc5626c184610 +DIST tmuxp-1.62.0.tar.gz 942942 BLAKE2B 9a431642e3d6ca1a5b582729151cf02bd42d6528cc0c3816996ee4cdd7c5f1926172567e78514e484c756ec38e9e86c629157670d3d58cd4be15a48e5650af6e SHA512 8e309a06921fd1909878ed6a56156e0fc08657e0dc38a15bf4e6e9c34471c1d20dccb36138df33383338e79870bb66e760ff3f56ef925f92b8d35d8a7d719eee diff --git a/app-misc/tmuxp/tmuxp-1.62.0.ebuild b/app-misc/tmuxp/tmuxp-1.62.0.ebuild new file mode 100644 index 000000000000..225d9f8fe8c4 --- /dev/null +++ b/app-misc/tmuxp/tmuxp-1.62.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 2019-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..14} ) +DISTUTILS_USE_PEP517=hatchling +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.2 + =dev-python/libtmux-0.52.1*[${PYTHON_USEDEP}] + >=dev-python/colorama-0.3.9[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/pytest-6.2.5[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.14.0[${PYTHON_USEDEP}] + >=dev-python/pytest-rerunfailures-4.2[${PYTHON_USEDEP}] + !!dev-python/flaky + ) +" + +EPYTEST_DESELECT=( + # test doesn't get along with sandbox + "tests/cli/test_load.py::test_load_zsh_autotitle_warning" +) + +EPYTEST_IGNORE=( + # not actually tests, but throws off test collection + "tests/fixtures/" +) + +distutils_enable_tests pytest + +python_prepare_all() { + sed -r -e 's:libtmux = "~[0-9.]+":libtmux = "~0.30":' \ + -i pyproject.toml || die + + distutils-r1_python_prepare_all +} + +python_test() { + SHELL="/bin/bash" epytest tests +}