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

Collapse All | Expand All

(-)a/net-irc/irker/irker-2.12.ebuild (-11 / +19 lines)
Lines 1-15 Link Here
1
# Copyright 1999-2014 Gentoo Foundation
1
# Copyright 1999-2015 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-irc/irker/irker-2.12.ebuild,v 1.2 2014/11/28 13:32:07 pacho 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=5
5
EAPI=5
6
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
6
PYTHON_COMPAT=( python2_7 )
7
PYTHON_REQ_USE="ssl"
7
PYTHON_REQ_USE="ssl"
8
8
9
inherit python-single-r1 eutils
9
inherit python-r1 systemd eutils
10
10
11
DESCRIPTION="Submission tools for IRC notifications"
11
DESCRIPTION="Submission tools for IRC notifications"
12
HOMEPAGE="http://www.catb.org/esr/irker/"
12
HOMEPAGE="http://www.catb.org/esr/irker"
13
SRC_URI="http://www.catb.org/esr/${PN}/${P}.tar.gz"
13
SRC_URI="http://www.catb.org/esr/${PN}/${P}.tar.gz"
14
14
15
LICENSE="BSD"
15
LICENSE="BSD"
Lines 22-45 DEPEND="app-text/docbook-xml-dtd:4.1.2 Link Here
22
22
23
src_prepare() {
23
src_prepare() {
24
	# https://gitorious.org/irker/irker/merge_requests/25
24
	# https://gitorious.org/irker/irker/merge_requests/25
25
	epatch "${FILESDIR}/2.7-Register-author_name-as-author-instead-of-email-user.patch"
25
	epatch "${FILESDIR}/${PV}-irkerhook-Register-author_name-as-author-instead-of-.patch"
26
	epatch "${FILESDIR}/${PV}-irkerhook-Remove-file-listing.patch"
26
27
27
	epatch "${FILESDIR}/2.7-irkerhook-Remove-file-listing.patch"
28
	# Rely on systemd eclass for systemd service install
29
	sed -i -e "/^SYSTEMDSYSTEMUNITDIR/d" Makefile
28
30
29
	# Prefix support
31
	# Prefix support
30
	sed -i -e "/^ExecStart=/ s:=/:=${EROOT}:" irkerd.service
32
	sed -i -e "/^ExecStart=/ s:=/:=${EROOT}:" irkerd.service
31
}
33
}
32
34
33
src_install() {
35
src_install() {
34
	emake DESTDIR="${ED}" install
36
	python_install () {
37
		emake DESTDIR="${ED}" install
35
38
36
	python_doscript "${ED}/usr/bin/irkerd"
39
		python_doscript "${ED}/usr/bin/irkerd"
37
	# Not installed with the default Makefile
40
		# Not installed with the default Makefile
38
	python_doscript irk irkerhook.py
41
		python_doscript irk irkerhook.py
42
	}
43
44
	python_foreach_impl python_install
39
45
40
	newinitd "${FILESDIR}/irkerd.initd" irkerd
46
	newinitd "${FILESDIR}/irkerd.initd" irkerd
41
	newconfd "${FILESDIR}/irkerd.confd" irkerd
47
	newconfd "${FILESDIR}/irkerd.confd" irkerd
42
48
49
	systemd_dounit irkerd.service
50
43
	dodoc NEWS README hacking.txt security.txt
51
	dodoc NEWS README hacking.txt security.txt
44
	dohtml irkerd.html irkerhook.html
52
	dohtml irkerd.html irkerhook.html
45
53

Return to bug 538718