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

Collapse All | Expand All

(-)net-irc/irker/irker-1.20.ebuild (-8 / +36 lines)
Lines 2-28 Link Here
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-irc/irker/irker-1.20.ebuild,v 1.1 2013/05/22 03:40:55 patrick Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-irc/irker/irker-1.20.ebuild,v 1.1 2013/05/22 03:40:55 patrick Exp $
4
4
5
EAPI=4
5
EAPI=5
6
PYTHON_COMPAT=( python{2_7,2_6} )
6
7
7
inherit python
8
inherit python-single-r1 systemd eutils
8
9
9
DESCRIPTION="Submission tools for IRC notifications"
10
DESCRIPTION="Submission tools for IRC notifications"
10
HOMEPAGE="http://www.catb.org/esr/irker/"
11
HOMEPAGE="http://www.catb.org/esr/irker/"
11
SRC_URI="http://www.catb.org/esr/${PN}/${P}.tar.gz"
12
SRC_URI="http://www.catb.org/esr/${PN}/${P}.tar.gz"
13
12
LICENSE="BSD"
14
LICENSE="BSD"
13
SLOT="0"
15
SLOT="0"
14
KEYWORDS="~amd64 ~x86"
16
KEYWORDS="~amd64 ~x86"
15
IUSE=""
17
IUSE=""
18
16
DEPEND="app-text/docbook-xml-dtd:4.1.2
19
DEPEND="app-text/docbook-xml-dtd:4.1.2
17
	app-text/xmlto"
20
	app-text/xmlto"
18
RDEPEND="=dev-lang/python-2*
21
RDEPEND="=dev-lang/python-2*
19
	dev-python/irc"
22
	dev-python/irc"
20
23
24
src_prepare() {
25
	# https://gitorious.org/irker/irker/merge_requests/25
26
	epatch "${FILESDIR}/0001-Register-author_name-as-author-instead-of-email-user.patch"
27
	# https://gitorious.org/irker/irker/merge_requests/23
28
	epatch "${FILESDIR}/0002-Fixed-utf-8-handling-in-metadata.patch"
29
	# https://gitorious.org/irker/irker/merge_requests/24
30
	epatch "${FILESDIR}/0003-Git-Fixed-presentation-of-branches-containing-front-.patch"
31
32
	# Rely on systemd eclass for systemd service install
33
	sed -i -e "/^SYSTEMDSYSTEMUNITDIR/d" Makefile
34
35
	# Prefix support
36
	sed -i -e "/^ExecStart=/ s:=/:=${EROOT}:" irkerd.service
37
}
38
21
src_install() {
39
src_install() {
22
	python_convert_shebangs 2 irkerd irkerhook.py
40
	emake DESTDIR="${ED}" install
23
	emake DESTDIR="${D}" install
41
24
	# the irkerhook.py is not installed with the default makefile
42
	python_doscript "${ED}/usr/bin/irkerd"
25
	dobin irkerhook.py
43
	# Not installed with the default Makefile
26
	newinitd "${FILESDIR}/irker.init" irkerd
44
	python_doscript irk irkerhook.py
27
	newconfd "${FILESDIR}/irker.conf.d" irkerd
45
46
	newinitd "${FILESDIR}/irkerd.initd" irkerd
47
	newconfd "${FILESDIR}/irkerd.confd" irkerd
48
49
	systemd_dounit irkerd.service
50
51
	dodoc NEWS README hacking.txt security.txt
52
	dohtml irkerd.html irkerhook.html
53
54
	docinto examples
55
	dodoc filter-example.py filter-test.py
28
}
56
}

Return to bug 438240