summaryrefslogtreecommitdiff
path: root/dev-python/libtmux
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-22 06:30:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-22 06:30:44 +0000
commit5a2cecfc8661e1d3a762adf05cf8eb142cd41710 (patch)
tree341806a72603cc8845e7e1595289e7a8b9570f2a /dev-python/libtmux
parentd2bcdab82e5f5f38a8ab54026e8aa94edb1b77a6 (diff)
gentoo auto-resync : 22:12:2024 - 06:30:44
Diffstat (limited to 'dev-python/libtmux')
-rw-r--r--dev-python/libtmux/Manifest2
-rw-r--r--dev-python/libtmux/libtmux-0.40.0.ebuild56
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/libtmux/Manifest b/dev-python/libtmux/Manifest
index a263a88e3a29..3208b89671c4 100644
--- a/dev-python/libtmux/Manifest
+++ b/dev-python/libtmux/Manifest
@@ -2,8 +2,10 @@ DIST libtmux-0.36.0.gh.tar.gz 282828 BLAKE2B 247f98ae47093090187f2d52792f850f747
DIST libtmux-0.37.0.gh.tar.gz 283496 BLAKE2B ef8c9c05cc20f549fc13ffb05276e1ba5b24c366c9cf44eb5ffe609cfe0e603ab7a90747b5df03afa62a6a9d8c81904e7fa7e4598092d3b11c0e9295e413d88d SHA512 8876ad13613d367d6a6ea5945b5a0a495460b5ad68a14d89d20a41f0e5b421e0007041e4e8356e88a8eefb2b2422be306aebd2452e3be556f1cc4fd232327499
DIST libtmux-0.38.1.gh.tar.gz 304345 BLAKE2B f4380c813b57045cc8dcf4ad18124bcd2aa304495ea0cfbfcfa2e7f9f8140fa2acb4545b4c9b61a13f08a12e57c0e7f7de20f673f9054429eca22968cf51f651 SHA512 ca88e67222e7abb54afc88c11dcded19ee870d8d4bc3e26de61ca24ccb6294f3f8be0ec652c0d8fd4137d57a56338fedd4930e6bfb1693d45fd41a63f352ee9b
DIST libtmux-0.39.0.gh.tar.gz 314113 BLAKE2B cfba4cf12fd2418bb917ade6f927eb905dcc767bc7554ae08f86958c0f0ca25548f0b9d90375ab80de726436bfa5032a5df2da763cc5114849f38cbbe9331565 SHA512 7e180a63e195698e540a581fa8f7dc292e8e4db830a87bbdc859d910313d1d3351886759d3198f088f047d51e993fe6ce4c8f16304edc68681c2fa6a9348bba6
+DIST libtmux-0.40.0.gh.tar.gz 317064 BLAKE2B e3658560a789aa823faf2ff29cca3a0604ebe20b64ce0432359852738ae87280a87e7411ec73283e389a23b31da9da1f435b930bcf0cd250d3b455031669a535 SHA512 15187225ab8a31a04f7d6a3d036c5df133779fc73891782abce694c8a364babc0d19af1290a06dfa6939b61028a2620499551a0b2a9fccf0f7c3067868eb98c1
EBUILD libtmux-0.36.0.ebuild 1585 BLAKE2B e33ae414aba51bcdb17db8d81f50af53a60b6ec2abbb006e9c386e5c5e583d4773860345b2666a548f3e9d560604e9b95a8700e622ed4b934e1580f27285205e SHA512 7024476368b6630a09c925a17a0ec7cfd97d22a0133e346fb7725e43945eb3f630531f252449d89f63e88e3fcd2210fa0e7f08bd4588d1d7a95d31be4a18ee8c
EBUILD libtmux-0.37.0.ebuild 1585 BLAKE2B 81deed0a9a7b405de4d533461ebdd3bc2c4c92ba9105e7e4f134d7b8db2d53fcc49edf1921e9642e5303e9317a724aedc0f0df141bc50329876695af85a0508e SHA512 7e10dc085bad0a9ec31bdb74430c654143995ccab17ad92571f67172f19cc9c92726c38bcb5625219f6c761d656f617784a400d16997446db139744014e971b1
EBUILD libtmux-0.38.1.ebuild 1590 BLAKE2B 37ecf3b4c06e32230b8e09a1a48e7fe684712b4afc4eb937996386e36d656060f9ea1bdb4d1185ec1b1ac6d0326038af50c62985108115801a4f56758eddd939 SHA512 ea4fed8adff437df4398b0e786ef31b932c8900e2bf30f988193fcf58a84f6c5e28dde43b420aa6a8603bb42b1a7b6aab6334c1a245c433d8e47834403312687
EBUILD libtmux-0.39.0.ebuild 1358 BLAKE2B 0974051ca285abd068fef179a93208640e0867dbeeb1b200976c5c94f0f363e4c8c291a8109b4d4eda26648f2cf65c7bddc4f7660e7a242de63c1710980ab5d7 SHA512 1acb46c2ce2ebd6c492bdfb2cfde01db0b8b03254a518b28bff54c8c96bf9e242399c6634f707846c592b9fc532476fe0792e9de2ea3213e9142c28fe8465e64
+EBUILD libtmux-0.40.0.ebuild 1360 BLAKE2B 8dc305ff0eed09e821cd4a0b34a9a75ee857b34d4358ae83d211e6fee44a473810475b4aac8390593b7d67e60b9ae7318dd1b463de6dc4cabb9e847707d8cc16 SHA512 24e559466024a28f58dfcfe469945e809873a6a05b31549355f3d29c433e56246c7cf2c698b60829fa3c6f59c27a39ea8ed6714909df17fea7be583a4b2f8fd4
MISC metadata.xml 403 BLAKE2B 68af7251349c8999bbdbfb7b55ca4632f8752468d7e478fd985097af86d00afe93b231667a25e3c997a3bc86b708d4e6d6ef5c35a783871cdc83519fc1db1ab1 SHA512 2a88df695e94f1da966bb72f7e90d00f2e343e40fe1924837f8c087dfc9a9a84fe0b2909a98f2f41ba72f6ba01796888a80cbac3f1bf9f05984a06385037d977
diff --git a/dev-python/libtmux/libtmux-0.40.0.ebuild b/dev-python/libtmux/libtmux-0.40.0.ebuild
new file mode 100644
index 000000000000..631eb1e1c36a
--- /dev/null
+++ b/dev-python/libtmux/libtmux-0.40.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..13} 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 --reruns=5 tests
+}