summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-voip/telepathy-haze')
-rw-r--r--net-voip/telepathy-haze/ChangeLog5
-rw-r--r--net-voip/telepathy-haze/telepathy-haze-0.4.0-r1.ebuild29
2 files changed, 24 insertions, 10 deletions
diff --git a/net-voip/telepathy-haze/ChangeLog b/net-voip/telepathy-haze/ChangeLog
index e5de2e8aac29..852e031fcee0 100644
--- a/net-voip/telepathy-haze/ChangeLog
+++ b/net-voip/telepathy-haze/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-voip/telepathy-haze
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-voip/telepathy-haze/ChangeLog,v 1.18 2011/02/07 19:13:28 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-voip/telepathy-haze/ChangeLog,v 1.19 2011/02/22 18:29:27 pacho Exp $
+
+ 22 Feb 2011; Pacho Ramos <pacho@gentoo.org> telepathy-haze-0.4.0-r1.ebuild:
+ Bump to eapi3, use python2 for compiling.
07 Feb 2011; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Add gnome to metadata as talked between us since empathy relies on this.
diff --git a/net-voip/telepathy-haze/telepathy-haze-0.4.0-r1.ebuild b/net-voip/telepathy-haze/telepathy-haze-0.4.0-r1.ebuild
index 3425edcdb3ad..f60cc76c4b89 100644
--- a/net-voip/telepathy-haze/telepathy-haze-0.4.0-r1.ebuild
+++ b/net-voip/telepathy-haze/telepathy-haze-0.4.0-r1.ebuild
@@ -1,10 +1,14 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-voip/telepathy-haze/telepathy-haze-0.4.0-r1.ebuild,v 1.1 2010/09/30 08:23:17 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-voip/telepathy-haze/telepathy-haze-0.4.0-r1.ebuild,v 1.2 2011/02/22 18:29:27 pacho Exp $
-DESCRIPTION="Telepathy connection manager providing libpurple supported
-protocols."
-HOMEPAGE="http://developer.pidgin.im/wiki/Telepathy"
+EAPI="3"
+PYTHON_DEPEND="2:2.5"
+
+inherit python
+
+DESCRIPTION="Telepathy connection manager providing libpurple supported protocols."
+HOMEPAGE="http://developer.pidgin.im/wiki/TelepathyHaze"
SRC_URI="http://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
@@ -14,13 +18,20 @@ IUSE="test"
RDEPEND=">=net-im/pidgin-2.6
>=net-libs/telepathy-glib-0.9.2
- >=dev-libs/glib-2.22
+ >=dev-libs/glib-2.22:2
>=dev-libs/dbus-glib-0.73"
DEPEND="${RDEPEND}
dev-util/pkgconfig
- test? ( dev-python/twisted-words
- >=dev-lang/python-2.5 )"
+ test? ( dev-python/twisted-words )"
+
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_prepare() {
+ python_convert_shebangs -r 2 .
+}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
@@ -28,5 +39,5 @@ src_install() {
# Remove haze.manager (as Fedora and Debian are doing) to prevent
# connection problems reported in bug #331713
- rm -f "${D}"/usr/share/telepathy/managers/haze.manager || die
+ rm -f "${ED}"/usr/share/telepathy/managers/haze.manager || die
}