Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/gajim: ChangeLog gajim-0.14.1-r2.ebuild gajim-0.14.1-r1.ebuild
Date: Fri, 29 Oct 2010 15:21:26
Message-Id: 20101029152116.3970820051@flycatcher.gentoo.org
1 jlec 10/10/29 15:21:16
2
3 Modified: ChangeLog
4 Added: gajim-0.14.1-r2.ebuild
5 Removed: gajim-0.14.1-r1.ebuild
6 Log:
7 Remove multi ABI support again as it sucks
8
9 (Portage version: 2.2.0_alpha2/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.108 net-im/gajim/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/gajim/ChangeLog?rev=1.108&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/gajim/ChangeLog?rev=1.108&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/gajim/ChangeLog?r1=1.107&r2=1.108
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v
21 retrieving revision 1.107
22 retrieving revision 1.108
23 diff -u -r1.107 -r1.108
24 --- ChangeLog 29 Oct 2010 14:32:11 -0000 1.107
25 +++ ChangeLog 29 Oct 2010 15:21:16 -0000 1.108
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-im/gajim
28 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v 1.107 2010/10/29 14:32:11 jlec Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v 1.108 2010/10/29 15:21:16 jlec Exp $
31 +
32 +*gajim-0.14.1-r2 (29 Oct 2010)
33 +
34 + 29 Oct 2010; Justin Lecher <jlec@g.o> -gajim-0.14.1-r1.ebuild,
35 + +gajim-0.14.1-r2.ebuild:
36 + Remove multi ABI support again as it doesn't work for this package
37
38 *gajim-0.14.1-r1 (29 Oct 2010)
39
40
41
42
43 1.1 net-im/gajim/gajim-0.14.1-r2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/gajim/gajim-0.14.1-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/gajim/gajim-0.14.1-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: gajim-0.14.1-r2.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-im/gajim/gajim-0.14.1-r2.ebuild,v 1.1 2010/10/29 15:21:16 jlec Exp $
53
54 EAPI="2"
55
56 PYTHON_DEPEND="2"
57 PYTHON_USE_WITH="sqlite xml"
58
59 inherit eutils python versionator
60
61 DESCRIPTION="Jabber client written in PyGTK"
62 HOMEPAGE="http://www.gajim.org/"
63 SRC_URI="http://www.gajim.org/downloads/$(get_version_component_range 1-2)/${P}.tar.bz2"
64
65 LICENSE="GPL-3"
66 SLOT="0"
67 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
68 IUSE="avahi crypt dbus gnome idle jingle libnotify networkmanager nls spell srv X xhtml"
69
70 COMMON_DEPEND="
71 x11-libs/gtk+:2
72 >=dev-python/pygtk-2.16.0"
73
74 DEPEND="${COMMON_DEPEND}
75 >=sys-devel/gettext-0.17-r1
76 >=dev-util/intltool-0.40.1
77 dev-util/pkgconfig"
78
79 RDEPEND="${COMMON_DEPEND}
80 dev-python/pyopenssl
81 dev-python/sexy-python
82 crypt? (
83 app-crypt/gnupg
84 dev-python/pycrypto
85 )
86 dbus? (
87 dev-python/dbus-python
88 dev-libs/dbus-glib
89 libnotify? ( dev-python/notify-python )
90 avahi? ( net-dns/avahi[dbus,gtk,python] )
91 )
92 gnome? (
93 dev-python/libgnome-python
94 dev-python/gnome-keyring-python
95 dev-python/egg-python
96 )
97 idle? ( x11-libs/libXScrnSaver )
98 jingle? ( net-libs/farsight2[python] )
99 networkmanager? (
100 dev-python/dbus-python
101 || ( >=net-misc/networkmanager-0.7.1 net-misc/networkmanager[gnome] )
102 )
103 srv? (
104 || (
105 dev-python/libasyncns-python
106 net-dns/bind-tools )
107 )
108 spell? ( app-text/gtkspell )
109 xhtml? ( dev-python/docutils )"
110
111 pkg_setup() {
112 if ! use dbus; then
113 if use libnotify; then
114 eerror "The dbus USE flag is required for libnotify support"
115 die "USE=\"dbus\" needed for libnotify support"
116 fi
117 if use avahi; then
118 eerror "The dbus USE flag is required for avahi support"
119 die "USE=\"dbus\" needed for avahi support"
120 fi
121 fi
122 python_pkg_setup
123 python_set_active_version 2
124 }
125
126 src_prepare() {
127 epatch \
128 "${FILESDIR}"/0.14-python-version.patch \
129 "${FILESDIR}"/0.14.1-testing.patch
130 echo '#!/bin/sh' > config/py-compile
131 }
132
133 src_configure() {
134 econf \
135 $(use_enable nls) \
136 $(use_with X x) \
137 --docdir="/usr/share/doc/${PF}" \
138 --libdir="$(python_get_sitedir)" \
139 --enable-site-packages
140 }
141
142 src_install() {
143 emake DESTDIR="${D}" install || die "emake install failed"
144
145 rm "${D}/usr/share/doc/${PF}/"{README.html,COPYING} || die
146 dohtml README.html || die
147 }
148
149 pkg_postinst() {
150 python_mod_optimize $(python_get_sitedir)/${PN}
151 }
152
153 pkg_postrm() {
154 python_mod_cleanup $(python_get_sitedir)/${PN}
155 }