1 |
commit: c7797a57647da37cf7bf237ba579dbf7e251324d |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 28 02:21:21 2020 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 28 02:21:21 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7797a57 |
7 |
|
8 |
dev-python/libtmux-0.8.2-r2: Revbump, dep on tmux 3 (bug #709834) |
9 |
|
10 |
Closes: https://bugs.gentoo.org/709834 |
11 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
12 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
13 |
|
14 |
dev-python/libtmux/libtmux-0.8.2-r2.ebuild | 37 ++++++++++++++++++++++++++++++ |
15 |
1 file changed, 37 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/libtmux/libtmux-0.8.2-r2.ebuild b/dev-python/libtmux/libtmux-0.8.2-r2.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..489daf45be8 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/libtmux/libtmux-0.8.2-r2.ebuild |
22 |
@@ -0,0 +1,37 @@ |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+ |
28 |
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) |
29 |
+DISTUTILS_USE_SETUPTOOLS=bdepend |
30 |
+inherit distutils-r1 |
31 |
+ |
32 |
+DESCRIPTION="python api for tmux" |
33 |
+HOMEPAGE="https://libtmux.git-pull.com/" |
34 |
+SRC_URI="https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz -> ${PN}-v${PV}.tar.gz" |
35 |
+ |
36 |
+LICENSE="MIT" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~x86" |
39 |
+ |
40 |
+RDEPEND=">=app-misc/tmux-3.0a" |
41 |
+ |
42 |
+PATCHES=( |
43 |
+ "${FILESDIR}/libtmux-0.8.2-tests.patch" |
44 |
+) |
45 |
+ |
46 |
+distutils_enable_tests pytest |
47 |
+distutils_enable_sphinx doc \ |
48 |
+ dev-python/alagitpull \ |
49 |
+ dev-python/docutils |
50 |
+ |
51 |
+python_prepare_all() { |
52 |
+ # avoid a dependency on sphinx_issues |
53 |
+ local issues="https://github.com/tmux-python/libtmux/issues/" |
54 |
+ sed -i "s:'sphinx_issues',::" doc/conf.py || die |
55 |
+ sed -r -i "s|:issue:\`([[:digit:]]+)\`|\`issue \1 ${issues}\1\`|" CHANGES || die |
56 |
+ rm requirements/doc.txt || die |
57 |
+ |
58 |
+ distutils-r1_python_prepare_all |
59 |
+} |