Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/tmuxp/, app-misc/tmuxp/files/
Date: Sat, 29 Jan 2022 19:42:48
Message-Id: 1643485355.06f06e7b9f8d243226d33325348414c710c11b94.chutzpah@gentoo
1 commit: 06f06e7b9f8d243226d33325348414c710c11b94
2 Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 29 19:42:35 2022 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 29 19:42:35 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06f06e7b
7
8 app-misc/tmuxp: Version bump to 1.9.4
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
12
13 app-misc/tmuxp/Manifest | 1 +
14 .../tmuxp/files/tmuxp-1.9.4-relax-click-dep.patch | 13 +++++++
15 app-misc/tmuxp/tmuxp-1.9.4.ebuild | 43 ++++++++++++++++++++++
16 3 files changed, 57 insertions(+)
17
18 diff --git a/app-misc/tmuxp/Manifest b/app-misc/tmuxp/Manifest
19 index 2b6b46c58fac..fccaf07461be 100644
20 --- a/app-misc/tmuxp/Manifest
21 +++ b/app-misc/tmuxp/Manifest
22 @@ -3,3 +3,4 @@ DIST tmuxp-1.6.5.tar.gz 1017117 BLAKE2B 4cc8955f9dcfffd237ffde3e7487496aaf85dd88
23 DIST tmuxp-1.7.2.tar.gz 1027293 BLAKE2B 2564d196c9c327584d24f57ce72165a7cdff2209fe6869a4d3519eb0246329cd8159ecaa20c2a39e153bde224201b1f846f4244c4df72ac540cf0d71f9fba75a SHA512 2ccf63c9f5b7049438ca6079894aac92a0f7496a56c68d88e5a9d5c2a42188a4e40d559792857881f492b28392a329697d4d43781f38ee7c49ed592aac8a69f8
24 DIST tmuxp-1.8.2.tar.gz 1019801 BLAKE2B 1e02139df6cc5ee0aec31e3a39413297195b6951a9acaa487a8f705f7f28b79ece0e5388284d017dbf45744540eecb0809e4a7e668f91b824aa0e4adcd64bcf8 SHA512 b6993be72bdab1ef469dbf43d056fbd812612437716af8a4c2e803a55f7ad803246789ccb0b3cafa5ad9047ae86426b4aede27480f20f6d3593d9bf737b74323
25 DIST tmuxp-1.9.2.tar.gz 816621 BLAKE2B f471ba2b7a6f97b123661ca2473c63273dc79b08cbe25f4ea756d174ab58e5070d0fc2dfbe8ec254785946e2fa139121d2e9fa5d7d5c127c18580e514064523d SHA512 e4af94fde475c999cee5aa6ad4b60a05c3a9f6f338290406043544250c4dcf688bc39e501631f442b59009156e04eb383098ea717fe7be8e9811b44886515935
26 +DIST tmuxp-1.9.4.tar.gz 821650 BLAKE2B 34454919e811bc4901dcb570046b45d481934ab36f9b8f50753972fe6545ca9e487b2f04ee818c4b54eea01181c62efb1f5262ab033f2fc92c3cee3828d16bf4 SHA512 ecf113011231a03998b3be2d146f7e6c6cc2ccfc36af59b88d51e09726259c92dc4360bde569fba13ca8d81eb9639f85b45cd5f4b50d70d347e3237e396ea446
27
28 diff --git a/app-misc/tmuxp/files/tmuxp-1.9.4-relax-click-dep.patch b/app-misc/tmuxp/files/tmuxp-1.9.4-relax-click-dep.patch
29 new file mode 100644
30 index 000000000000..a4450e37c11e
31 --- /dev/null
32 +++ b/app-misc/tmuxp/files/tmuxp-1.9.4-relax-click-dep.patch
33 @@ -0,0 +1,13 @@
34 +diff --git a/pyproject.toml b/pyproject.toml
35 +index 228a1ae..e24f106 100644
36 +--- a/pyproject.toml
37 ++++ b/pyproject.toml
38 +@@ -49,7 +49,7 @@ tmuxp = 'tmuxp:cli.cli'
39 +
40 + [tool.poetry.dependencies]
41 + python = "^3.7"
42 +-click = ">7,<8.1"
43 ++click = ">7.0"
44 + kaptan = ">=0.5.10"
45 + libtmux = "~0.10.3"
46 + colorama = ">=0.3.9"
47
48 diff --git a/app-misc/tmuxp/tmuxp-1.9.4.ebuild b/app-misc/tmuxp/tmuxp-1.9.4.ebuild
49 new file mode 100644
50 index 000000000000..de2f17a48f41
51 --- /dev/null
52 +++ b/app-misc/tmuxp/tmuxp-1.9.4.ebuild
53 @@ -0,0 +1,43 @@
54 +# Copyright 2019-2022 Gentoo Authors
55 +# Distributed under the terms of the GNU General Public License v2
56 +
57 +EAPI=8
58 +
59 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
60 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
61 +inherit distutils-r1
62 +
63 +DESCRIPTION="tmux session manager. built on libtmux"
64 +HOMEPAGE="https://tmuxp.git-pull.com"
65 +SRC_URI="https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
66 +
67 +LICENSE="MIT"
68 +SLOT="0"
69 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
70 +
71 +RDEPEND="
72 + >=app-misc/tmux-3.0a
73 + >=dev-python/kaptan-0.5.10[${PYTHON_USEDEP}]
74 + ~dev-python/libtmux-0.10.3[${PYTHON_USEDEP}]
75 + >=dev-python/click-7.0[${PYTHON_USEDEP}]
76 + >=dev-python/colorama-0.3.9[${PYTHON_USEDEP}]
77 +"
78 +BDEPEND="
79 + test? (
80 + >=dev-python/pytest-rerunfailures-4.2[${PYTHON_USEDEP}]
81 + !dev-python/flaky
82 + )
83 +"
84 +
85 +PATCHES=(
86 + "${FILESDIR}/tmuxp-1.6.4-tests.patch"
87 + "${FILESDIR}/tmuxp-1.7.2-tests.patch"
88 + "${FILESDIR}/tmuxp-1.9.4-relax-click-dep.patch"
89 + "${FILESDIR}/tmuxp-1.9.2-tests.patch"
90 +)
91 +
92 +distutils_enable_tests pytest
93 +
94 +python_test() {
95 + SHELL="/bin/bash" epytest
96 +}