public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick McLean" <chutzpah@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/libtmux/
Date: Wed,  7 Feb 2024 18:22:37 +0000 (UTC)	[thread overview]
Message-ID: <1707329814.a072218f09308c608c728ffaece0904934902947.chutzpah@gentoo> (raw)

commit:     a072218f09308c608c728ffaece0904934902947
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  7 18:16:13 2024 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> 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 <chutzpah <AT> 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
+}


             reply	other threads:[~2024-02-07 18:22 UTC|newest]

Thread overview: 77+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-07 18:22 Patrick McLean [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-15 19:15 [gentoo-commits] repo/gentoo:master commit in: dev-python/libtmux/ Michał Górny
2024-05-27 18:33 Arthur Zamarin
2024-04-22  3:40 Michał Górny
2024-03-25  4:47 Michał Górny
2024-03-24 16:22 Michał Górny
2024-03-17 20:55 Patrick McLean
2024-03-17 17:13 Patrick McLean
2024-03-17 16:24 Michał Górny
2024-03-17 16:24 Michał Górny
2024-03-17 16:24 Michał Górny
2024-03-02  6:43 Michał Górny
2024-02-16 23:15 Patrick McLean
2024-02-16 21:52 Patrick McLean
2024-02-15  1:36 Patrick McLean
2024-02-15  1:36 Patrick McLean
2024-02-07 18:22 Patrick McLean
2023-11-28  0:36 Patrick McLean
2023-11-28  0:36 Patrick McLean
2023-10-03  2:09 Sam James
2023-09-09 17:29 Arthur Zamarin
2023-08-21 16:39 Patrick McLean
2023-06-01 21:11 Patrick McLean
2023-04-10 21:05 Patrick McLean
2023-02-20 20:10 Arthur Zamarin
2023-01-30  7:15 Michał Górny
2023-01-26 18:37 Patrick McLean
2023-01-21 16:25 Michał Górny
2023-01-21 13:40 Arthur Zamarin
2023-01-08 20:05 Patrick McLean
2023-01-08 20:05 Patrick McLean
2023-01-08 20:05 Patrick McLean
2023-01-05  7:14 Patrick McLean
2022-12-13 18:32 Patrick McLean
2022-12-02 15:23 Michał Górny
2022-11-08  4:54 Jakov Smolić
2022-11-05 20:35 Arthur Zamarin
2022-10-31 15:49 Michał Górny
2022-09-25  7:21 Arthur Zamarin
2022-09-20  5:37 Michał Górny
2022-09-20  0:07 Sam James
2022-09-18 18:18 Michał Górny
2022-09-06 21:12 Sam James
2022-08-17 18:28 Arthur Zamarin
2022-08-06 13:09 Arthur Zamarin
2022-08-05 18:50 Arthur Zamarin
2022-08-05 18:50 Arthur Zamarin
2022-08-01 11:07 Michał Górny
2022-05-24 18:50 Patrick McLean
2022-05-24 18:50 Patrick McLean
2022-03-15 14:14 Michał Górny
2022-03-15 11:52 Jakov Smolić
2022-01-29 19:42 Patrick McLean
2021-08-07 14:43 Sam James
2021-07-06  8:09 Michał Górny
2021-06-15 17:57 Patrick McLean
2020-12-19 21:57 Michał Górny
2020-12-19 19:36 Sam James
2020-12-16 11:51 Michał Górny
2020-11-08  3:31 Patrick McLean
2020-10-18 16:02 Thomas Deutschmann
2020-10-04 23:45 Sam James
2020-08-18  0:59 Patrick McLean
2020-07-31  3:47 Sam James
2020-07-30 19:39 Sam James
2020-07-29 18:18 Sam James
2020-04-30 23:18 Patrick McLean
2020-04-28 15:41 Mikle Kolyada
2020-04-28 13:12 Agostino Sarubbo
2020-04-28  2:21 Patrick McLean
2020-02-16 19:59 Patrick McLean
2020-02-13 18:05 Patrick McLean
2020-02-13 18:05 Patrick McLean
2020-02-05 16:24 Michał Górny
2019-09-11  0:58 Patrick McLean
2019-08-11 11:31 David Seifert
2019-05-10 17:57 Patrick McLean

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1707329814.a072218f09308c608c728ffaece0904934902947.chutzpah@gentoo \
    --to=chutzpah@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox