summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2011-09-10 14:24:29 +0000
committerPacho Ramos <pacho@gentoo.org>2011-09-10 14:24:29 +0000
commit80e623b79c636d3e3e4907501d3cacbdb1d947ed (patch)
treedeb255297b34a06c885258d5d74357996092ac3f /net-im/emesene
parentUse and DEPEND on pax tools only when people wants to use mono on hardened ke... (diff)
downloadgentoo-2-80e623b79c636d3e3e4907501d3cacbdb1d947ed.tar.gz
gentoo-2-80e623b79c636d3e3e4907501d3cacbdb1d947ed.tar.bz2
gentoo-2-80e623b79c636d3e3e4907501d3cacbdb1d947ed.zip
Allow it to work on setups with python3 as main interpreter.
(Portage version: 2.1.10.14/cvs/Linux x86_64)
Diffstat (limited to 'net-im/emesene')
-rw-r--r--net-im/emesene/ChangeLog5
-rw-r--r--net-im/emesene/emesene-1.6.3.ebuild8
2 files changed, 11 insertions, 2 deletions
diff --git a/net-im/emesene/ChangeLog b/net-im/emesene/ChangeLog
index fb4de98868a7..4064ba87e808 100644
--- a/net-im/emesene/ChangeLog
+++ b/net-im/emesene/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-im/emesene
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/emesene/ChangeLog,v 1.9 2011/09/06 08:20:29 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/emesene/ChangeLog,v 1.10 2011/09/10 14:24:29 pacho Exp $
+
+ 10 Sep 2011; Pacho Ramos <pacho@gentoo.org> emesene-1.6.3.ebuild:
+ Allow it to work on setups with python3 as main interpreter.
06 Sep 2011; Markos Chandras <hwoarang@gentoo.org> emesene-1.6.3.ebuild:
Move gst-python to optional dependencies. Bug #381237
diff --git a/net-im/emesene/emesene-1.6.3.ebuild b/net-im/emesene/emesene-1.6.3.ebuild
index 842661fa12a0..0b07ed6807b8 100644
--- a/net-im/emesene/emesene-1.6.3.ebuild
+++ b/net-im/emesene/emesene-1.6.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/emesene/emesene-1.6.3.ebuild,v 1.5 2011/09/07 18:56:21 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/emesene/emesene-1.6.3.ebuild,v 1.6 2011/09/10 14:24:29 pacho Exp $
EAPI="2"
PYTHON_DEPEND="2"
@@ -20,12 +20,18 @@ RDEPEND="dev-python/pygtk:2
webcam? ( media-plugins/gst-plugins-meta[v4l2]
dev-python/gst-python )"
+pkg_setup() {
+ python_set_active_version 2
+}
+
src_prepare() {
rm GPL PSF LGPL || die "rm license files failed"
if ! use webcam; then
rm -r libmimic || die "rm libmimic dir failed"
fi
+
+ python_convert_shebangs -r 2 .
}
src_compile() {