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 45A6915800F for ; Thu, 26 Jan 2023 18:37:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 485F8E03EC; Thu, 26 Jan 2023 18:37:43 +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 28244E03EC for ; Thu, 26 Jan 2023 18:37:43 +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 0612F340DD1 for ; Thu, 26 Jan 2023 18:37:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0343F85B for ; Thu, 26 Jan 2023 18:37:40 +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: <1674757467.aeb29b29a5983a70d955ab8ff6d981d19517298d.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.20.0.ebuild X-VCS-Directories: dev-python/libtmux/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: aeb29b29a5983a70d955ab8ff6d981d19517298d X-VCS-Branch: master Date: Thu, 26 Jan 2023 18:37:40 +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: a4f0a41d-203f-4df9-af86-ee820999ed24 X-Archives-Hash: 1f21127783f0981e2efa37c273405819 commit: aeb29b29a5983a70d955ab8ff6d981d19517298d Author: Patrick McLean gentoo org> AuthorDate: Thu Jan 26 18:24:27 2023 +0000 Commit: Patrick McLean gentoo org> CommitDate: Thu Jan 26 18:24:27 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeb29b29 dev-python/libtmux: add 0.20.0 Signed-off-by: Patrick McLean gentoo.org> dev-python/libtmux/Manifest | 1 + dev-python/libtmux/libtmux-0.20.0.ebuild | 56 ++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-python/libtmux/Manifest b/dev-python/libtmux/Manifest index 09841391df3b..9f490b261f7d 100644 --- a/dev-python/libtmux/Manifest +++ b/dev-python/libtmux/Manifest @@ -1,3 +1,4 @@ DIST libtmux-0.15.10.gh.tar.gz 240378 BLAKE2B 81841a25b01bb26d2c612a14cd4518c48b12162d4aafa280fe0d6de269d149bddaffe72f4ce2c735e41b00cd2bfec19773d7cd3b9fd927c892f11f0cdf8e8a88 SHA512 8ee870c94bd3e3a9fffc19854f978d4faad747ea395e53c3576adc9cc2dcdd3cbdedeeb589a2dc11b0ac836931ffbdcea06a4a850b2ead163235dda2334defb5 DIST libtmux-0.18.3.gh.tar.gz 261540 BLAKE2B be98707101d7481b6787694795eb05dbe1070a0eed0b7408af1714be01f4870c51223559d1edc3a3fb7b60e02496a413e92c0734031223bca9d521604cb6e65e SHA512 67173c4f2f45f1236e7a1a5ce0895c53bfd6316aa7017382f97b87f84cbc6a23a6ef0f2574a276b7b064da9e4982804fb2004d31ddb1237f97ca835fafdf9ccb DIST libtmux-0.19.1.gh.tar.gz 262280 BLAKE2B 9d1a2c74b49011e66df6ed2012096b0df6c6731e258078f8ce2b4fef38d21513488b195e3fdb722478ae5f829ba77bd09c152569d73cab83bfa6e4a360346b39 SHA512 b9f3b29de7c8ca86e8495843aa04e2dedfaea749bd57095a9d7a2f638111de7474500c3dbd892f0c580c613c796fece8da47d6c099b8b78056fbd242451eb129 +DIST libtmux-0.20.0.gh.tar.gz 266849 BLAKE2B 51840c4cf5aecb077c7c5205a33e6a620b68aed3f61bf52f4c376b257896c907a0e9117c35f70493464d4a3e136e9bd81e0d2ed6cd8a9f4a7c80276dc1461568 SHA512 1e8b49898aeb622aca6160c9ed99c7714d75f716baae5109e278baf5b70d0211d3ac4ed89c3755823b203add1fe4198ceb9e16ad03941eed2cbd2407fd46f0d2 diff --git a/dev-python/libtmux/libtmux-0.20.0.ebuild b/dev-python/libtmux/libtmux-0.20.0.ebuild new file mode 100644 index 000000000000..499498389f30 --- /dev/null +++ b/dev-python/libtmux/libtmux-0.20.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python API for tmux" +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}] + dev-python/twine[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + libtmux/pane.py::libtmux.pane.Pane.send_keys +) + +python_prepare_all() { + local issues="https://github.com/tmux-python/libtmux/issues/" + sed -r -i "s|:issue:\`([[:digit:]]+)\`|\`issue \1 ${issues}\1\`|" CHANGES || die + rm requirements/doc.txt || die + + # increase timeouts for tests + sed -e 's/0.01/0.1/' -i tests/test_test.py || die + + sed -e '/addopts/s:--doctest-docutils-modules::' \ + -e '/README\.md/d' \ + -i setup.cfg || die + + distutils-r1_python_prepare_all +}