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