Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 315117 | Differences between
and this patch

Collapse All | Expand All

(-)pymsn-t.orig/pymsn-t-0.11.3-r3.ebuild (-1 / +9 lines)
Lines 3-9 Link Here
3
# $Header: /var/cvsroot/gentoo-x86/net-im/pymsn-t/pymsn-t-0.11.3-r3.ebuild,v 1.3 2011/10/09 13:50:51 hwoarang Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-im/pymsn-t/pymsn-t-0.11.3-r3.ebuild,v 1.3 2011/10/09 13:50:51 hwoarang Exp $
4
4
5
EAPI="3"
5
EAPI="3"
6
6
PYTHON_DEPEND="2"
7
inherit eutils multilib python
7
inherit eutils multilib python
8
8
9
MY_PN="pymsnt"
9
MY_PN="pymsnt"
Lines 23-28 Link Here
23
	>=dev-python/twisted-web-0.7.0
23
	>=dev-python/twisted-web-0.7.0
24
	>=dev-python/imaging-1.1"
24
	>=dev-python/imaging-1.1"
25
25
26
pkg_setup() {
27
	python_set_active_version 2
28
	python_pkg_setup
29
}
30
26
src_prepare() {
31
src_prepare() {
27
	epatch "${FILESDIR}/${P}-protocol-version.patch"
32
	epatch "${FILESDIR}/${P}-protocol-version.patch"
28
	epatch "${FILESDIR}/${P}-unexpected-xfr.patch"
33
	epatch "${FILESDIR}/${P}-unexpected-xfr.patch"
Lines 42-47 Link Here
42
	insinto /etc/jabber
47
	insinto /etc/jabber
43
	newins config-example.xml ${PN}.xml
48
	newins config-example.xml ${PN}.xml
44
	fperms 600 /etc/jabber/${PN}.xml
49
	fperms 600 /etc/jabber/${PN}.xml
50
	fperms 755 $(python_get_sitedir)/${PN}/pymsn-t.py || die
45
	fowners jabber:jabber /etc/jabber/${PN}.xml
51
	fowners jabber:jabber /etc/jabber/${PN}.xml
46
	dosed \
52
	dosed \
47
		"s:<!-- <spooldir>[^\<]*</spooldir> -->:<spooldir>/var/spool/jabber</spooldir>:" \
53
		"s:<!-- <spooldir>[^\<]*</spooldir> -->:<spooldir>/var/spool/jabber</spooldir>:" \
Lines 58-63 Link Here
58
64
59
	newinitd "${FILESDIR}/${PN}-initd" ${PN}
65
	newinitd "${FILESDIR}/${PN}-initd" ${PN}
60
	dosed "s:INSPATH:${inspath}:" /etc/init.d/${PN}
66
	dosed "s:INSPATH:${inspath}:" /etc/init.d/${PN}
67
	dosed "s: /usr/bin/python::" /etc/init.d/${PN}
68
	python_convert_shebangs 2 ${ED}$(python_get_sitedir)/pymsn-t/pymsn-t.py
61
}
69
}
62
70
63
pkg_postinst() {
71
pkg_postinst() {

Return to bug 315117