summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2016-02-21 19:58:50 +0000
committerPatrice Clement <monsieurp@gentoo.org>2016-03-09 17:13:49 +0000
commit4b6c5c8bc94fdcfd510017e168d6d3c3b06816f1 (patch)
tree79eb099487987f211422c2268da8cedff1972245 /net-irc/irker/irker-2.16.ebuild
parentnet-irc/irker: Default logging is now syslog instead of file (diff)
downloadgentoo-4b6c5c8bc94fdcfd510017e168d6d3c3b06816f1.tar.gz
gentoo-4b6c5c8bc94fdcfd510017e168d6d3c3b06816f1.tar.bz2
gentoo-4b6c5c8bc94fdcfd510017e168d6d3c3b06816f1.zip
net-irc/irker: Version bump
irker now suports python3. See-Also: https://gitlab.com/esr/irker/commit/9311a6d7b6c1522f338f010d3e1a6b741c031325 This series of commits closes #896. Pull-Request: https://github.com/gentoo/gentoo/pull/896 Acked-by: Patrick Lauer <patrick@gentoo.org> Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Package-Manager: portage-2.2.26
Diffstat (limited to 'net-irc/irker/irker-2.16.ebuild')
-rw-r--r--net-irc/irker/irker-2.16.ebuild55
1 files changed, 55 insertions, 0 deletions
diff --git a/net-irc/irker/irker-2.16.ebuild b/net-irc/irker/irker-2.16.ebuild
new file mode 100644
index 000000000000..762c4ccb8c0d
--- /dev/null
+++ b/net-irc/irker/irker-2.16.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_REQ_USE="ssl"
+
+inherit python-single-r1 systemd eutils
+
+DESCRIPTION="Submission tools for IRC notifications"
+HOMEPAGE="http://www.catb.org/esr/irker/"
+SRC_URI="http://www.catb.org/esr/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-text/docbook-xml-dtd:4.1.2
+ app-text/xmlto"
+
+src_prepare() {
+ # https://gitorious.org/irker/irker/merge_requests/25
+ epatch "${FILESDIR}/2.7-Register-author_name-as-author-instead-of-email-user.patch"
+
+ epatch "${FILESDIR}/2.7-irkerhook-Remove-file-listing.patch"
+
+ # Rely on systemd eclass for systemd service install
+ sed -i -e "/^SYSTEMDSYSTEMUNITDIR/d" Makefile \
+ || die "sed failed"
+
+ # Prefix support
+ sed -i -e "/^ExecStart=/ s:=/:=${EROOT}:" irkerd.service \
+ || die "sed failed"
+}
+
+src_install() {
+ emake DESTDIR="${ED}" install
+
+ python_doscript "${ED}/usr/bin/irkerd"
+ # Not installed with the default Makefile
+ python_doscript irk irkerhook.py
+
+ newinitd "${FILESDIR}/irkerd.initd" irkerd
+ newconfd "${FILESDIR}/irkerd.confd" irkerd
+
+ systemd_dounit irkerd.service
+
+ dodoc NEWS README hacking.txt security.txt
+ dohtml irkerd.html irkerhook.html
+
+ docinto examples
+ dodoc filter-example.py filter-test.py
+}