summaryrefslogtreecommitdiff
path: root/dev-python/libtmux
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/libtmux')
-rw-r--r--dev-python/libtmux/Manifest8
-rw-r--r--dev-python/libtmux/libtmux-0.30.2.ebuild5
-rw-r--r--dev-python/libtmux/libtmux-0.32.0.ebuild7
-rw-r--r--dev-python/libtmux/libtmux-0.33.0.ebuild55
-rw-r--r--dev-python/libtmux/libtmux-0.34.0.ebuild62
5 files changed, 133 insertions, 4 deletions
diff --git a/dev-python/libtmux/Manifest b/dev-python/libtmux/Manifest
index b9a9549fda4a..b4db475de084 100644
--- a/dev-python/libtmux/Manifest
+++ b/dev-python/libtmux/Manifest
@@ -4,10 +4,14 @@ DIST libtmux-0.28.0.gh.tar.gz 273309 BLAKE2B 9bc5b3068e64f09af0411f68f22cd23535b
DIST libtmux-0.30.1.gh.tar.gz 276505 BLAKE2B 508e9b15183ecf7c3c006145fbbc9580e7180fd39b453b8a9589f644f8fddcf14144e9989c92a581c7c10a95660d9c5b9f7f5544e51e202634407c0a1914c6a2 SHA512 9ec06901f978a631b9d8085806b71912f5b582d20e917ed4409f870ec2e873095044779b1d0db2cbe0285e11a043c44cd801fa60cb2f57d9d31fb95e3015daf8
DIST libtmux-0.30.2.gh.tar.gz 276498 BLAKE2B 13d7940d7f0f2f71819c2a5747f73fb5f0319179ec57a974461552f3de5804bc30d35c8790d8ae63bb9797b3b1aea54ab94e1f593a37cbac286b297d70d33ed0 SHA512 503dd5e7325073cc57ab9a553c3b3cf7c7cd12a506a8a59dcfd84c5902f0a1b2adab507c5b95e9abc97c9384d282bb866d8772c93b23b101d0ec8ded8f2a280d
DIST libtmux-0.32.0.gh.tar.gz 278651 BLAKE2B c6b98925f258fb5a2c25b08ee835faf6f1189413041e592da396d0934ad712d3494c8b0985352f96fff998ecd051c0cc433377697333a88225f55392d3a1971b SHA512 daa97cdba7c07ea35c8658263a6dc3a533b6422449a31d83cb3cac4c47c2be32f3c60556ea05e5d098c090582697de0192725453d61e89ecc31f79309b1700ac
+DIST libtmux-0.33.0.gh.tar.gz 282114 BLAKE2B d1b9b1e0789c81dab17a1d0be3708f34388952b2ea583f0efac280503365dba033d0c181f6ae1eb247ea2252288d47d4ab5b2a227077a5653e3e842bf8f01fa7 SHA512 30641730c57b68fc887513618596f951dd60ddf97c0bc6acaf1c489abbfc91ee1439ab158b9453df382fcb8163c0b7812de20955909950c173042103707c3705
+DIST libtmux-0.34.0.gh.tar.gz 282504 BLAKE2B 9ff5d3124c1fc26fa7cc825b3cd145126362a88da2ab691c711149772e293f7ea30277cc842d7d5347d7529009ae5d2c30926d724f5ddc957cdcb395df9fa06b SHA512 6431cd3fca0f51a3dfa4e5a10031f11cc3520a20a904196b2d03d86b71845082564bde85cb2be4f5fc30ef762af5dbac16c131cbc548e2e3a827d8892f1202b3
EBUILD libtmux-0.21.0.ebuild 1224 BLAKE2B 0c19dc33639ef451cfe4659aab6b3b1e38d96cb6899f6dbb85aa655a99010be3174ad43c7c7522d3c2d8e597e789048ae8feddc03836d4ab60fd9c5333c9b665 SHA512 9c9e4c7aa82223e54b12bfdd3c088954221f5794723d4766988654d99e3a349eb1928c664cd590021f1a30fc3a854e0811e8f993ffe431394c0fee3839a54b19
EBUILD libtmux-0.27.0.ebuild 1308 BLAKE2B 6e562682cb8832a337d3f7b392b4c70e518d488ef590bd42a5db75b1f98bc6e907c0c57d0305a5efe6b8f968a82ca8feb8067dba98ab457f0023865f4757c557 SHA512 e2c21fc238656193b5e4a16c043dad1ef857ebefb65ef1655d4f536fefdf8d1c329d152cbcea882b781e58f79eeb968e60c159fed91ef8bbbb7eb5e730f495db
EBUILD libtmux-0.28.0.ebuild 1308 BLAKE2B 6e562682cb8832a337d3f7b392b4c70e518d488ef590bd42a5db75b1f98bc6e907c0c57d0305a5efe6b8f968a82ca8feb8067dba98ab457f0023865f4757c557 SHA512 e2c21fc238656193b5e4a16c043dad1ef857ebefb65ef1655d4f536fefdf8d1c329d152cbcea882b781e58f79eeb968e60c159fed91ef8bbbb7eb5e730f495db
EBUILD libtmux-0.30.1.ebuild 1275 BLAKE2B 8b6ad6a97825498b84b1bb5df7a0006e52786f315fa26677938e1b76321354d21bfe548835dff50f0c8f911ba55401d5b66c166e807232d835ade4eb60eec77a SHA512 c6444baa9738ffb3ded15531f607b9ebd06e153872785f4069a899604863cb824680c2340816b40c4cec3a7d9cfde96df2f3884a5e63e7a4d4e21fc5246fff6c
-EBUILD libtmux-0.30.2.ebuild 1275 BLAKE2B 8b6ad6a97825498b84b1bb5df7a0006e52786f315fa26677938e1b76321354d21bfe548835dff50f0c8f911ba55401d5b66c166e807232d835ade4eb60eec77a SHA512 c6444baa9738ffb3ded15531f607b9ebd06e153872785f4069a899604863cb824680c2340816b40c4cec3a7d9cfde96df2f3884a5e63e7a4d4e21fc5246fff6c
-EBUILD libtmux-0.32.0.ebuild 1276 BLAKE2B 957dac553ec47c031ca5ab0fd799dc4349110c50e40447f729d4a27beb0a3d1774a3f6c41855b49f74ed87ea0720a8e1c4595ea37ebd8eb99e3965c85d36f13a SHA512 c57a62f01cb63f154587693caad6ea4c101cbaf81235a32659cb5d1a9e2212334b28d0cbd0605a40a3f7c915f080834a831da67fa19120b8faa3856e8620b2a0
+EBUILD libtmux-0.30.2.ebuild 1405 BLAKE2B 4af86ddab553c4adc3fd1531e5c2000d2a12b5f7b60fa2d3c4866b6ca0c0bf1f909d0baa40ccfdeb05880cb346e0167301904e19b35d9a5843d32fd4e5cc4121 SHA512 466a65546e79ea95ca3536d1914719d50fe686aedcb1005b6ec60dc25a8fd32ee46548fcd330a2c65af9e960f898ef1073d041bf20b46ec08c6b8732e98a9ae6
+EBUILD libtmux-0.32.0.ebuild 1527 BLAKE2B 2e9f812974a759f6fae9958660862ac41fa9ac2333aa36dd61e14804bc584adadba673fc0bfb30ea68737dcb5b10df41b7a2b2b9144c2b3decba2935b19f0c16 SHA512 4f5d4b966fbf45a1ae125bb5c1cf0d15887cdf9cd78956f0177eff8b5c7d37f587777a9381dfd8a595b3314638fd23afe156356e8b43253d16eac23482a409e6
+EBUILD libtmux-0.33.0.ebuild 1345 BLAKE2B 18eabfb80c852d470136645fea16a1b54ca6bdb4a4ec60f2bab07b06218da5679c28afc020cbf5e913d809766b1a6cc282179466b9718299c1a99280b3345809 SHA512 2da85a13ef55212c1287acd4146fc6f322a569c3c9c55b80eb965df623f552f93f44b03ae528c53064a85520bbb6852c55e3e3a23bca2e6956714a67aa129717
+EBUILD libtmux-0.34.0.ebuild 1587 BLAKE2B 6cb778b0d3546220a3a65231525efbbed733b107303f1bfe9d807fe9fa8013426baf8062efaeacab45ffa84e4354eadb177097b0c38dbbb3f9d7a4097af2d1ee SHA512 9a481ddf4f82a975ce2f47f5e436f8f1fdcd87153fe65b265e0de1d6a2dbc284ec465cb273a76bdce3acc2f957315d23399d9cf1b671c34c95dd4774771e6611
MISC metadata.xml 403 BLAKE2B 68af7251349c8999bbdbfb7b55ca4632f8752468d7e478fd985097af86d00afe93b231667a25e3c997a3bc86b708d4e6d6ef5c35a783871cdc83519fc1db1ab1 SHA512 2a88df695e94f1da966bb72f7e90d00f2e343e40fe1924837f8c087dfc9a9a84fe0b2909a98f2f41ba72f6ba01796888a80cbac3f1bf9f05984a06385037d977
diff --git a/dev-python/libtmux/libtmux-0.30.2.ebuild b/dev-python/libtmux/libtmux-0.30.2.ebuild
index 3347c96865a2..8dcc7ee19960 100644
--- a/dev-python/libtmux/libtmux-0.30.2.ebuild
+++ b/dev-python/libtmux/libtmux-0.30.2.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{9..12} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
inherit distutils-r1
@@ -53,5 +53,8 @@ python_test() {
local -a EPYTEST_DESELECT=(
libtmux/pane.py::libtmux.pane.Pane.send_keys
)
+ # tests/test_window.py::test_fresh_window_data fails if TMUX_PANE is set
+ # https://bugs.gentoo.org/927158
+ local -x TMUX_PANE=
epytest
}
diff --git a/dev-python/libtmux/libtmux-0.32.0.ebuild b/dev-python/libtmux/libtmux-0.32.0.ebuild
index df35033bc48a..495a7ad4e9f9 100644
--- a/dev-python/libtmux/libtmux-0.32.0.ebuild
+++ b/dev-python/libtmux/libtmux-0.32.0.ebuild
@@ -53,5 +53,10 @@ python_test() {
local -a EPYTEST_DESELECT=(
libtmux/pane.py::libtmux.pane.Pane.send_keys
)
- epytest
+ # tests/test_window.py::test_fresh_window_data fails if TMUX_PANE is set
+ # https://bugs.gentoo.org/927158
+ local -x TMUX_PANE=
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ local -x PYTEST_PLUGINS=libtmux.pytest_plugin
+ epytest -p pytest_mock -p rerunfailures
}
diff --git a/dev-python/libtmux/libtmux-0.33.0.ebuild b/dev-python/libtmux/libtmux-0.33.0.ebuild
new file mode 100644
index 000000000000..83478dc1b926
--- /dev/null
+++ b/dev-python/libtmux/libtmux-0.33.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Typed library that provides an ORM wrapper for tmux, a terminal multiplexer"
+HOMEPAGE="
+ https://libtmux.git-pull.com/
+ https://github.com/tmux-python/libtmux/
+ https://pypi.org/project/libtmux/
+"
+SRC_URI="
+ https://github.com/tmux-python/libtmux/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+ >=app-misc/tmux-3.0a
+"
+BDEPEND="
+ test? (
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ local issues="https://github.com/tmux-python/libtmux/issues/"
+ sed -r -i "s|:issue:\`([[:digit:]]+)\`|\`issue \1 ${issues}\1\`|" CHANGES || die
+
+ # increase timeouts for tests
+ sed -e 's/0.01/0.1/' -i tests/test_test.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ # tests/test_window.py::test_fresh_window_data fails if TMUX_PANE is set
+ # https://bugs.gentoo.org/927158
+ local -x TMUX_PANE=
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ local -x PYTEST_PLUGINS=libtmux.pytest_plugin
+ epytest -o addopts= -p pytest_mock -p rerunfailures tests
+}
diff --git a/dev-python/libtmux/libtmux-0.34.0.ebuild b/dev-python/libtmux/libtmux-0.34.0.ebuild
new file mode 100644
index 000000000000..60bbba2f66cb
--- /dev/null
+++ b/dev-python/libtmux/libtmux-0.34.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Typed library that provides an ORM wrapper for tmux, a terminal multiplexer"
+HOMEPAGE="
+ https://libtmux.git-pull.com/
+ https://github.com/tmux-python/libtmux/
+ https://pypi.org/project/libtmux/
+"
+SRC_URI="
+ https://github.com/tmux-python/libtmux/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+ >=app-misc/tmux-3.0a
+"
+BDEPEND="
+ test? (
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ local issues="https://github.com/tmux-python/libtmux/issues/"
+ sed -r -i "s|:issue:\`([[:digit:]]+)\`|\`issue \1 ${issues}\1\`|" CHANGES || die
+
+ # increase timeouts for tests
+ sed -e 's/0.01/0.1/' -i tests/test_test.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ # tests/test_window.py::test_fresh_window_data fails if TMUX_PANE is set
+ # https://bugs.gentoo.org/927158
+ local -x TMUX_PANE=
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ local -x PYTEST_PLUGINS=libtmux.pytest_plugin
+
+ local EPYTEST_DESELECT=(
+ # flaky tests
+ tests/legacy_api/test_test.py::test_function_times_out
+ tests/legacy_api/test_test.py::test_function_times_out_no_raise
+ tests/legacy_api/test_test.py::test_function_times_out_no_raise_assert
+ )
+ epytest -o addopts= -p pytest_mock -p rerunfailures tests
+}