From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E4DA61582EF for ; Mon, 24 Feb 2025 03:38:10 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id AE9BB3431FC for ; Mon, 24 Feb 2025 03:38:10 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 70C48110472; Mon, 24 Feb 2025 03:37:58 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 699AD110472 for ; Mon, 24 Feb 2025 03:37:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 174C13431CF for ; Mon, 24 Feb 2025 03:37:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 65EDD27E0 for ; Mon, 24 Feb 2025 03:37:55 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1740368192.4faf7ff294545b936f47e6c1e5f8e0d5e6f78f43.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/libtmux/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/libtmux/Manifest dev-python/libtmux/libtmux-0.45.0.ebuild X-VCS-Directories: dev-python/libtmux/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4faf7ff294545b936f47e6c1e5f8e0d5e6f78f43 X-VCS-Branch: master Date: Mon, 24 Feb 2025 03:37:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7b861a81-4b22-4767-95ec-4ee0b57ed936 X-Archives-Hash: 97cef31b9d61e20dcecc3ef4fa1c090b commit: 4faf7ff294545b936f47e6c1e5f8e0d5e6f78f43 Author: Michał Górny gentoo org> AuthorDate: Mon Feb 24 03:30:33 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Feb 24 03:36:32 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4faf7ff2 dev-python/libtmux: Bump to 0.45.0 Signed-off-by: Michał Górny gentoo.org> dev-python/libtmux/Manifest | 1 + dev-python/libtmux/libtmux-0.45.0.ebuild | 53 ++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/libtmux/Manifest b/dev-python/libtmux/Manifest index d9ce184f5842..417572a80d71 100644 --- a/dev-python/libtmux/Manifest +++ b/dev-python/libtmux/Manifest @@ -9,3 +9,4 @@ DIST libtmux-0.42.1.gh.tar.gz 318887 BLAKE2B 7bbac22a4d2aa0a448888777b2ce99b08a9 DIST libtmux-0.43.0.gh.tar.gz 322128 BLAKE2B 835e6d4bf47c54a7cc373ad54e11bd49aba84b19e68dea20b73c977e145396a89cf7562861c75eed5fdedcfc69f83855786aa88139a2f88dee29a272cdbc1f1d SHA512 1a2992fc6d65811bb7d42e2d5eecc7efe9cf737fcd5898ed91e4f4cf317244e7a5f14fa21ea1a169dd3f8fbad8bf044e371f26704a091d7d22465ce410105220 DIST libtmux-0.44.1.gh.tar.gz 324715 BLAKE2B 8131be2d3fb91fb45fc7d7791160f7c00291a5ae606b6f01422b0d658ad1e4c5bdfe619bb7818956fb90c6228824ee53c38459e8074bbde160ea5620db02af81 SHA512 479a5eac8de142ecdba9f697ed45608d5d0a799b83a748de7cc7350e7ce16e81d6c2f5c23df89410e13c456175ed169f4512f98ec5a315c50f7e5d8fc96435e9 DIST libtmux-0.44.2.gh.tar.gz 326828 BLAKE2B ac2441ac13157bdce2465b1388f3e1570eb48193f26a37cfe6d68e56e93f659410af2851be20cd2f94011298c2b93a54eee20f5d07b4fbff15d26e00bbae6c0c SHA512 383784bb335c0f6e8200e20e8afd5b643658ee081a2c07cb9df2ee682d4b411b3ea17c7607587b8855f7d6571f5db7dd75318eefdd8946e6e38560309b5fa35f +DIST libtmux-0.45.0.gh.tar.gz 329763 BLAKE2B 3c8184b9e7ab874b4a85e3d3c3be3e96e48bfb14a02bf26a683062374c0a5258d911026a8c994639514668c775ab3855201d1daa466a20041635aeb978cffe24 SHA512 e1f921bddabcc26f034c331d3b9e7082c3d6d4cdbd8f0173e1499d8a05fd80ca79317409b29cb9ac95827ccb6e9127c58dffa6198ea5a2dee547fdaef23ba2ee diff --git a/dev-python/libtmux/libtmux-0.45.0.ebuild b/dev-python/libtmux/libtmux-0.45.0.ebuild new file mode 100644 index 000000000000..b86630b392a7 --- /dev/null +++ b/dev-python/libtmux/libtmux-0.45.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 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 + + 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 +}