From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3412115808B for ; Thu, 15 Feb 2024 01:37:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64D212BC01A; Thu, 15 Feb 2024 01:37:01 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3004E2BC01A for ; Thu, 15 Feb 2024 01:37:01 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4EE0F34309F for ; Thu, 15 Feb 2024 01:37:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A41541132 for ; Thu, 15 Feb 2024 01:36:58 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1707960934.2762c28d5757c26d79e77f0ceb8f57dd112a5eca.chutzpah@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.28.0.ebuild X-VCS-Directories: dev-python/libtmux/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: 2762c28d5757c26d79e77f0ceb8f57dd112a5eca X-VCS-Branch: master Date: Thu, 15 Feb 2024 01:36:58 +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: ca2dec94-b793-4e65-bb3d-e48a0c2f3df2 X-Archives-Hash: 8359aff085fb957440501da0ffb6cfa8 commit: 2762c28d5757c26d79e77f0ceb8f57dd112a5eca Author: Patrick McLean gentoo org> AuthorDate: Thu Feb 15 01:35:34 2024 +0000 Commit: Patrick McLean gentoo org> CommitDate: Thu Feb 15 01:35:34 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2762c28d dev-python/libtmux: add 0.28.0 Signed-off-by: Patrick McLean gentoo.org> dev-python/libtmux/Manifest | 1 + dev-python/libtmux/libtmux-0.28.0.ebuild | 59 ++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-python/libtmux/Manifest b/dev-python/libtmux/Manifest index 737201039911..6babe596cfcb 100644 --- a/dev-python/libtmux/Manifest +++ b/dev-python/libtmux/Manifest @@ -6,3 +6,4 @@ DIST libtmux-0.24.1.gh.tar.gz 265873 BLAKE2B 4dbc6ef078ed2fb83115b54b2b78b2076a0 DIST libtmux-0.25.0.gh.tar.gz 268260 BLAKE2B ac9da378491acbb91eb8e67e47ef213206d77f618a35fd6cba1014435c70b82eca712f764ccc4f2fa14f4027001678e31743ade9b28ffbc9e5509e2592afab48 SHA512 72cf2a24af0407baa775f1be13490c45b573cfaabc6803b57d77cc0eac5de0ef9b8c3a8923437163d1b6b9486a86b71076df40761f302d3534d36d94c68bd6bb DIST libtmux-0.26.0.gh.tar.gz 268056 BLAKE2B c89424babf8a1af34aa1e5766982f909fbd5cbad44c6536a49bb03a531d0c0ca30d9e088d003606275a453b419c718ec84bb4b9638c73127b21ac9ffada925d6 SHA512 48d3a56045bbb3920db9ab15f9dcbbe56e3b37ac1e12834cab4ea2d42ac51fe563a6dd340f8b6109674b20d8ad3cd6551d10cb643f660a6523af66fc67b100b2 DIST libtmux-0.27.0.gh.tar.gz 270128 BLAKE2B 330335e24ff5f1777d3a4ebd4746adcc391919a129c08c1bfe80d7ef61e962dc550690a68055390c58e8e6c539edcac74def8646d4b1055503496ac38f72fc0d SHA512 fd847524bf6b0742bac4eca2c1032e069be09081e9107a6403eebfce0f6ca4e624f717aae0794ece54065d50cc1eb6ef48327ef1e9aea794328c42a5d7bbb293 +DIST libtmux-0.28.0.gh.tar.gz 273309 BLAKE2B 9bc5b3068e64f09af0411f68f22cd23535b084175970338c827783741c8abde03548996cd573c6b58ce49298582f8e159dcab569fb6d19560229187a8da269b1 SHA512 8a6457c82cb06c72c0382c362e5d84d0a5498a01e8806adffd7e8c3a67c1b741fbd11892a3cca2156f940a954684e2d6f85ee7ad14f582f5727b977d433dd707 diff --git a/dev-python/libtmux/libtmux-0.28.0.ebuild b/dev-python/libtmux/libtmux-0.28.0.ebuild new file mode 100644 index 000000000000..5131b7f304b5 --- /dev/null +++ b/dev-python/libtmux/libtmux-0.28.0.ebuild @@ -0,0 +1,59 @@ +# 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_{9..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-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-mock[${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 + + sed -r -e '/addopts/s:--doctest-docutils-modules::' \ + -e '/^[[:space:]]+"README\.md"/d' \ + -i pyproject.toml || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -a EPYTEST_DESELECT=( + libtmux/pane.py::libtmux.pane.Pane.send_keys + tests/legacy_api/test_test.py + ) + + epytest +}