1 |
hanno 10/07/02 00:09:27 |
2 |
|
3 |
Modified: ChangeLog pyicq-t-0.8.1.5.ebuild |
4 |
Log: |
5 |
pyicq-t: patch for python 2.6 deprecatoin warnings |
6 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.20 net-im/pyicq-t/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pyicq-t/ChangeLog?rev=1.20&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pyicq-t/ChangeLog?rev=1.20&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pyicq-t/ChangeLog?r1=1.19&r2=1.20 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/net-im/pyicq-t/ChangeLog,v |
18 |
retrieving revision 1.19 |
19 |
retrieving revision 1.20 |
20 |
diff -u -r1.19 -r1.20 |
21 |
--- ChangeLog 23 Apr 2010 19:56:48 -0000 1.19 |
22 |
+++ ChangeLog 2 Jul 2010 00:09:27 -0000 1.20 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for net-im/pyicq-t |
25 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/net-im/pyicq-t/ChangeLog,v 1.19 2010/04/23 19:56:48 arfrever Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/net-im/pyicq-t/ChangeLog,v 1.20 2010/07/02 00:09:27 hanno Exp $ |
28 |
+ |
29 |
+ 02 Jul 2010; Hanno Boeck <hanno@g.o> pyicq-t-0.8.1.5.ebuild, |
30 |
+ +files/pyicq-t-0.8.1.5-python26-warnings.diff: |
31 |
+ Fix deprecation warnings with python 2.6. |
32 |
|
33 |
23 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
34 |
pyicq-t-0.8.1.5.ebuild: |
35 |
|
36 |
|
37 |
|
38 |
1.4 net-im/pyicq-t/pyicq-t-0.8.1.5.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pyicq-t/pyicq-t-0.8.1.5.ebuild?rev=1.4&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pyicq-t/pyicq-t-0.8.1.5.ebuild?rev=1.4&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pyicq-t/pyicq-t-0.8.1.5.ebuild?r1=1.3&r2=1.4 |
43 |
|
44 |
Index: pyicq-t-0.8.1.5.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/net-im/pyicq-t/pyicq-t-0.8.1.5.ebuild,v |
47 |
retrieving revision 1.3 |
48 |
retrieving revision 1.4 |
49 |
diff -u -r1.3 -r1.4 |
50 |
--- pyicq-t-0.8.1.5.ebuild 23 Apr 2010 19:56:48 -0000 1.3 |
51 |
+++ pyicq-t-0.8.1.5.ebuild 2 Jul 2010 00:09:27 -0000 1.4 |
52 |
@@ -1,8 +1,8 @@ |
53 |
# Copyright 1999-2010 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/net-im/pyicq-t/pyicq-t-0.8.1.5.ebuild,v 1.3 2010/04/23 19:56:48 arfrever Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/net-im/pyicq-t/pyicq-t-0.8.1.5.ebuild,v 1.4 2010/07/02 00:09:27 hanno Exp $ |
57 |
|
58 |
-NEED_PYTHON=2.3 |
59 |
+EAPI="3" |
60 |
|
61 |
inherit eutils python |
62 |
|
63 |
@@ -26,6 +26,10 @@ |
64 |
webinterface? ( >=dev-python/nevow-0.4.1 ) |
65 |
>=dev-python/imaging-1.1" |
66 |
|
67 |
+src_prepare() { |
68 |
+ epatch "${FILESDIR}/${P}-python26-warnings.diff" |
69 |
+} |
70 |
+ |
71 |
src_install() { |
72 |
local inspath |
73 |
|
74 |
@@ -50,7 +54,7 @@ |
75 |
} |
76 |
|
77 |
pkg_postinst() { |
78 |
- python_mod_optimize $(python_get_sitedir)/${PN} |
79 |
+ python_mod_optimize ${PN} |
80 |
|
81 |
elog "A sample configuration file has been installed in /etc/jabber/${PN}.xml." |
82 |
elog "Please edit it and the configuration of your Jabber server to match." |
83 |
@@ -65,5 +69,5 @@ |
84 |
} |
85 |
|
86 |
pkg_postrm() { |
87 |
- python_mod_cleanup $(python_get_sitedir)/${PN} |
88 |
+ python_mod_cleanup ${PN} |
89 |
} |