1 |
commit: 898030aa4120105472e297ca15d4799c7bddbfbb |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 5 18:40:58 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 5 18:41:35 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=898030aa |
7 |
|
8 |
dev-python/libtmux: add 0.13.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/libtmux/Manifest | 1 + |
13 |
dev-python/libtmux/libtmux-0.13.0.ebuild | 44 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/libtmux/Manifest b/dev-python/libtmux/Manifest |
17 |
index 49cf8df41bce..ace337d60498 100644 |
18 |
--- a/dev-python/libtmux/Manifest |
19 |
+++ b/dev-python/libtmux/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST libtmux-0.12.0.gh.tar.gz 214161 BLAKE2B 7040da2ee782b2e6bc73c70de0f5d5713c989a0959b0e731ac060f442e82e99829689f924cc2aeef6e79339b4f419df4143e2d5a9e356ad27cccb9cb3802e2f2 SHA512 f6f80daa3aaa99dd81ec0eb6a119ab1ad5fcd6c656d280b06a40c2b3bdc8d3ca7ae06089ea74482bfff005997f07e346338330d9ecf1c6745a6f3b7719b9cd0a |
22 |
+DIST libtmux-0.13.0.gh.tar.gz 240339 BLAKE2B 5b975bef4835ed8b74f05fd56bd824028fa64b56c700396d0387661cdf41a4a43d81dce10462c89a90ce352b00ca0fea0334fa02e7259464a62369637b2435ce SHA512 bc5fce8c201f7c69fcbc15605808544baf19896e51c44daeebc4c133ee1db70dbffa8eea2641862cf27ca9fe341f4721cde432682e5aea84b2573f83ad25555f |
23 |
DIST libtmux-v0.10.3.tar.gz 225258 BLAKE2B 40d591ee1f8a6068947b61416d6247b2475cc99031a67c167dc527631e50075f18c46fe6fc16193867d83a1a735b0a23fbfbc77f4539f788f05375f1f68b77d2 SHA512 2c8f28ce8c313404caffa42e5fd4a1dfa5d48bdc48203f8db595cb97b44886d63608771f23d62d76a56513b7e4578e48a31cacd224eca92425f110efd0a5db69 |
24 |
DIST libtmux-v0.11.0.tar.gz 234278 BLAKE2B 4939d38894fd6a1492ff282c98243b2d5b3b6f787691031c74337629aed710d3caebeb3bfce571e8f38fe07ecc341b6b3f8aa0bc42979fa362f5f0679aabf21e SHA512 e09749ce4cf7cf7756e4e40e50c6eb0a00435f2b00c8436667b6b77a94078e9c380a811107f8129ea0d347355f3ce8bb213b8fb36de2becf3cf1a2dbebd97867 |
25 |
|
26 |
diff --git a/dev-python/libtmux/libtmux-0.13.0.ebuild b/dev-python/libtmux/libtmux-0.13.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..4dce1d6a69c4 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/libtmux/libtmux-0.13.0.ebuild |
31 |
@@ -0,0 +1,44 @@ |
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="https://libtmux.git-pull.com/" |
44 |
+SRC_URI=" |
45 |
+ https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz |
46 |
+ -> ${P}.gh.tar.gz |
47 |
+" |
48 |
+ |
49 |
+LICENSE="MIT" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ >=app-misc/tmux-3.0a |
55 |
+" |
56 |
+BDEPEND=" |
57 |
+ test? ( |
58 |
+ dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] |
59 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
60 |
+ dev-python/twine[${PYTHON_USEDEP}] |
61 |
+ ) |
62 |
+" |
63 |
+ |
64 |
+distutils_enable_tests pytest |
65 |
+ |
66 |
+python_prepare_all() { |
67 |
+ local issues="https://github.com/tmux-python/libtmux/issues/" |
68 |
+ sed -r -i "s|:issue:\`([[:digit:]]+)\`|\`issue \1 ${issues}\1\`|" CHANGES || die |
69 |
+ rm requirements/doc.txt || die |
70 |
+ |
71 |
+ # increase timeouts for tests |
72 |
+ sed -e 's/0.01/0.1/' -i tests/test_test.py || die |
73 |
+ |
74 |
+ distutils-r1_python_prepare_all |
75 |
+} |