summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-editors/bluefish/bluefish-2.0.1.ebuild')
-rw-r--r--app-editors/bluefish/bluefish-2.0.1.ebuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/app-editors/bluefish/bluefish-2.0.1.ebuild b/app-editors/bluefish/bluefish-2.0.1.ebuild
index b58b760d9758..374df28007cb 100644
--- a/app-editors/bluefish/bluefish-2.0.1.ebuild
+++ b/app-editors/bluefish/bluefish-2.0.1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/bluefish/bluefish-2.0.1.ebuild,v 1.1 2010/07/15 17:22:49 billie Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/bluefish/bluefish-2.0.1.ebuild,v 1.2 2010/07/15 20:22:16 billie Exp $
EAPI=2
-PYTHON_DEPEND=2
+PYTHON_DEPEND="python? 2"
inherit autotools eutils fdo-mime python
@@ -33,6 +33,13 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
+pkg_setup() {
+ if use python ; then
+ python_set_active_version 2
+ python_pkg_setup
+ fi
+}
+
src_prepare () {
# Fixes automagic installation of charmap plugin
# Upstream bug: https://bugzilla.gnome.org/show_bug.cgi?id=570990