/[gentoo-x86]/net-im/pyicq-t/pyicq-t-0.8.1.5.ebuild
Gentoo

Diff of /net-im/pyicq-t/pyicq-t-0.8.1.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $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 $ 3# $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 $
4 4
5NEED_PYTHON=2.3 5EAPI="3"
6 6
7inherit eutils python 7inherit eutils python
8 8
9MY_P="${P/pyicq-t/pyicqt}" 9MY_P="${P/pyicq-t/pyicqt}"
10 10
23 >=dev-python/twisted-2.2.0 23 >=dev-python/twisted-2.2.0
24 >=dev-python/twisted-words-0.1.0 24 >=dev-python/twisted-words-0.1.0
25 >=dev-python/twisted-web-0.5.0 25 >=dev-python/twisted-web-0.5.0
26 webinterface? ( >=dev-python/nevow-0.4.1 ) 26 webinterface? ( >=dev-python/nevow-0.4.1 )
27 >=dev-python/imaging-1.1" 27 >=dev-python/imaging-1.1"
28
29src_prepare() {
30 epatch "${FILESDIR}/${P}-python26-warnings.diff"
31}
28 32
29src_install() { 33src_install() {
30 local inspath 34 local inspath
31 35
32 inspath=$(python_get_sitedir)/${PN} 36 inspath=$(python_get_sitedir)/${PN}
48 newinitd "${FILESDIR}/${PN}-0.8-initd" ${PN} 52 newinitd "${FILESDIR}/${PN}-0.8-initd" ${PN}
49 dosed "s:INSPATH:${inspath}:" /etc/init.d/${PN} 53 dosed "s:INSPATH:${inspath}:" /etc/init.d/${PN}
50} 54}
51 55
52pkg_postinst() { 56pkg_postinst() {
53 python_mod_optimize $(python_get_sitedir)/${PN} 57 python_mod_optimize ${PN}
54 58
55 elog "A sample configuration file has been installed in /etc/jabber/${PN}.xml." 59 elog "A sample configuration file has been installed in /etc/jabber/${PN}.xml."
56 elog "Please edit it and the configuration of your Jabber server to match." 60 elog "Please edit it and the configuration of your Jabber server to match."
57 61
58 ewarn "If you are storing user accounts in MySQL and are upgrading from a " 62 ewarn "If you are storing user accounts in MySQL and are upgrading from a "
63 elog "These instructions along with a list of new config variables are " 67 elog "These instructions along with a list of new config variables are "
64 elog "available at: http://code.google.com/p/pyicqt/wiki/Upgrade" 68 elog "available at: http://code.google.com/p/pyicqt/wiki/Upgrade"
65} 69}
66 70
67pkg_postrm() { 71pkg_postrm() {
68 python_mod_cleanup $(python_get_sitedir)/${PN} 72 python_mod_cleanup ${PN}
69} 73}

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20