Gentoo Archives: gentoo-commits

From: "Matthias Maier (tamiko)" <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/virt-manager: virt-manager-1.1.0-r1.ebuild virt-manager-1.1.0.ebuild virt-manager-9999.ebuild ChangeLog
Date: Thu, 01 Jan 2015 10:36:08
Message-Id: 20150101103602.A8D26EA1B@oystercatcher.gentoo.org
1 tamiko 15/01/01 10:36:02
2
3 Modified: virt-manager-1.1.0.ebuild virt-manager-9999.ebuild
4 ChangeLog
5 Added: virt-manager-1.1.0-r1.ebuild
6 Log:
7 supress an error message in case avahi is not installed, bug #532328
8
9 (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key BD3A97A3)
10
11 Revision Changes Path
12 1.7 app-emulation/virt-manager/virt-manager-1.1.0.ebuild
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virt-manager/virt-manager-1.1.0.ebuild?rev=1.7&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virt-manager/virt-manager-1.1.0.ebuild?rev=1.7&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virt-manager/virt-manager-1.1.0.ebuild?r1=1.6&r2=1.7
17
18 Index: virt-manager-1.1.0.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/virt-manager-1.1.0.ebuild,v
21 retrieving revision 1.6
22 retrieving revision 1.7
23 diff -u -r1.6 -r1.7
24 --- virt-manager-1.1.0.ebuild 28 Dec 2014 10:09:13 -0000 1.6
25 +++ virt-manager-1.1.0.ebuild 1 Jan 2015 10:36:02 -0000 1.7
26 @@ -1,6 +1,6 @@
27 -# Copyright 1999-2014 Gentoo Foundation
28 +# Copyright 1999-2015 Gentoo Foundation
29 # Distributed under the terms of the GNU General Public License v2
30 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/virt-manager-1.1.0.ebuild,v 1.6 2014/12/28 10:09:13 ago Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/virt-manager-1.1.0.ebuild,v 1.7 2015/01/01 10:36:02 tamiko Exp $
32
33 EAPI=5
34
35
36
37
38 1.26 app-emulation/virt-manager/virt-manager-9999.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virt-manager/virt-manager-9999.ebuild?rev=1.26&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virt-manager/virt-manager-9999.ebuild?rev=1.26&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virt-manager/virt-manager-9999.ebuild?r1=1.25&r2=1.26
43
44 Index: virt-manager-9999.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/virt-manager-9999.ebuild,v
47 retrieving revision 1.25
48 retrieving revision 1.26
49 diff -u -r1.25 -r1.26
50 --- virt-manager-9999.ebuild 10 Dec 2014 22:10:52 -0000 1.25
51 +++ virt-manager-9999.ebuild 1 Jan 2015 10:36:02 -0000 1.26
52 @@ -1,6 +1,6 @@
53 -# Copyright 1999-2014 Gentoo Foundation
54 +# Copyright 1999-2015 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/virt-manager-9999.ebuild,v 1.25 2014/12/10 22:10:52 tamiko Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/virt-manager-9999.ebuild,v 1.26 2015/01/01 10:36:02 tamiko Exp $
58
59 EAPI=5
60
61 @@ -51,6 +51,12 @@
62
63 DOCS=( README NEWS )
64
65 +src_prepare() {
66 + epatch "${FILESDIR}"/${P}-optional_avahi.patch
67 +
68 + distutils-r1_src_prepare
69 +}
70 +
71 distutils-r1_python_compile() {
72 local defgraphics=
73
74
75
76
77 1.116 app-emulation/virt-manager/ChangeLog
78
79 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virt-manager/ChangeLog?rev=1.116&view=markup
80 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virt-manager/ChangeLog?rev=1.116&content-type=text/plain
81 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virt-manager/ChangeLog?r1=1.115&r2=1.116
82
83 Index: ChangeLog
84 ===================================================================
85 RCS file: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/ChangeLog,v
86 retrieving revision 1.115
87 retrieving revision 1.116
88 diff -u -r1.115 -r1.116
89 --- ChangeLog 28 Dec 2014 10:09:13 -0000 1.115
90 +++ ChangeLog 1 Jan 2015 10:36:02 -0000 1.116
91 @@ -1,6 +1,13 @@
92 # ChangeLog for app-emulation/virt-manager
93 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
94 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/ChangeLog,v 1.115 2014/12/28 10:09:13 ago Exp $
95 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
96 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/ChangeLog,v 1.116 2015/01/01 10:36:02 tamiko Exp $
97 +
98 +*virt-manager-1.1.0-r1 (01 Jan 2015)
99 +
100 + 01 Jan 2015; Matthias Maier <tamiko@g.o>
101 + +files/virt-manager-1.1.0-optional_avahi.patch, +virt-manager-1.1.0-r1.ebuild,
102 + virt-manager-1.1.0.ebuild, virt-manager-9999.ebuild:
103 + supress an error message in case avahi is not installed, bug #532328
104
105 28 Dec 2014; Agostino Sarubbo <ago@g.o> virt-manager-1.1.0.ebuild:
106 Stable for x86, wrt bug #532208
107
108
109
110 1.1 app-emulation/virt-manager/virt-manager-1.1.0-r1.ebuild
111
112 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virt-manager/virt-manager-1.1.0-r1.ebuild?rev=1.1&view=markup
113 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virt-manager/virt-manager-1.1.0-r1.ebuild?rev=1.1&content-type=text/plain
114
115 Index: virt-manager-1.1.0-r1.ebuild
116 ===================================================================
117 # Copyright 1999-2015 Gentoo Foundation
118 # Distributed under the terms of the GNU General Public License v2
119 # $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/virt-manager-1.1.0-r1.ebuild,v 1.1 2015/01/01 10:36:02 tamiko Exp $
120
121 EAPI=5
122
123 PYTHON_COMPAT=( python2_7 )
124 DISTUTILS_SINGLE_IMPL=1
125
126 inherit gnome2 distutils-r1
127
128 DESCRIPTION="A graphical tool for administering virtual machines"
129 HOMEPAGE="http://virt-manager.org"
130
131 if [[ ${PV} = *9999* ]]; then
132 inherit git-2
133 SRC_URI=""
134 KEYWORDS=""
135 EGIT_REPO_URI="git://git.fedorahosted.org/virt-manager.git"
136 else
137 SRC_URI="http://virt-manager.org/download/sources/${PN}/${P}.tar.gz"
138 KEYWORDS="~amd64 ~x86"
139 fi
140
141 LICENSE="GPL-2"
142 SLOT="0"
143 IUSE="gnome-keyring gtk policykit sasl"
144
145 RDEPEND="!app-emulation/virtinst
146 dev-python/libvirt-python[${PYTHON_USEDEP}]
147 >=app-emulation/libvirt-glib-0.0.9[introspection,python,${PYTHON_USEDEP}]
148 ${PYTHON_DEPS}
149 dev-libs/libxml2[python,${PYTHON_USEDEP}]
150 dev-python/ipaddr[${PYTHON_USEDEP}]
151 dev-python/pygobject:3[${PYTHON_USEDEP}]
152 dev-python/urlgrabber[${PYTHON_USEDEP}]
153 sys-libs/libosinfo[introspection]
154 gtk? (
155 x11-libs/gtk+:3[introspection]
156 gnome-base/dconf
157 >=net-libs/gtk-vnc-0.3.8[gtk3,introspection]
158 net-misc/spice-gtk[usbredir,gtk3,introspection,python,sasl?,${PYTHON_USEDEP}]
159 x11-libs/vte:2.90[introspection]
160 gnome-keyring? ( dev-python/gnome-keyring-python )
161 policykit? ( sys-auth/polkit[introspection] )
162 x11-themes/gnome-icon-theme
163 )"
164 DEPEND="${RDEPEND}
165 dev-lang/perl
166 dev-util/intltool"
167
168 DOCS=( README NEWS )
169
170 src_prepare() {
171 epatch "${FILESDIR}"/${P}-optional_avahi.patch
172
173 distutils-r1_src_prepare
174 }
175
176 distutils-r1_python_compile() {
177 local defgraphics=
178
179 esetup.py configure \
180 --qemu-user=qemu \
181 --default-graphics=spice
182 }
183
184 python_install_all() {
185 distutils-r1_python_install_all
186 python_fix_shebang \
187 "${ED}"/usr/share/virt-manager/virt-{clone,convert,image,install,manager}
188 }
189
190 pkg_preinst() {
191 if use gtk; then
192 gnome2_pkg_preinst
193
194 cd "${ED}"
195 export GNOME2_ECLASS_ICONS=$(find 'usr/share/virt-manager/icons' -maxdepth 1 -mindepth 1 -type d 2> /dev/null)
196 else
197 rm -rf "${ED}/usr/share/virt-manager/virtManager"
198 rm -f "${ED}/usr/share/virt-manager/virt-manager"
199 rm -rf "${ED}/usr/share/virt-manager/ui/"
200 rm -rf "${ED}/usr/share/virt-manager/icons/"
201 rm -rf "${ED}/usr/share/man/man1/virt-manager.1*"
202 rm -rf "${ED}/usr/share/icons/"
203 rm -rf "${ED}/usr/share/applications/virt-manager.desktop"
204 rm -rf "${ED}/usr/bin/virt-manager"
205 fi
206 }
207
208 pkg_postinst() {
209 use gtk && gnome2_pkg_postinst
210 }