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/pymsn-t: ChangeLog pymsn-t-0.11.3.ebuild
Date: Mon, 10 Mar 2008 19:50:17
Message-Id: E1JYo0k-0005hA-Kr@stork.gentoo.org
1 griffon26 08/03/10 19:50:14
2
3 Modified: ChangeLog
4 Added: pymsn-t-0.11.3.ebuild
5 Log:
6 Added net-im/pymsn-t-0.11.3 (bug #212577)
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.11 net-im/pymsn-t/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pymsn-t/ChangeLog?rev=1.11&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pymsn-t/ChangeLog?rev=1.11&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pymsn-t/ChangeLog?r1=1.10&r2=1.11
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-im/pymsn-t/ChangeLog,v
19 retrieving revision 1.10
20 retrieving revision 1.11
21 diff -u -r1.10 -r1.11
22 --- ChangeLog 4 Jun 2007 20:48:44 -0000 1.10
23 +++ ChangeLog 10 Mar 2008 19:50:14 -0000 1.11
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-im/pymsn-t
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-im/pymsn-t/ChangeLog,v 1.10 2007/06/04 20:48:44 griffon26 Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-im/pymsn-t/ChangeLog,v 1.11 2008/03/10 19:50:14 griffon26 Exp $
30 +
31 +*pymsn-t-0.11.3 (10 Mar 2008)
32 +
33 + 10 Mar 2008; Maurice van der Pot <griffon26@g.o>
34 + +pymsn-t-0.11.3.ebuild:
35 + Version bump to 0.11.3.
36
37 04 Jun 2007; Maurice van der Pot <griffon26@g.o>
38 files/pymsn-t-0.11.2-initd:
39
40
41
42 1.1 net-im/pymsn-t/pymsn-t-0.11.3.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pymsn-t/pymsn-t-0.11.3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pymsn-t/pymsn-t-0.11.3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pymsn-t-0.11.3.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-im/pymsn-t/pymsn-t-0.11.3.ebuild,v 1.1 2008/03/10 19:50:14 griffon26 Exp $
52
53 NEED_PYTHON=2.3
54
55 inherit eutils multilib python
56
57 MY_PN="pymsnt"
58 S=${WORKDIR}/${MY_PN}-${PV}
59 DESCRIPTION="Python based jabber transport for MSN"
60 HOMEPAGE="http://msn-transport.jabberstudio.org/"
61 SRC_URI="http://msn-transport.jabberstudio.org/tarballs/${MY_PN}-${PV}.tar.gz"
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86 ~ppc"
65 IUSE=""
66
67 DEPEND="net-im/jabber-base"
68 RDEPEND="${DEPEND}
69 >=dev-python/twisted-2.5.0
70 >=dev-python/twisted-words-0.5.0
71 >=dev-python/twisted-web-0.7.0
72 >=dev-python/imaging-1.1"
73
74 src_install() {
75 local inspath
76
77 python_version
78 inspath=/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
79 insinto ${inspath}
80 doins -r data src
81 newins PyMSNt.py ${PN}.py
82
83 insinto /etc/jabber
84 newins config-example.xml ${PN}.xml
85 fperms 600 /etc/jabber/${PN}.xml
86 fowners jabber:jabber /etc/jabber/${PN}.xml
87 dosed \
88 "s:<!-- <spooldir>[^\<]*</spooldir> -->:<spooldir>/var/spool/jabber</spooldir>:" \
89 /etc/jabber/${PN}.xml
90 dosed \
91 "s:<pid>[^\<]*</pid>:<pid>/var/run/jabber/${PN}.pid</pid>:" \
92 /etc/jabber/${PN}.xml
93 dosed \
94 "s:<host>[^\<]*</host>:<host>example.org</host>:" \
95 /etc/jabber/${PN}.xml
96 dosed \
97 "s:<jid>msn</jid>:<jid>msn.example.org</jid>:" \
98 /etc/jabber/${PN}.xml
99
100 newinitd "${FILESDIR}/${PN}-0.11.2-initd" ${PN}
101 dosed "s:INSPATH:${inspath}:" /etc/init.d/${PN}
102 }
103
104 pkg_postinst() {
105 python_version
106 python_mod_optimize "${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/${PN}"
107
108 elog "A sample configuration file has been installed in /etc/jabber/${PN}.xml."
109 elog "Please edit it and the configuration of your Jabber server to match."
110 }
111
112 pkg_postrm() {
113 python_version
114 python_mod_cleanup "${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/${PN}"
115 }
116
117
118
119 --
120 gentoo-commits@l.g.o mailing list