Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/libtmux/
Date: Mon, 01 Aug 2022 11:07:18
Message-Id: 1659352020.9dc2194f74c781f483f61ac2137793ed96f124c3.mgorny@gentoo
1 commit: 9dc2194f74c781f483f61ac2137793ed96f124c3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 1 10:49:13 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 1 11:07:00 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dc2194f
7
8 dev-python/libtmux: Bump to 0.12.0
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.12.0.ebuild | 41 ++++++++++++++++++++++++++++++++
14 2 files changed, 42 insertions(+)
15
16 diff --git a/dev-python/libtmux/Manifest b/dev-python/libtmux/Manifest
17 index 2345419df796..49cf8df41bce 100644
18 --- a/dev-python/libtmux/Manifest
19 +++ b/dev-python/libtmux/Manifest
20 @@ -1,2 +1,3 @@
21 +DIST libtmux-0.12.0.gh.tar.gz 214161 BLAKE2B 7040da2ee782b2e6bc73c70de0f5d5713c989a0959b0e731ac060f442e82e99829689f924cc2aeef6e79339b4f419df4143e2d5a9e356ad27cccb9cb3802e2f2 SHA512 f6f80daa3aaa99dd81ec0eb6a119ab1ad5fcd6c656d280b06a40c2b3bdc8d3ca7ae06089ea74482bfff005997f07e346338330d9ecf1c6745a6f3b7719b9cd0a
22 DIST libtmux-v0.10.3.tar.gz 225258 BLAKE2B 40d591ee1f8a6068947b61416d6247b2475cc99031a67c167dc527631e50075f18c46fe6fc16193867d83a1a735b0a23fbfbc77f4539f788f05375f1f68b77d2 SHA512 2c8f28ce8c313404caffa42e5fd4a1dfa5d48bdc48203f8db595cb97b44886d63608771f23d62d76a56513b7e4578e48a31cacd224eca92425f110efd0a5db69
23 DIST libtmux-v0.11.0.tar.gz 234278 BLAKE2B 4939d38894fd6a1492ff282c98243b2d5b3b6f787691031c74337629aed710d3caebeb3bfce571e8f38fe07ecc341b6b3f8aa0bc42979fa362f5f0679aabf21e SHA512 e09749ce4cf7cf7756e4e40e50c6eb0a00435f2b00c8436667b6b77a94078e9c380a811107f8129ea0d347355f3ce8bb213b8fb36de2becf3cf1a2dbebd97867
24
25 diff --git a/dev-python/libtmux/libtmux-0.12.0.ebuild b/dev-python/libtmux/libtmux-0.12.0.ebuild
26 new file mode 100644
27 index 000000000000..38f4f726af96
28 --- /dev/null
29 +++ b/dev-python/libtmux/libtmux-0.12.0.ebuild
30 @@ -0,0 +1,41 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=poetry
37 +PYTHON_COMPAT=( python3_{8..11} pypy3 )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="python api for tmux"
42 +HOMEPAGE="https://libtmux.git-pull.com/"
43 +SRC_URI="
44 + https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz
45 + -> ${P}.gh.tar.gz
46 +"
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
51 +
52 +RDEPEND="
53 + >=app-misc/tmux-3.0a
54 +"
55 +BDEPEND="
56 + test? (
57 + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
58 + dev-python/pytest-mock[${PYTHON_USEDEP}]
59 + dev-python/twine[${PYTHON_USEDEP}]
60 + )
61 +"
62 +
63 +distutils_enable_tests pytest
64 +
65 +python_prepare_all() {
66 + local issues="https://github.com/tmux-python/libtmux/issues/"
67 + sed -r -i "s|:issue:\`([[:digit:]]+)\`|\`issue \1 ${issues}\1\`|" CHANGES || die
68 + rm requirements/doc.txt || die
69 +
70 + distutils-r1_python_prepare_all
71 +}