Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/gajim: gajim-0.13.3.ebuild ChangeLog gajim-0.13.1.ebuild
Date: Thu, 25 Feb 2010 06:13:25
Message-Id: E1NkWyR-0003HK-7c@stork.gentoo.org
1 pva 10/02/25 06:13:23
2
3 Modified: ChangeLog
4 Added: gajim-0.13.3.ebuild
5 Removed: gajim-0.13.1.ebuild
6 Log:
7 Version bump, bug #306609, thank Justin Lecher for report.
8 (Portage version: 2.1.7.17/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.87 net-im/gajim/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/ChangeLog?rev=1.87&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/ChangeLog?rev=1.87&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/ChangeLog?r1=1.86&r2=1.87
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v
20 retrieving revision 1.86
21 retrieving revision 1.87
22 diff -u -r1.86 -r1.87
23 --- ChangeLog 13 Feb 2010 18:12:23 -0000 1.86
24 +++ ChangeLog 25 Feb 2010 06:13:22 -0000 1.87
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-im/gajim
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v 1.86 2010/02/13 18:12:23 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v 1.87 2010/02/25 06:13:22 pva Exp $
30 +
31 +*gajim-0.13.3 (25 Feb 2010)
32 +
33 + 25 Feb 2010; Peter Volkov <pva@g.o> -gajim-0.13.1.ebuild,
34 + -files/gajim-0.13.1-define-exception.patch, +gajim-0.13.3.ebuild:
35 + Version bump, bug #306609, thank Justin Lecher for report.
36
37 13 Feb 2010; Raúl Porcel <armin76@g.o> gajim-0.13.1.ebuild,
38 gajim-0.13.2.ebuild:
39
40
41
42 1.1 net-im/gajim/gajim-0.13.3.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/gajim-0.13.3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/gajim-0.13.3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gajim-0.13.3.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-im/gajim/gajim-0.13.3.ebuild,v 1.1 2010/02/25 06:13:22 pva Exp $
52
53 EAPI="2"
54
55 NEED_PYTHON="2.5"
56 inherit python eutils autotools versionator
57
58 DESCRIPTION="Jabber client written in PyGTK"
59 HOMEPAGE="http://www.gajim.org/"
60 SRC_URI="http://www.gajim.org/downloads/$(get_version_component_range 1-2)/${P}.tar.bz2"
61
62 LICENSE="GPL-3"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
65 IUSE="avahi crypt dbus gnome idle libnotify nls spell srv trayicon X xhtml"
66
67 COMMON_DEPEND=">=dev-python/pygtk-2.12.0"
68
69 DEPEND="${COMMON_DEPEND}
70 >=sys-devel/gettext-0.17-r1
71 >=dev-util/intltool-0.40.1
72 dev-util/pkgconfig"
73
74 RDEPEND="${COMMON_DEPEND}
75 >=dev-lang/python-2.5[sqlite,xml]
76 dev-python/pyopenssl
77 dev-python/sexy-python
78 gnome? (
79 dev-python/libgnome-python
80 dev-python/gnome-keyring-python
81 trayicon? ( dev-python/egg-python ) )
82 dbus? (
83 dev-python/dbus-python
84 dev-libs/dbus-glib
85 libnotify? ( dev-python/notify-python )
86 avahi? ( net-dns/avahi[dbus,gtk,python] ) )
87 xhtml? ( dev-python/docutils )
88 srv? ( || (
89 dev-python/libasyncns-python
90 net-dns/bind-tools ) )
91 idle? ( x11-libs/libXScrnSaver )
92 spell? ( app-text/gtkspell )
93 crypt? (
94 app-crypt/gnupg
95 dev-python/pycrypto )"
96
97 pkg_setup() {
98 if ! use dbus; then
99 if use libnotify; then
100 eerror "The dbus USE flag is required for libnotify support"
101 die "USE=\"dbus\" needed for libnotify support"
102 fi
103 if use avahi; then
104 eerror "The dbus USE flag is required for avahi support"
105 die "USE=\"dbus\" needed for avahi support"
106 fi
107 fi
108 }
109
110 src_prepare() {
111 # install pyfiles in /usr/lib/python2.x/site-packages/gajim
112 # upstream: http://trac.gajim.org/ticket/5460
113 epatch "${FILESDIR}/${PN}-0.13-autotools--enable-site-packages_option.patch"
114 eautoreconf
115 }
116
117 src_configure() {
118 local myconf
119
120 if ! use gnome; then
121 myconf+=" $(use_enable trayicon)"
122 fi
123
124 econf \
125 $(use_enable nls) \
126 $(use_with X x) \
127 --docdir="/usr/share/doc/${PF}" \
128 --libdir="$(python_get_sitedir)" \
129 --enable-site-packages \
130 ${myconf}
131 }
132
133 src_install() {
134 emake DESTDIR="${D}" install || die "emake install failed"
135
136 rm "${D}/usr/share/doc/${PF}/{README.html,COPYING}"
137 dohtml README.html
138 }