1 |
commit: 6d4e42911cbed4807cfa2e0ccfcabd70623025f8 |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 28 18:17:11 2019 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 28 18:21:36 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d4e4291 |
7 |
|
8 |
app-emulation/virt-manager: version bump to 2.2.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
12 |
|
13 |
app-emulation/virt-manager/Manifest | 1 + |
14 |
.../virt-manager/virt-manager-2.2.1.ebuild | 95 ++++++++++++++++++++++ |
15 |
2 files changed, 96 insertions(+) |
16 |
|
17 |
diff --git a/app-emulation/virt-manager/Manifest b/app-emulation/virt-manager/Manifest |
18 |
index 1308cc49045..da619f60167 100644 |
19 |
--- a/app-emulation/virt-manager/Manifest |
20 |
+++ b/app-emulation/virt-manager/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST virt-manager-2.0.0.tar.gz 2629465 BLAKE2B 8795985afb8805fdb4f1ee94c7344361a7d09d3e62e361f3126859c4d1b1077286b720de7629fd876e5bff10500cc6cea6f1d4afbba5c2c83fd61b137c40a3a7 SHA512 5d0eb65dceb5c913973edaa52414b1665d1ed9cd3f226e28a592decddec2acd8fdb589f60736edf9b7d95830893812f9aecca2cbdd715033ca7ea53a95472876 |
23 |
DIST virt-manager-2.2.0.tar.gz 2628726 BLAKE2B d2f6bc7a7bcf8b220109702b7cd65dd9484c197252cf96e4748c27921a45749c476ed9d03eadac6ef3053df01ceb267c4756b0c602fad431ad9de0035d4ed5d5 SHA512 09975f7628ee302687eb6572b5f35797b4710aaae60c17542ee9edd72c65e80e93d7bbc7a2050667a9280effdbab28272886ae155b3ba73c104153ae3c048d99 |
24 |
+DIST virt-manager-2.2.1.tar.gz 2623754 BLAKE2B c81e730f2d685152bd0ef0a0327a74a70c50bff91e80ed0e3de92d0b848183c4bc092be333f2f0785c6a0b39f0b6d6abbd1f38c902f52ba4af7c56d64ee9b026 SHA512 aa97af52b3552c087beab8701762c21e8e6d818c9787d5376ed4e1ae40a34d5e8870c4c00fda9cb17a2340d1dff5b17e853182df720cdd9ea4c91cf01502a33a |
25 |
|
26 |
diff --git a/app-emulation/virt-manager/virt-manager-2.2.1.ebuild b/app-emulation/virt-manager/virt-manager-2.2.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..5472726ccd7 |
29 |
--- /dev/null |
30 |
+++ b/app-emulation/virt-manager/virt-manager-2.2.1.ebuild |
31 |
@@ -0,0 +1,95 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{5,6,7} ) |
38 |
+DISTUTILS_SINGLE_IMPL=1 |
39 |
+ |
40 |
+inherit gnome2 distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="A graphical tool for administering virtual machines" |
43 |
+HOMEPAGE="http://virt-manager.org" |
44 |
+ |
45 |
+if [[ ${PV} = *9999* ]]; then |
46 |
+ inherit git-r3 |
47 |
+ SRC_URI="" |
48 |
+ KEYWORDS="" |
49 |
+ EGIT_REPO_URI="https://github.com/virt-manager/virt-manager.git" |
50 |
+else |
51 |
+ SRC_URI="http://virt-manager.org/download/sources/${PN}/${P}.tar.gz" |
52 |
+ KEYWORDS="~amd64 ~x86" |
53 |
+fi |
54 |
+ |
55 |
+LICENSE="GPL-2" |
56 |
+SLOT="0" |
57 |
+IUSE="gnome-keyring gtk policykit sasl" |
58 |
+ |
59 |
+RDEPEND="!app-emulation/virtinst |
60 |
+ ${PYTHON_DEPS} |
61 |
+ app-cdr/cdrtools |
62 |
+ >=app-emulation/libvirt-glib-1.0.0[introspection] |
63 |
+ dev-libs/libxml2[python,${PYTHON_USEDEP}] |
64 |
+ dev-python/ipaddr[${PYTHON_USEDEP}] |
65 |
+ dev-python/libvirt-python[${PYTHON_USEDEP}] |
66 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
67 |
+ dev-python/requests[${PYTHON_USEDEP}] |
68 |
+ >=sys-libs/libosinfo-0.2.10[introspection] |
69 |
+ gtk? ( |
70 |
+ gnome-base/dconf |
71 |
+ >=net-libs/gtk-vnc-0.3.8[gtk3(+),introspection] |
72 |
+ net-misc/spice-gtk[usbredir,gtk3,introspection,sasl?] |
73 |
+ net-misc/x11-ssh-askpass |
74 |
+ x11-libs/gtk+:3[introspection] |
75 |
+ x11-libs/gtksourceview:4[introspection] |
76 |
+ x11-libs/vte:2.91[introspection] |
77 |
+ gnome-keyring? ( gnome-base/libgnome-keyring ) |
78 |
+ policykit? ( sys-auth/polkit[introspection] ) |
79 |
+ ) |
80 |
+" |
81 |
+DEPEND="${RDEPEND} |
82 |
+ dev-lang/perl |
83 |
+ dev-util/intltool |
84 |
+" |
85 |
+ |
86 |
+DOCS=( README.md NEWS.md ) |
87 |
+ |
88 |
+src_prepare() { |
89 |
+ distutils-r1_src_prepare |
90 |
+} |
91 |
+ |
92 |
+distutils-r1_python_compile() { |
93 |
+ local defgraphics= |
94 |
+ |
95 |
+ esetup.py configure \ |
96 |
+ --default-graphics=spice |
97 |
+} |
98 |
+ |
99 |
+src_install() { |
100 |
+ local mydistutilsargs=( --no-update-icon-cache --no-compile-schemas ) |
101 |
+ distutils-r1_src_install |
102 |
+ |
103 |
+ python_fix_shebang "${ED}"/usr/share/virt-manager |
104 |
+} |
105 |
+ |
106 |
+pkg_preinst() { |
107 |
+ if use gtk; then |
108 |
+ gnome2_pkg_preinst |
109 |
+ |
110 |
+ cd "${ED}" |
111 |
+ export GNOME2_ECLASS_ICONS=$(find 'usr/share/virt-manager/icons' -maxdepth 1 -mindepth 1 -type d 2> /dev/null) |
112 |
+ else |
113 |
+ rm -rf "${ED}/usr/share/virt-manager/virtManager" |
114 |
+ rm -f "${ED}/usr/share/virt-manager/virt-manager" |
115 |
+ rm -rf "${ED}/usr/share/virt-manager/ui/" |
116 |
+ rm -rf "${ED}/usr/share/virt-manager/icons/" |
117 |
+ rm -rf "${ED}/usr/share/man/man1/virt-manager.1*" |
118 |
+ rm -rf "${ED}/usr/share/icons/" |
119 |
+ rm -rf "${ED}/usr/share/applications/virt-manager.desktop" |
120 |
+ rm -rf "${ED}/usr/bin/virt-manager" |
121 |
+ fi |
122 |
+} |
123 |
+ |
124 |
+pkg_postinst() { |
125 |
+ use gtk && gnome2_pkg_postinst |
126 |
+} |