Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/terminator/
Date: Thu, 04 Jun 2020 12:09:28
Message-Id: 1591272543.6dac8fb429770efb97e04f09415b93ba70b97ea7.asturm@gentoo
1 commit: 6dac8fb429770efb97e04f09415b93ba70b97ea7
2 Author: Alexey Sokolov <sokolov <AT> google <DOT> com>
3 AuthorDate: Sat May 16 00:45:45 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 4 12:09:03 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dac8fb4
7
8 x11-terms/terminator: fix dbus dependency
9
10 I removed sys-apps/dbus because dev-python/dbus-python already depends
11 on it anyway.
12
13 Closes: https://bugs.gentoo.org/658472
14 Package-Manager: Portage-2.3.99, Repoman-2.3.22
15 Signed-off-by: Alexey Sokolov <sokolov <AT> google.com>
16 Closes: https://github.com/gentoo/gentoo/pull/15815
17 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
18
19 x11-terms/terminator/terminator-1.92-r1.ebuild | 60 ++++++++++++++++++++++++++
20 1 file changed, 60 insertions(+)
21
22 diff --git a/x11-terms/terminator/terminator-1.92-r1.ebuild b/x11-terms/terminator/terminator-1.92-r1.ebuild
23 new file mode 100644
24 index 00000000000..eda78c5a00c
25 --- /dev/null
26 +++ b/x11-terms/terminator/terminator-1.92-r1.ebuild
27 @@ -0,0 +1,60 @@
28 +# Copyright 1999-2020 Gentoo Authors
29 +# Distributed under the terms of the GNU General Public License v2
30 +
31 +EAPI=7
32 +
33 +PYTHON_COMPAT=( python3_{6,7,8} )
34 +DISTUTILS_USE_SETUPTOOLS="no"
35 +inherit distutils-r1 virtualx xdg-utils
36 +
37 +DESCRIPTION="Multiple GNOME terminals in one window"
38 +HOMEPAGE="https://github.com/gnome-terminator/terminator"
39 +SRC_URI="https://github.com/gnome-terminator/terminator/releases/download/v${PV}/${P}.tar.gz"
40 +
41 +LICENSE="GPL-2"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~ppc ~x86"
44 +IUSE="dbus +libnotify"
45 +
46 +RDEPEND="
47 + >=dev-libs/glib-2.32:2
48 + dev-libs/keybinder:3[introspection]
49 + dev-python/configobj[${PYTHON_USEDEP}]
50 + dev-python/psutil[${PYTHON_USEDEP}]
51 + dev-python/pycairo[${PYTHON_USEDEP}]
52 + dev-python/pygobject:3[${PYTHON_USEDEP}]
53 + >=x11-libs/gtk+-3.16:3
54 + x11-libs/vte:2.91[introspection]
55 + dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
56 + libnotify? ( x11-libs/libnotify[introspection] )
57 +"
58 +BDEPEND="
59 + dev-util/intltool
60 +"
61 +distutils_enable_tests setup.py
62 +
63 +PATCHES=(
64 + "${FILESDIR}"/terminator-1.91-without-icon-cache.patch
65 + "${FILESDIR}"/terminator-1.91-desktop.patch
66 + "${FILESDIR}"/terminator-1.92-make-tests-fail.patch
67 + "${FILESDIR}"/terminator-1.92-metainfo.patch
68 +)
69 +
70 +src_prepare() {
71 + xdg_environment_reset
72 + distutils-r1_src_prepare
73 +}
74 +
75 +src_test() {
76 + virtx distutils-r1_src_test
77 +}
78 +
79 +pkg_postinst() {
80 + xdg_desktop_database_update
81 + xdg_icon_cache_update
82 +}
83 +
84 +pkg_postrm() {
85 + xdg_desktop_database_update
86 + xdg_icon_cache_update
87 +}