summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/virt-manager')
-rw-r--r--app-emulation/virt-manager/ChangeLog8
-rw-r--r--app-emulation/virt-manager/virt-manager-0.9.1.ebuild (renamed from app-emulation/virt-manager/virt-manager-0.9.0.ebuild)52
2 files changed, 30 insertions, 30 deletions
diff --git a/app-emulation/virt-manager/ChangeLog b/app-emulation/virt-manager/ChangeLog
index d5a1d15f7512..5488f3a262fb 100644
--- a/app-emulation/virt-manager/ChangeLog
+++ b/app-emulation/virt-manager/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emulation/virt-manager
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/ChangeLog,v 1.65 2012/02/10 04:00:38 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/ChangeLog,v 1.66 2012/02/12 03:13:05 cardoe Exp $
+
+*virt-manager-0.9.1 (11 Feb 2012)
+
+ 11 Feb 2012; Doug Goldstein <cardoe@gentoo.org> -virt-manager-0.9.0.ebuild,
+ +virt-manager-0.9.1.ebuild:
+ Version bump and clear out an older version.
10 Feb 2012; Patrick Lauer <patrick@gentoo.org> virt-manager-0.8.7-r3.ebuild,
virt-manager-0.8.7.ebuild, virt-manager-0.9.0-r1.ebuild,
diff --git a/app-emulation/virt-manager/virt-manager-0.9.0.ebuild b/app-emulation/virt-manager/virt-manager-0.9.1.ebuild
index 3d8d4e6a1751..8846681d8b94 100644
--- a/app-emulation/virt-manager/virt-manager-0.9.0.ebuild
+++ b/app-emulation/virt-manager/virt-manager-0.9.1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/virt-manager-0.9.0.ebuild,v 1.4 2012/02/10 04:00:38 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/virt-manager-0.9.1.ebuild,v 1.1 2012/02/12 03:13:05 cardoe Exp $
-#BACKPORTS=
+#BACKPORTS=4
-EAPI=2
+EAPI=4
if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="http://git.fedorahosted.org/git/virt-manager.git"
@@ -24,9 +24,10 @@ if [[ ${PV} = *9999* ]]; then
VIRTINSTDEP=">=app-emulation/virtinst-9999"
else
SRC_URI="http://virt-manager.org/download/sources/${PN}/${P}.tar.gz
- ${BACKPORTS:+mirror://gentoo/${P}-backports-${BACKPORTS}.tar.bz2}"
+ ${BACKPORTS:+mirror://gentoo/${P}-bp-${BACKPORTS}.tar.bz2
+ http://dev.gentoo.org/~cardoe/distfiles/${P}-bp-${BACKPORTS}.tar.bz2}"
KEYWORDS="~amd64 ~x86"
- VIRTINSTDEP=">=app-emulation/virtinst-0.600.0"
+ VIRTINSTDEP=">=app-emulation/virtinst-0.600.1"
fi
DESCRIPTION="A graphical tool for administering virtual machines (KVM/Xen)"
@@ -47,13 +48,16 @@ RDEPEND=">=dev-python/pygtk-1.99.12
gnome-keyring? ( dev-python/gnome-keyring-python )
policykit? ( sys-auth/polkit )
spice? ( >=net-misc/spice-gtk-0.6[python,sasl?,-gtk3] )"
+# tui? ( >=dev-python/new_syrup-0.1.2 )"
DEPEND="${RDEPEND}
app-text/rarian
dev-util/intltool"
-# The TUI (terminal UI) requires newt_syrup which is not packaged on
-# Gentoo. bug #356711
-G2CONF="--without-tui"
+pkg_setup() {
+ G2CONF="--without-tui"
+ python_set_active_version 2
+ python_pkg_setup
+}
src_prepare() {
sed -e "s/python/python2/" -i src/virt-manager.in || \
@@ -68,33 +72,23 @@ src_prepare() {
# unless we do this
touch config.rpath
- rm -rf config.status
- intltoolize --automake --copy --force
- perl -i -p -e 's,^DATADIRNAME.*$,DATADIRNAME = share,' po/Makefile.in.in
+ rm -rf config.status || die
+ intltoolize --automake --copy --force || die
+ perl -i -p -e 's,^DATADIRNAME.*$,DATADIRNAME = share,' po/Makefile.in.in || die
perl -i -p -e 's,^GETTEXT_PACKAGE.*$,GETTEXT_PACKAGE = virt-manager,' \
- po/Makefile.in.in
+ po/Makefile.in.in || die
eautoreconf
fi
gnome2_src_prepare
}
-src_install() {
- gnome2_src_install
-
- insinto /usr/share/virt-manager/pixmaps/
- doins "${S}"/pixmaps/*.png
- doins "${S}"/pixmaps/*.svg
-
- insinto /usr/share/virt-manager/pixmaps/hicolor/16x16/actions/
- doins "${S}"/pixmaps/hicolor/16x16/actions/*.png
-
- insinto /usr/share/virt-manager/pixmaps/hicolor/22x22/actions/
- doins "${S}"/pixmaps/hicolor/22x22/actions/*.png
-
- insinto /usr/share/virt-manager/pixmaps/hicolor/24x24/actions/
- doins "${S}"/pixmaps/hicolor/24x24/actions/*.png
+pkg_postinst() {
+ python_mod_optimize /usr/share/${PN}
+ gnome2_pkg_postinst
+}
- insinto /usr/share/virt-manager/pixmaps/hicolor/32x32/actions/
- doins "${S}"/pixmaps/hicolor/32x32/actions/*.png
+pkg_postrm() {
+ python_mod_cleanup /usr/share/${PN}
+ gnome2_pkg_postrm
}