summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2010-07-06 14:41:06 +0000
committerLars Wendler <polynomial-c@gentoo.org>2010-07-06 14:41:06 +0000
commit5257adcbb6d67e73a4f9f70a145e516e22e741af (patch)
tree82622b9b3b8fa8559be8e2c52bb0542d41bf5437 /app-emulation/virtualbox-bin
parentKeyword ~ppc64 wrt #320429 (diff)
downloadgentoo-2-5257adcbb6d67e73a4f9f70a145e516e22e741af.tar.gz
gentoo-2-5257adcbb6d67e73a4f9f70a145e516e22e741af.tar.bz2
gentoo-2-5257adcbb6d67e73a4f9f70a145e516e22e741af.zip
Another minor fix for my previous change suggested by Arfrever.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/virtualbox-bin')
-rw-r--r--app-emulation/virtualbox-bin/virtualbox-bin-3.2.4-r1.ebuild15
-rw-r--r--app-emulation/virtualbox-bin/virtualbox-bin-3.2.6.ebuild3
2 files changed, 12 insertions, 6 deletions
diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-3.2.4-r1.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-3.2.4-r1.ebuild
index 6e78ed41553e..dd0946f094f9 100644
--- a/app-emulation/virtualbox-bin/virtualbox-bin-3.2.4-r1.ebuild
+++ b/app-emulation/virtualbox-bin/virtualbox-bin-3.2.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-3.2.4-r1.ebuild,v 1.5 2010/07/06 14:24:27 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-3.2.4-r1.ebuild,v 1.6 2010/07/06 14:41:06 polynomial-c Exp $
EAPI=2
@@ -50,7 +50,11 @@ RDEPEND="!!app-emulation/virtualbox-ose
x11-libs/libSM
x11-libs/libICE
x11-libs/libXdmcp
- python? ( dev-lang/python )"
+ python? ( || (
+ dev-lang/python:2.6
+ dev-lang/python:2.5
+ dev-lang/python:2.4
+ ) )"
S=${WORKDIR}
@@ -202,9 +206,10 @@ src_install() {
fi
if use python; then
- for vboxpyver in 2.4 2.5 2.6 2.7 3.0 3.1 ; do
- if has_version "=dev-lang/python-${vboxpyver}*" && [[ -f ${S}/VBoxPython${vboxpyver/./_}.so ]] ; then
- doins VBoxPython${vboxpyver/./_}.so || die
+ local pyver
+ for pyver in 2.4 2.5 2.6 2.7 3.0 3.1 ; do
+ if has_version "=dev-lang/python-${pyver}*" && [[ -f ${S}/VBoxPython${pyver/./_}.so ]] ; then
+ doins VBoxPython${pyver/./_}.so || die
fi
done
fi
diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-3.2.6.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-3.2.6.ebuild
index ad9bdbd5cc8d..9bdc48f813bf 100644
--- a/app-emulation/virtualbox-bin/virtualbox-bin-3.2.6.ebuild
+++ b/app-emulation/virtualbox-bin/virtualbox-bin-3.2.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-3.2.6.ebuild,v 1.7 2010/07/06 14:24:27 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-3.2.6.ebuild,v 1.8 2010/07/06 14:41:06 polynomial-c Exp $
EAPI=2
@@ -202,6 +202,7 @@ src_install() {
fi
if use python; then
+ local pyver
for pyver in 2.4 2.5 2.6 2.7 3.0 3.1 ; do
if has_version "=dev-lang/python-${pyver}*" && [ -f "${S}/VBoxPython${pyver/./_}.so" ] ; then
doins VBoxPython${pyver/./_}.so || die