Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/irker/
Date: Tue, 26 Jun 2018 19:22:04
Message-Id: 1530040913.92507eb100e9368ab62e84d5adecc3c35bcc9109.pacho@gentoo
1 commit: 92507eb100e9368ab62e84d5adecc3c35bcc9109
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 26 19:20:47 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 26 19:21:53 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92507eb1
7
8 net-irc/irker: Doesn't work with python3 bug #619700
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 net-irc/irker/irker-2.18-r1.ebuild | 55 ++++++++++++++++++++++++++++++++++++++
13 1 file changed, 55 insertions(+)
14
15 diff --git a/net-irc/irker/irker-2.18-r1.ebuild b/net-irc/irker/irker-2.18-r1.ebuild
16 new file mode 100644
17 index 00000000000..62f36d076cf
18 --- /dev/null
19 +++ b/net-irc/irker/irker-2.18-r1.ebuild
20 @@ -0,0 +1,55 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +PYTHON_COMPAT=( python2_7 ) # Doesn't work with python3 bug #619700
26 +PYTHON_REQ_USE="ssl"
27 +
28 +inherit python-single-r1 systemd
29 +
30 +DESCRIPTION="Submission tools for IRC notifications"
31 +HOMEPAGE="http://www.catb.org/esr/irker/"
32 +SRC_URI="http://www.catb.org/esr/${PN}/${P}.tar.gz"
33 +
34 +LICENSE="BSD"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~arm ~x86"
37 +IUSE="socks5"
38 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
39 +
40 +RDEPEND="${PYTHON_DEPS}"
41 +DEPEND="${RDEPEND}
42 + app-text/docbook-xml-dtd:4.1.2
43 + app-text/xmlto
44 + socks5? ( dev-python/PySocks[${PYTHON_USEDEP}] )"
45 +
46 +DOCS=( NEWS README hacking.txt security.txt )
47 +HTML_DOCS=( irkerd.html irkerhook.html )
48 +
49 +src_prepare() {
50 + default
51 +
52 + # Rely on systemd eclass for systemd service install
53 + sed -i -e "/^SYSTEMDSYSTEMUNITDIR/d" Makefile \
54 + || die "sed failed"
55 +
56 + # Prefix support
57 + sed -i -e "/^ExecStart=/ s:=/:=${EPREFIX}:" irkerd.service \
58 + || die "sed failed"
59 +}
60 +
61 +src_install() {
62 + default
63 +
64 + python_doscript "${ED%/}/usr/bin/irkerd"
65 + # Not installed with the default Makefile
66 + python_doscript irk irkerhook.py
67 +
68 + newinitd "${FILESDIR}/irkerd.initd" irkerd
69 + newconfd "${FILESDIR}/irkerd.confd" irkerd
70 +
71 + systemd_dounit irkerd.service
72 +
73 + docinto examples
74 + dodoc filter-example.py filter-test.py
75 +}