diff --git a/dev-python/libtmux/Manifest b/dev-python/libtmux/Manifest index e6c0b630ba433..a12444e77ab95 100644 --- a/dev-python/libtmux/Manifest +++ b/dev-python/libtmux/Manifest @@ -21,3 +21,5 @@ DIST libtmux-0.59.0.tar.gz 518313 BLAKE2B a8c894b57324804701189ea984cb7dee895b3a DIST libtmux-0.59.0.tar.gz.provenance 9814 BLAKE2B e00d68c985d8b21f980cfab1d7ea2911c2e95df103c353f32151f451248eaeb7aa7edf243ec8072200d434c64ea4098ac741aafb60212277c27804f6b4158d98 SHA512 aa3a200b9936b703ab14badc673fc6f668d063f21feff348a3f996a8f8f9d614b9bbc3abf13887402eb4363b6a48628b3cb128c8c20793706d0ccc2f41604c50 DIST libtmux-0.60.0.tar.gz 527549 BLAKE2B 7d10107fb81888417b86206eeb3557123967895b4ffb4e6e98bdcccdf8f99d1b41e8c90992a05fdd5fbb4b1e223794521ce17aa57b18142f9ab7ecf03b7b3ea2 SHA512 ddc15be1079aa0ba8177a799bcc14cfe55703c497b31a5896fa9c1040cd1c9ba688cd8dc54a7239f1010f84c0c2816b224d91359e481415ad720640f1f901ff7 DIST libtmux-0.60.0.tar.gz.provenance 9767 BLAKE2B 5911839abc6fefe63e7be53511b062cf0f5716db6c7d3edae95d146a6c9d506f448ac13ab957883e8e412cdfea7b13b3576214d509e56370e90a73b4ad5268cc SHA512 0e4a0315b4f9272007260e93dfee5a61bf13cfb2f8a755d0b7d92a09379218a7c23452b550e3d3b55f32e363a7643433af35ed954ab8d495c07d97df8ddc539d +DIST libtmux-0.61.0.tar.gz 546122 BLAKE2B 7030a817cb81f8856cb905349fa8beecbc77c6efa84ab01242904403163adc833189165e64fdf7be0d8b8841144f7ecd7c2489adc5fe6eb0ae695f25994c393f SHA512 b395ec50520d0d98aacead74f23310495688ce257bba3bbc32271595f9ab80061802bee882e50838d4361b5d691cb3d4a642dbde134245eea952f79afb64f1c1 +DIST libtmux-0.61.0.tar.gz.provenance 9532 BLAKE2B db246750412e423ec980096068638f2e6070afb9ac719cf9ee8671a9448a917dfedccf3efe71c9ae4309b5a0ef0480bd075ec179a271e9978563ed99700bbe0d SHA512 96e3f9f901e78ee3716393a9806ebfe9e9af3d92488e4a721c87d50d50a355193ff7421d6234cc4ec22b1d18d90f78f8d269c16345d995d61652232659222ac3 diff --git a/dev-python/libtmux/libtmux-0.61.0.ebuild b/dev-python/libtmux/libtmux-0.61.0.ebuild new file mode 100644 index 0000000000000..5051e6c12d857 --- /dev/null +++ b/dev-python/libtmux/libtmux-0.61.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/tmux-python/libtmux +PYTHON_COMPAT=( python3_{12..15} ) + +inherit distutils-r1 pypi + +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/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + >=app-misc/tmux-3.0a +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" pytest-mock ) +EPYTEST_RERUNS=5 +distutils_enable_tests pytest + +python_test() { + # Avoid stale /tmp/tmux-$(id -u) confusing things (bug #896406) + local -x TMUX_TMPDIR=$(mktemp --directory --tmpdir=/tmp libtmux.XXXXXXXXXX) + # tests/test_window.py::test_fresh_window_data fails if TMUX_PANE is set + # https://bugs.gentoo.org/927158 + local -x TMUX_PANE= + + epytest -o addopts= tests +}