commit:     7a53b672bad516b93955d5b91e58901b96d61a84
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 17 17:18:02 2024 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Sun Mar 17 17:18:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a53b672

app-misc/tmuxp: add 1.42.0

Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 app-misc/tmuxp/Manifest            |  1 +
 app-misc/tmuxp/tmuxp-1.42.0.ebuild | 50 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/app-misc/tmuxp/Manifest b/app-misc/tmuxp/Manifest
index 8a8c5c17668d..65342dbe1e8c 100644
--- a/app-misc/tmuxp/Manifest
+++ b/app-misc/tmuxp/Manifest
@@ -3,3 +3,4 @@ DIST tmuxp-1.36.0.tar.gz 869804 BLAKE2B 
d42abcc831a00cabdd9ae315d86cfd159b5c26b4
 DIST tmuxp-1.37.0.tar.gz 869834 BLAKE2B 
2e13b609704c726d5da6f614cfa94d3ffef3193563f0b6aa6bbe0b25d8737aae69d654fad726fb8282df0fcd11af106d6d1738e9789b8804bea6e8ed2722d7c5
 SHA512 
86de297bb028f5b38555c534294c2ad1a4b7d0d382e770fbdabd6dc362bcbb8cdce84706e3bafbec0fbaeb2b78e5e6787a7eb656ff9911544f5136d848380bc9
 DIST tmuxp-1.38.0.tar.gz 869977 BLAKE2B 
6bbb44ceea34af68a7cac0acdf35ee19de74611c9cc53ebbbef61951cca79a5efa14b2eec74b381caf77ac7afe8abd8139453ae4d0f55497cc372bedc9b2fe62
 SHA512 
d0999bd06498ca458d0cd30709c8d1e4786f98744860e547673cdc917d8e2f8924b1d14681118c594ee767a2e27cafc72f32444158b61ab882a1e2fa7adcbea1
 DIST tmuxp-1.40.0.tar.gz 870034 BLAKE2B 
ab2e6c08ea328e622713e355ff30e9781f2487b9a762ebd7c36195cd8522eee9eab70d66736a1f687e6336f317fdd556d8ee45e9921bd9b1b501189b540e92bb
 SHA512 
6e8564ed2b57122772f1c7b73425b49b6d521141b8e4a3ff6b65d3fb57e6952dfdbb90941242d6d5d8fff70bf7a4533e60ec3dc0abae39637366f035aa237984
+DIST tmuxp-1.42.0.tar.gz 869204 BLAKE2B 
1ab37bca68abcb3c62f5a14ea21ade0e662b93bcdd298cc6171a3d058e0a81aed170e9291cd2d6d86e776654bb2791f8210af1eb060fa16f9c8c6cfa732115fa
 SHA512 
ac4ee5fa17c6188b0e43100802d06e3aab12ba01af5bc932079c63c68e43fca9611f0a96dc86fee04843ae9fa800844fdade2652c8f1b5bcd0781da4fb14d795

diff --git a/app-misc/tmuxp/tmuxp-1.42.0.ebuild 
b/app-misc/tmuxp/tmuxp-1.42.0.ebuild
new file mode 100644
index 000000000000..4b627eca25c9
--- /dev/null
+++ b/app-misc/tmuxp/tmuxp-1.42.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2019-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+DISTUTILS_USE_PEP517=poetry
+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/libtmux-0.34*[${PYTHON_USEDEP}]
+       >=dev-python/colorama-0.3.9[${PYTHON_USEDEP}]
+       >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/pytest-mock[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep 
'>=dev-python/typing-extensions-4.0.1[${PYTHON_USEDEP}]' 3.{9..10})
+               >=dev-python/pytest-rerunfailures-4.2[${PYTHON_USEDEP}]
+               >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}]
+               !dev-python/flaky
+       )
+"
+
+EPYTEST_DESELECT=(
+       # test doesn't get along with sandbox
+       "tests/cli/test_load.py::test_load_zsh_autotitle_warning"
+)
+
+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
+}

Reply via email to