From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A47D0138334 for ; Tue, 26 Jun 2018 19:22:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E6C6AE0970; Tue, 26 Jun 2018 19:22:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9C186E0970 for ; Tue, 26 Jun 2018 19:22:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 16480335CB3 for ; Tue, 26 Jun 2018 19:22:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9301F34B for ; Tue, 26 Jun 2018 19:21:58 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1530040913.92507eb100e9368ab62e84d5adecc3c35bcc9109.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/irker/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-irc/irker/irker-2.18-r1.ebuild X-VCS-Directories: net-irc/irker/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 92507eb100e9368ab62e84d5adecc3c35bcc9109 X-VCS-Branch: master Date: Tue, 26 Jun 2018 19:21:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ce61595d-79d0-40f7-bfb5-95efc2847935 X-Archives-Hash: c705fa25783767edf43ea08cd60d56fd commit: 92507eb100e9368ab62e84d5adecc3c35bcc9109 Author: Pacho Ramos gentoo org> AuthorDate: Tue Jun 26 19:20:47 2018 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Tue Jun 26 19:21:53 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92507eb1 net-irc/irker: Doesn't work with python3 bug #619700 Package-Manager: Portage-2.3.40, Repoman-2.3.9 net-irc/irker/irker-2.18-r1.ebuild | 55 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/net-irc/irker/irker-2.18-r1.ebuild b/net-irc/irker/irker-2.18-r1.ebuild new file mode 100644 index 00000000000..62f36d076cf --- /dev/null +++ b/net-irc/irker/irker-2.18-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) # Doesn't work with python3 bug #619700 +PYTHON_REQ_USE="ssl" + +inherit python-single-r1 systemd + +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 ~arm ~x86" +IUSE="socks5" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS}" +DEPEND="${RDEPEND} + app-text/docbook-xml-dtd:4.1.2 + app-text/xmlto + socks5? ( dev-python/PySocks[${PYTHON_USEDEP}] )" + +DOCS=( NEWS README hacking.txt security.txt ) +HTML_DOCS=( irkerd.html irkerhook.html ) + +src_prepare() { + default + + # Rely on systemd eclass for systemd service install + sed -i -e "/^SYSTEMDSYSTEMUNITDIR/d" Makefile \ + || die "sed failed" + + # Prefix support + sed -i -e "/^ExecStart=/ s:=/:=${EPREFIX}:" irkerd.service \ + || die "sed failed" +} + +src_install() { + default + + 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 + + docinto examples + dodoc filter-example.py filter-test.py +}