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