summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/xen-tools/xen-tools-3.4.1-r1.ebuild')
-rw-r--r--app-emulation/xen-tools/xen-tools-3.4.1-r1.ebuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/app-emulation/xen-tools/xen-tools-3.4.1-r1.ebuild b/app-emulation/xen-tools/xen-tools-3.4.1-r1.ebuild
index b738b214c63b..bb5254861e21 100644
--- a/app-emulation/xen-tools/xen-tools-3.4.1-r1.ebuild
+++ b/app-emulation/xen-tools/xen-tools-3.4.1-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-3.4.1-r1.ebuild,v 1.3 2009/11/05 23:15:42 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-3.4.1-r1.ebuild,v 1.4 2010/10/16 14:50:34 arfrever Exp $
-EAPI="2"
+EAPI="3"
inherit flag-o-matic eutils multilib python
@@ -54,8 +54,6 @@ RDEPEND="${CDEPEND}
)
|| ( sys-fs/udev sys-apps/hotplug )"
-PYTHON_MODNAME="xen grub"
-
# hvmloader is used to bootstrap a fully virtualized kernel
# Approved by QA team in bug #144032
QA_WX_LOAD="usr/lib/xen/boot/hvmloader"
@@ -232,9 +230,9 @@ pkg_postinst() {
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
fi
- python_mod_optimize
+ python_mod_optimize $(use pygrub && echo grub) xen
}
pkg_postrm() {
- python_mod_cleanup
+ python_mod_cleanup $(use pygrub && echo grub) xen
}