Gentoo Archives: gentoo-commits

From: "Maurice van der Pot (griffon26)" <griffon26@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/pyicq-t: ChangeLog pyicq-t-0.8.1.5.ebuild
Date: Wed, 26 Aug 2009 20:32:12
Message-Id: E1MgNzN-0004GC-0Z@stork.gentoo.org
1 griffon26 09/08/26 19:16:57
2
3 Modified: ChangeLog
4 Added: pyicq-t-0.8.1.5.ebuild
5 Log:
6 Bump pyicq-t to version 0.8.1.5 (bug #282717)
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.16 net-im/pyicq-t/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pyicq-t/ChangeLog?rev=1.16&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pyicq-t/ChangeLog?rev=1.16&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pyicq-t/ChangeLog?r1=1.15&r2=1.16
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-im/pyicq-t/ChangeLog,v
19 retrieving revision 1.15
20 retrieving revision 1.16
21 diff -u -r1.15 -r1.16
22 --- ChangeLog 18 Aug 2009 16:14:30 -0000 1.15
23 +++ ChangeLog 26 Aug 2009 19:16:56 -0000 1.16
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-im/pyicq-t
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-im/pyicq-t/ChangeLog,v 1.15 2009/08/18 16:14:30 griffon26 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-im/pyicq-t/ChangeLog,v 1.16 2009/08/26 19:16:56 griffon26 Exp $
29 +
30 +*pyicq-t-0.8.1.5 (26 Aug 2009)
31 +
32 + 26 Aug 2009; Maurice van der Pot <griffon26@g.o>
33 + +pyicq-t-0.8.1.5.ebuild:
34 + Version bump because of memory leak in 0.8.1.4.
35
36 *pyicq-t-0.8.1.4 (18 Aug 2009)
37
38
39
40
41 1.1 net-im/pyicq-t/pyicq-t-0.8.1.5.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pyicq-t/pyicq-t-0.8.1.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pyicq-t/pyicq-t-0.8.1.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pyicq-t-0.8.1.5.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-im/pyicq-t/pyicq-t-0.8.1.5.ebuild,v 1.1 2009/08/26 19:16:56 griffon26 Exp $
51
52 NEED_PYTHON=2.3
53
54 inherit eutils multilib python
55
56 MY_P="${P/pyicq-t/pyicqt}"
57
58 DESCRIPTION="Python based jabber transport for ICQ"
59 HOMEPAGE="http://code.google.com/p/pyicqt/"
60 SRC_URI="http://pyicqt.googlecode.com/files/${MY_P}.tar.gz"
61 S="${WORKDIR}/${MY_P}"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="webinterface"
67
68 DEPEND="net-im/jabber-base"
69 RDEPEND="${DEPEND}
70 >=dev-python/twisted-2.2.0
71 >=dev-python/twisted-words-0.1.0
72 >=dev-python/twisted-web-0.5.0
73 webinterface? ( >=dev-python/nevow-0.4.1 )
74 >=dev-python/imaging-1.1"
75
76 src_install() {
77 local inspath
78
79 python_version
80 inspath=/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
81 insinto ${inspath}
82 doins -r data src tools
83 newins PyICQt.py ${PN}.py
84
85 insinto /etc/jabber
86 newins config_example.xml ${PN}.xml
87 fperms 600 /etc/jabber/${PN}.xml
88 fowners jabber:jabber /etc/jabber/${PN}.xml
89 dosed \
90 "s:<spooldir>[^\<]*</spooldir>:<spooldir>/var/spool/jabber</spooldir>:" \
91 /etc/jabber/${PN}.xml
92 dosed \
93 "s:<pid>[^\<]*</pid>:<pid>/var/run/jabber/${PN}.pid</pid>:" \
94 /etc/jabber/${PN}.xml
95
96 newinitd "${FILESDIR}/${PN}-0.8-initd" ${PN}
97 dosed "s:INSPATH:${inspath}:" /etc/init.d/${PN}
98 }
99
100 pkg_postinst() {
101 python_version
102 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
103
104 elog "A sample configuration file has been installed in /etc/jabber/${PN}.xml."
105 elog "Please edit it and the configuration of your Jabber server to match."
106
107 ewarn "If you are storing user accounts in MySQL and are upgrading from a "
108 ewarn "version older than 0.8.1, then you will need to run the following "
109 ewarn "command to create some new tables:"
110 ewarn " mysql -u user_name -p pyicqt < /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}/tools/db-setup.mysql"
111
112 elog "These instructions along with a list of new config variables are "
113 elog "available at: http://code.google.com/p/pyicqt/wiki/Upgrade"
114 }
115
116 pkg_postrm() {
117 python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/${PN}
118 }