1 |
commit: 92b014458142ebe67257d56fea47c03ee71e1d23 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 31 15:39:34 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 31 15:49:19 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92b01445 |
7 |
|
8 |
dev-python/libtmux: Bump to 0.15.9 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/libtmux/Manifest | 1 + |
13 |
dev-python/libtmux/libtmux-0.15.9.ebuild | 56 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 57 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/libtmux/Manifest b/dev-python/libtmux/Manifest |
17 |
index 7dc40b6caab4..dfc558a25705 100644 |
18 |
--- a/dev-python/libtmux/Manifest |
19 |
+++ b/dev-python/libtmux/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST libtmux-0.14.2.gh.tar.gz 234682 BLAKE2B e93b0a280c3cfdfab4c9a313d251d15665c530813f00aa78151efe62a6a566f2d8986afed015de4a8be80b48f31ac197e98d3efa592eb8895e8d9626ff34ef72 SHA512 1565529ecf555dac8f896146e2d802c0e5460458ea1da6ba5496d5d2c394f56cc8c5f7650c5d4aebd1750659bbdc529e439e60dff6a0ccef8806bb65305d2421 |
22 |
DIST libtmux-0.15.4.gh.tar.gz 237928 BLAKE2B b12643336717fbba079df884aa7b8a3029c393afd0dbcfe7be07d7c08f15a8252ec73479f5423fbe86efe63fb990529f68ed5690b40e2c7938df7edd2c6e51e5 SHA512 41adc83fde64a00385bb6885243b50c73e4cedd4d0860b1eb5c9a533b73d2f7fedef1e23f1b994c809abb834b666931c3fbdccd417969865172777e34a1cc5fe |
23 |
DIST libtmux-0.15.7.gh.tar.gz 237820 BLAKE2B b398fb9c44ebf916e99d442094bee9925e129e67a32becdfdda9d5ec4c8e30bebe937ebde58e2fb5654807251cd00076117646974430a0c608b1b89637fdfe94 SHA512 ac33aeecc579b018af2e09d0aaf86f97dafa7782893bee065798247ebd5e2a5a4a8d14b1b3314e0050e39bceefeadef6600d3881fbb30a8e3e9b4831b4df339b |
24 |
+DIST libtmux-0.15.9.gh.tar.gz 239611 BLAKE2B 7a171c827fde0ddf3fa0191c00d4e22e5027d925781f7231497c09a038f16d3408ba894d4f8d71470a0d8dbb8f1fc387971d3c8ec94d9f03a3f0af0e2ac0c7c7 SHA512 e7599dece70188cd210de7a1e554d86ba12b8479757dd03903cf3e0608e8e9cf3d181e4c0afc7432d6977dece931707120399690932099ed7d07d847ac76655c |
25 |
|
26 |
diff --git a/dev-python/libtmux/libtmux-0.15.9.ebuild b/dev-python/libtmux/libtmux-0.15.9.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..6782f5641a27 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/libtmux/libtmux-0.15.9.ebuild |
31 |
@@ -0,0 +1,56 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DISTUTILS_USE_PEP517=poetry |
38 |
+PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Python API for tmux" |
43 |
+HOMEPAGE=" |
44 |
+ https://libtmux.git-pull.com/ |
45 |
+ https://github.com/tmux-python/libtmux/ |
46 |
+ https://pypi.org/project/libtmux/ |
47 |
+" |
48 |
+SRC_URI=" |
49 |
+ https://github.com/tmux-python/libtmux/archive/v${PV}.tar.gz |
50 |
+ -> ${P}.gh.tar.gz |
51 |
+" |
52 |
+ |
53 |
+LICENSE="MIT" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ >=app-misc/tmux-3.0a |
59 |
+" |
60 |
+BDEPEND=" |
61 |
+ test? ( |
62 |
+ dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] |
63 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
64 |
+ dev-python/twine[${PYTHON_USEDEP}] |
65 |
+ ) |
66 |
+" |
67 |
+ |
68 |
+distutils_enable_tests pytest |
69 |
+ |
70 |
+EPYTEST_DESELECT=( |
71 |
+ libtmux/pane.py::libtmux.pane.Pane.send_keys |
72 |
+) |
73 |
+ |
74 |
+python_prepare_all() { |
75 |
+ local issues="https://github.com/tmux-python/libtmux/issues/" |
76 |
+ sed -r -i "s|:issue:\`([[:digit:]]+)\`|\`issue \1 ${issues}\1\`|" CHANGES || die |
77 |
+ rm requirements/doc.txt || die |
78 |
+ |
79 |
+ # increase timeouts for tests |
80 |
+ sed -e 's/0.01/0.1/' -i tests/test_test.py || die |
81 |
+ |
82 |
+ sed -e '/addopts/s:--doctest-docutils-modules::' \ |
83 |
+ -e '/README\.md/d' \ |
84 |
+ -i setup.cfg || die |
85 |
+ |
86 |
+ distutils-r1_python_prepare_all |
87 |
+} |