summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir Lamouri <volkmar@gentoo.org>2010-04-28 22:07:55 +0000
committerMounir Lamouri <volkmar@gentoo.org>2010-04-28 22:07:55 +0000
commit5ad81249128b0b30392c92cd9c872cb7fdeb9852 (patch)
tree2a3032f4329a2ae88fc95ab864c7408491f9b2ad
parentBug #231242: GeoIP patch support for BIND. (diff)
downloadgentoo-2-5ad81249128b0b30392c92cd9c872cb7fdeb9852.tar.gz
gentoo-2-5ad81249128b0b30392c92cd9c872cb7fdeb9852.tar.bz2
gentoo-2-5ad81249128b0b30392c92cd9c872cb7fdeb9852.zip
vboxgtk doesn't support python-3, fix bug 311191
(Portage version: 15511-svn/cvs/Linux i686)
-rw-r--r--app-emulation/vboxgtk/ChangeLog9
-rw-r--r--app-emulation/vboxgtk/vboxgtk-0.5.0-r1.ebuild47
2 files changed, 54 insertions, 2 deletions
diff --git a/app-emulation/vboxgtk/ChangeLog b/app-emulation/vboxgtk/ChangeLog
index bccc5fb7b35e..353dea119598 100644
--- a/app-emulation/vboxgtk/ChangeLog
+++ b/app-emulation/vboxgtk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/vboxgtk
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vboxgtk/ChangeLog,v 1.2 2009/10/12 18:43:39 volkmar Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vboxgtk/ChangeLog,v 1.3 2010/04/28 22:07:55 volkmar Exp $
+
+*vboxgtk-0.5.0-r1 (28 Apr 2010)
+
+ 28 Apr 2010; Mounir Lamouri <volkmar@gentoo.org> +vboxgtk-0.5.0-r1.ebuild:
+ vboxgtk doesn't support python-3. Fix bug 311191.
*vboxgtk-0.5.0 (11 Oct 2009)
diff --git a/app-emulation/vboxgtk/vboxgtk-0.5.0-r1.ebuild b/app-emulation/vboxgtk/vboxgtk-0.5.0-r1.ebuild
new file mode 100644
index 000000000000..82a5d7ebf2b5
--- /dev/null
+++ b/app-emulation/vboxgtk/vboxgtk-0.5.0-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vboxgtk/vboxgtk-0.5.0-r1.ebuild,v 1.1 2010/04/28 22:07:55 volkmar Exp $
+
+EAPI="2"
+
+SUPPORT_PYTHON_ABIS="1"
+
+inherit gnome2-utils distutils
+
+DESCRIPTION="GTK frontend for VirtualBox"
+HOMEPAGE="http://vboxgtk.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="linguas_es"
+
+DEPEND=""
+RDEPEND="
+ || ( >=app-emulation/virtualbox-ose-2.2.2[-headless,sdk]
+ >=app-emulation/virtualbox-bin-2.2.2 )
+ >=dev-python/pygtk-2.14.0"
+
+RESTRICT_PYTHON_ABIS="3.*"
+
+src_prepare() {
+ if ! use linguas_es; then
+ rm po/es.po || die "rm failed"
+ fi
+ python_convert_shebangs -r 2 .
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ distutils_pkg_postrm
+ gnome2_icon_cache_update
+}