summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/obmenu/obmenu-1.0.ebuild')
-rw-r--r--x11-misc/obmenu/obmenu-1.0.ebuild15
1 files changed, 13 insertions, 2 deletions
diff --git a/x11-misc/obmenu/obmenu-1.0.ebuild b/x11-misc/obmenu/obmenu-1.0.ebuild
index 1742fa1d6083..bc215ee38721 100644
--- a/x11-misc/obmenu/obmenu-1.0.ebuild
+++ b/x11-misc/obmenu/obmenu-1.0.ebuild
@@ -1,7 +1,9 @@
-# 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/x11-misc/obmenu/obmenu-1.0.ebuild,v 1.7 2009/01/18 16:46:09 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/obmenu/obmenu-1.0.ebuild,v 1.8 2010/06/13 11:29:35 ssuominen Exp $
+EAPI=2
+PYTHON_DEPEND="2"
inherit distutils
DESCRIPTION="Menu editor designed for openbox"
@@ -14,3 +16,12 @@ KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
IUSE=""
RDEPEND=">=dev-python/pygtk-2.6"
+
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_prepare() {
+ python_convert_shebangs -r 2 .
+ distutils_src_prepare
+}