diff options
author | Matthias Maier <tamiko@gentoo.org> | 2015-11-25 16:56:10 -0600 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2015-11-25 16:57:21 -0600 |
commit | c3b88a746dfebafbcc3d64b78f9eef8818bde863 (patch) | |
tree | 72e0ef2ff632f92b624c43e52a682655646da443 /app-emulation | |
parent | profiles: unmask USE=http2 for net-misc/curl, bug #563060. (diff) | |
download | gentoo-c3b88a746dfebafbcc3d64b78f9eef8818bde863.tar.gz gentoo-c3b88a746dfebafbcc3d64b78f9eef8818bde863.tar.bz2 gentoo-c3b88a746dfebafbcc3d64b78f9eef8818bde863.zip |
app-emulation/virt-manager: version bump to 1.3.0, ebuild maintenance
- version bump to 1.3.0
- synchronize live ebuild and 1.3.0
Package-Manager: portage-2.2.24
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/virt-manager/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/virt-manager/virt-manager-1.3.0.ebuild | 93 | ||||
-rw-r--r-- | app-emulation/virt-manager/virt-manager-9999.ebuild | 2 |
3 files changed, 95 insertions, 1 deletions
diff --git a/app-emulation/virt-manager/Manifest b/app-emulation/virt-manager/Manifest index 9dde0f24c656..8dccb60c4176 100644 --- a/app-emulation/virt-manager/Manifest +++ b/app-emulation/virt-manager/Manifest @@ -1,2 +1,3 @@ DIST virt-manager-1.1.0.tar.gz 2509440 SHA256 ab0906cb15a132f1893f89ac4ca211c6c2c9c2d1860fbc285edbf9451c0f7941 SHA512 8c3aa56e13f1ec4a67e353b15b4f61bdc067300dbc459790b04e5f5258bf526694ec712a9f74d7af48ddd271081d48ae98d576f4bc5ed139e046620a9aa64e2d WHIRLPOOL aaffdf75b313c88a10648503bf552357139aff2a1624da1b17cac3975fec21ad6c3ccce00999ef8f4f1f4731aabf5ae2c07e70e453785caefe932c3b0deab456 DIST virt-manager-1.2.1.tar.gz 2524812 SHA256 74bba80e72e5e1b4d84f1d5b7211b874e9c4ae00a0a44149d1721acab38ce6be SHA512 b99144f498bc2f28c98bb2395e0a9c2fe244a3da476892698ff0f1fd4a6d36a8ddf53e13561593c5e94932ce8176a27092c818ed218634fc5201666ad6792791 WHIRLPOOL d2402087453ec720add0a815433e9feda1bd36e253178dfe1cf27f52e0ad41a13e1e1d6a9977b63485ed8acc257d93c903625b775c6ab130ea7235e52be0e8fc +DIST virt-manager-1.3.0.tar.gz 2564090 SHA256 a6ebec0dd695b195778c5d710c7b6f1cd28d3ccb8b128fa006eebb35b156a315 SHA512 8cba9ad45aa3b070e29ec72cc45c5eb88231dfb0ef2a24cdc913acdf30158d29cc0b18e23f168fb5eafa4d890b5cd286a04669210b1411701adc912e29274101 WHIRLPOOL 379c54e1541b2186b1c218849758a917a8913e92603f8c492e707c206ef1fb7084bb7f21c474d6829e613b5ba524684562c1b3d696823478909f2a9d5a0f780f diff --git a/app-emulation/virt-manager/virt-manager-1.3.0.ebuild b/app-emulation/virt-manager/virt-manager-1.3.0.ebuild new file mode 100644 index 000000000000..e1ba253e4a1b --- /dev/null +++ b/app-emulation/virt-manager/virt-manager-1.3.0.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +DISTUTILS_SINGLE_IMPL=1 + +inherit gnome2 distutils-r1 + +DESCRIPTION="A graphical tool for administering virtual machines" +HOMEPAGE="http://virt-manager.org" + +if [[ ${PV} = *9999* ]]; then + inherit git-2 + SRC_URI="" + KEYWORDS="" + EGIT_REPO_URI="https://github.com/virt-manager/virt-manager.git" +else + SRC_URI="http://virt-manager.org/download/sources/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="gnome-keyring gtk policykit sasl" + +RDEPEND="!app-emulation/virtinst + dev-python/libvirt-python[${PYTHON_USEDEP}] + >=app-emulation/libvirt-glib-0.0.9[introspection,python,${PYTHON_USEDEP}] + ${PYTHON_DEPS} + dev-libs/libxml2[python,${PYTHON_USEDEP}] + dev-python/ipaddr[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + >=sys-libs/libosinfo-0.2.10[introspection] + gtk? ( + x11-libs/gtk+:3[introspection] + gnome-base/dconf + >=net-libs/gtk-vnc-0.3.8[gtk3,introspection,python,${PYTHON_USEDEP}] + net-misc/spice-gtk[usbredir,gtk3,introspection,python,sasl?,${PYTHON_USEDEP}] + net-misc/x11-ssh-askpass + x11-libs/vte:2.90[introspection] + gnome-keyring? ( dev-python/gnome-keyring-python ) + policykit? ( sys-auth/polkit[introspection] ) + x11-themes/gnome-icon-theme + )" +DEPEND="${RDEPEND} + dev-lang/perl + dev-util/intltool" + +DOCS=( README NEWS ) + +src_prepare() { + distutils-r1_src_prepare +} + +distutils-r1_python_compile() { + local defgraphics= + + esetup.py configure \ + --qemu-user=qemu \ + --default-graphics=spice +} + +python_install_all() { + distutils-r1_python_install_all + python_fix_shebang \ + "${ED}"/usr/share/virt-manager/virt-{clone,convert,image,install,manager} +} + +pkg_preinst() { + if use gtk; then + gnome2_pkg_preinst + + cd "${ED}" + export GNOME2_ECLASS_ICONS=$(find 'usr/share/virt-manager/icons' -maxdepth 1 -mindepth 1 -type d 2> /dev/null) + else + rm -rf "${ED}/usr/share/virt-manager/virtManager" + rm -f "${ED}/usr/share/virt-manager/virt-manager" + rm -rf "${ED}/usr/share/virt-manager/ui/" + rm -rf "${ED}/usr/share/virt-manager/icons/" + rm -rf "${ED}/usr/share/man/man1/virt-manager.1*" + rm -rf "${ED}/usr/share/icons/" + rm -rf "${ED}/usr/share/applications/virt-manager.desktop" + rm -rf "${ED}/usr/bin/virt-manager" + fi +} + +pkg_postinst() { + use gtk && gnome2_pkg_postinst +} diff --git a/app-emulation/virt-manager/virt-manager-9999.ebuild b/app-emulation/virt-manager/virt-manager-9999.ebuild index 87e7fde7cb3b..e1ba253e4a1b 100644 --- a/app-emulation/virt-manager/virt-manager-9999.ebuild +++ b/app-emulation/virt-manager/virt-manager-9999.ebuild @@ -38,7 +38,7 @@ RDEPEND="!app-emulation/virtinst gtk? ( x11-libs/gtk+:3[introspection] gnome-base/dconf - >=net-libs/gtk-vnc-0.3.8[gtk3,introspection] + >=net-libs/gtk-vnc-0.3.8[gtk3,introspection,python,${PYTHON_USEDEP}] net-misc/spice-gtk[usbredir,gtk3,introspection,python,sasl?,${PYTHON_USEDEP}] net-misc/x11-ssh-askpass x11-libs/vte:2.90[introspection] |