diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2013-06-25 17:28:53 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2013-06-25 17:28:53 +0000 |
commit | 10b39aff6cda93b883699a7cd5a6eca4e40ecab8 (patch) | |
tree | 8b46e2fbc01a687bac64e18d09c18bfa2bbb02cf /app-emulation/virt-manager/virt-manager-9999.ebuild | |
parent | depend on virtual/texi2dvi with USE=doc as thats what we need here and texliv... (diff) | |
download | gentoo-2-10b39aff6cda93b883699a7cd5a6eca4e40ecab8.tar.gz gentoo-2-10b39aff6cda93b883699a7cd5a6eca4e40ecab8.tar.bz2 gentoo-2-10b39aff6cda93b883699a7cd5a6eca4e40ecab8.zip |
The way this package installs we won't be able to support multiple
Python versions so switch to python-single-r1. Additionally the
scripts are installed outside of where python_fix_shebang normally
runs so we must explicitly fix it up.
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key D7DFA8D318FA9AEF!)
Diffstat (limited to 'app-emulation/virt-manager/virt-manager-9999.ebuild')
-rw-r--r-- | app-emulation/virt-manager/virt-manager-9999.ebuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/app-emulation/virt-manager/virt-manager-9999.ebuild b/app-emulation/virt-manager/virt-manager-9999.ebuild index 9f552c960f72..5cd682e545db 100644 --- a/app-emulation/virt-manager/virt-manager-9999.ebuild +++ b/app-emulation/virt-manager/virt-manager-9999.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/virt-manager-9999.ebuild,v 1.16 2013/06/25 14:16:38 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/virt-manager-9999.ebuild,v 1.17 2013/06/25 17:28:53 cardoe Exp $ EAPI=5 #BACKPORTS= PYTHON_COMPAT=( python{2_6,2_7} ) -#PYTHON_REQ_USE="" +DISTUTILS_SINGLE_IMPL=1 inherit eutils gnome2 distutils-r1 @@ -63,3 +63,11 @@ distutils-r1_python_compile() { --qemu-user=qemu \ --default-graphics=${defgraphics} } + +python_install_all() { + python_fix_shebang "${ED}/usr/share/virt-manager/virt-clone" + python_fix_shebang "${ED}/usr/share/virt-manager/virt-convert" + python_fix_shebang "${ED}/usr/share/virt-manager/virt-image" + python_fix_shebang "${ED}/usr/share/virt-manager/virt-install" + python_fix_shebang "${ED}/usr/share/virt-manager/virt-manager" +} |