summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2024-03-04 12:56:36 -0800
committerPatrick McLean <chutzpah@gentoo.org>2024-03-04 12:56:36 -0800
commit195b2818def38d59193c8098b116bb7f984c9e29 (patch)
treeedd76a20e872e94b085388a4c29a7234ef9b39fb /app-misc
parentmedia-sound/pithos: drop 1.6.0, 1.6.1 (diff)
downloadgentoo-195b2818def38d59193c8098b116bb7f984c9e29.tar.gz
gentoo-195b2818def38d59193c8098b116bb7f984c9e29.tar.bz2
gentoo-195b2818def38d59193c8098b116bb7f984c9e29.zip
app-misc/tmuxp: add 1.40.0
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/tmuxp/Manifest1
-rw-r--r--app-misc/tmuxp/tmuxp-1.40.0.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/app-misc/tmuxp/Manifest b/app-misc/tmuxp/Manifest
index d3969a023890..8a8c5c17668d 100644
--- a/app-misc/tmuxp/Manifest
+++ b/app-misc/tmuxp/Manifest
@@ -2,3 +2,4 @@ DIST tmuxp-1.27.0.tar.gz 862056 BLAKE2B baad339bc59498d26911507f29de38d55991515e
DIST tmuxp-1.36.0.tar.gz 869804 BLAKE2B d42abcc831a00cabdd9ae315d86cfd159b5c26b4b68e2fa3fd13c37150cf0fdf542c6216786b72411b31acccff8094f5a2f119e7ebc889af8f659db3aec24a9a SHA512 569d7873d7d46d101bfff034685ac547e04256c0d2146c11ed605971b59a4e0842f441a3c4974a0b8e5f8eeec84f5cd7132f3ef8ada5bdbaa2241a89cb7e2776
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
diff --git a/app-misc/tmuxp/tmuxp-1.40.0.ebuild b/app-misc/tmuxp/tmuxp-1.40.0.ebuild
new file mode 100644
index 000000000000..c3016834de6c
--- /dev/null
+++ b/app-misc/tmuxp/tmuxp-1.40.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.32*[${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
+}