Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/virt-manager/
Date: Mon, 01 Jul 2019 16:59:49
Message-Id: 1562000363.c71efab8acfcc114f226ba4368f081748be349c4.tamiko@gentoo
1 commit: c71efab8acfcc114f226ba4368f081748be349c4
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 1 16:33:57 2019 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 1 16:59:23 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c71efab8
7
8 app-emulation/virt-manager: update live ebuild
9
10 Package-Manager: Portage-2.3.68, Repoman-2.3.16
11 Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
12
13 app-emulation/virt-manager/virt-manager-9999.ebuild | 8 ++++----
14 1 file changed, 4 insertions(+), 4 deletions(-)
15
16 diff --git a/app-emulation/virt-manager/virt-manager-9999.ebuild b/app-emulation/virt-manager/virt-manager-9999.ebuild
17 index 3c5a08763dc..6c064b06a36 100644
18 --- a/app-emulation/virt-manager/virt-manager-9999.ebuild
19 +++ b/app-emulation/virt-manager/virt-manager-9999.ebuild
20 @@ -1,12 +1,12 @@
21 # Copyright 1999-2019 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=6
25 +EAPI=7
26
27 PYTHON_COMPAT=( python3_{5,6,7} )
28 DISTUTILS_SINGLE_IMPL=1
29
30 -inherit gnome2 distutils-r1
31 +inherit distutils-r1 xdg-utils
32
33 DESCRIPTION="A graphical tool for administering virtual machines"
34 HOMEPAGE="http://virt-manager.org"
35 @@ -72,7 +72,7 @@ src_install() {
36
37 pkg_preinst() {
38 if use gtk; then
39 - gnome2_pkg_preinst
40 + xdg_pkg_preinst
41
42 cd "${ED}"
43 export GNOME2_ECLASS_ICONS=$(find 'usr/share/virt-manager/icons' -maxdepth 1 -mindepth 1 -type d 2> /dev/null)
44 @@ -89,5 +89,5 @@ pkg_preinst() {
45 }
46
47 pkg_postinst() {
48 - use gtk && gnome2_pkg_postinst
49 + use gtk && xdg_pkg_postinst
50 }