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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8AF8415815E for ; Wed, 7 Feb 2024 18:22:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04351E29FE; Wed, 7 Feb 2024 18:22:41 +0000 (UTC) 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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D36BCE29FE for ; Wed, 7 Feb 2024 18:22:40 +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 BF6D7343105 for ; Wed, 7 Feb 2024 18:22:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EFD8C1065 for ; Wed, 7 Feb 2024 18:22:37 +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: <1707329814.a072218f09308c608c728ffaece0904934902947.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.27.0.ebuild X-VCS-Directories: dev-python/libtmux/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: a072218f09308c608c728ffaece0904934902947 X-VCS-Branch: master Date: Wed, 7 Feb 2024 18:22:37 +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: f62104f7-c8a5-49b8-a8d1-247bb32e2f5e X-Archives-Hash: c4e3f42321dc9dd61eaece362f230788 commit: a072218f09308c608c728ffaece0904934902947 Author: Patrick McLean gentoo org> AuthorDate: Wed Feb 7 18:16:13 2024 +0000 Commit: Patrick McLean gentoo org> CommitDate: Wed Feb 7 18:16:54 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a072218f dev-python/libtmux: add 0.27.0 Signed-off-by: Patrick McLean gentoo.org> dev-python/libtmux/Manifest | 1 + dev-python/libtmux/libtmux-0.27.0.ebuild | 59 ++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-python/libtmux/Manifest b/dev-python/libtmux/Manifest index d70750cf0c1e..737201039911 100644 --- a/dev-python/libtmux/Manifest +++ b/dev-python/libtmux/Manifest @@ -5,3 +5,4 @@ DIST libtmux-0.23.2.gh.tar.gz 268237 BLAKE2B a5e7aece4d7160f87c48c2c02371c6d6b42 DIST libtmux-0.24.1.gh.tar.gz 265873 BLAKE2B 4dbc6ef078ed2fb83115b54b2b78b2076a0296b3b76e4710e7fbb9de0a0add2d2eb1d99ecfb835d6eec22ed6b0993cf3de04062c3855e8f5edc45de13f5076e6 SHA512 1d2246c8032b4f8bb220f63aac6db96cf4a7eeba31137399a539195789a0f76bd7ec37cfd4d9ace4380ed63f4fabed6673e3926ba789fcc14da7bdf200279da3 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 diff --git a/dev-python/libtmux/libtmux-0.27.0.ebuild b/dev-python/libtmux/libtmux-0.27.0.ebuild new file mode 100644 index 000000000000..5131b7f304b5 --- /dev/null +++ b/dev-python/libtmux/libtmux-0.27.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 +}