summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-06-13 11:29:35 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-06-13 11:29:35 +0000
commit8eb40b6933111e026307c5130d170d80e9da02a6 (patch)
tree012b086f15d3718db0804522aae0f55ee6a79284 /x11-misc/obmenu
parentVersion bump to 1.1.0_beta2 (diff)
downloadgentoo-2-8eb40b6933111e026307c5130d170d80e9da02a6.tar.gz
gentoo-2-8eb40b6933111e026307c5130d170d80e9da02a6.tar.bz2
gentoo-2-8eb40b6933111e026307c5130d170d80e9da02a6.zip
Force Python 2.x wrt #317019 by Arfrever Frehtes Taifersar Arahesis.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/obmenu')
-rw-r--r--x11-misc/obmenu/ChangeLog5
-rw-r--r--x11-misc/obmenu/obmenu-1.0.ebuild15
2 files changed, 17 insertions, 3 deletions
diff --git a/x11-misc/obmenu/ChangeLog b/x11-misc/obmenu/ChangeLog
index 005578e15217..c994d208c2f8 100644
--- a/x11-misc/obmenu/ChangeLog
+++ b/x11-misc/obmenu/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-misc/obmenu
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/obmenu/ChangeLog,v 1.9 2010/06/02 06:40:42 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/obmenu/ChangeLog,v 1.10 2010/06/13 11:29:35 ssuominen Exp $
+
+ 13 Jun 2010; Samuli Suominen <ssuominen@gentoo.org> obmenu-1.0.ebuild:
+ Force Python 2.x wrt #317019 by Arfrever Frehtes Taifersar Arahesis.
02 Jun 2010; Torsten Veller <tove@gentoo.org> metadata.xml:
Remove omp from metadata.xml (#147119)
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
+}