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 6EEE413835A for ; Mon, 13 Jul 2020 20:05:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6CE7AE08B1; Mon, 13 Jul 2020 20:05:12 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 59936E08B1 for ; Mon, 13 Jul 2020 20:05:12 +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 05BE734F075 for ; Mon, 13 Jul 2020 20:05:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 860B12D3 for ; Mon, 13 Jul 2020 20:05:09 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1594670603.8dfacb0aff98fddab174629593535def3509894e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/irker/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-irc/irker/Manifest net-irc/irker/irker-2.19.ebuild X-VCS-Directories: net-irc/irker/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8dfacb0aff98fddab174629593535def3509894e X-VCS-Branch: master Date: Mon, 13 Jul 2020 20:05:09 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8648e1d0-107f-446c-9d0d-5879957b00ff X-Archives-Hash: 063017c714876b41617df706c14d579a commit: 8dfacb0aff98fddab174629593535def3509894e Author: Sam James gentoo org> AuthorDate: Mon Jul 13 19:59:46 2020 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jul 13 20:03:23 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dfacb0a net-irc/irker: bump to 2.19 Changes: * Add Python 3.7, 3.8 * Drop socks5 use flag - use optfeature instead * Update LICENSE to BSD-2 * Fix systemd service (absolute path) Closes: https://bugs.gentoo.org/730182 Closes: https://bugs.gentoo.org/612448 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Sam James gentoo.org> net-irc/irker/Manifest | 1 + net-irc/irker/irker-2.19.ebuild | 64 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/net-irc/irker/Manifest b/net-irc/irker/Manifest index e49117995b6..acb711d9e3a 100644 --- a/net-irc/irker/Manifest +++ b/net-irc/irker/Manifest @@ -1 +1,2 @@ DIST irker-2.18.tar.gz 44284 BLAKE2B 355d9004c77c7635e5ee068d6521b2d1b8c3e0ae4b0d2fa39e71c16a4ecc2272c5a487dafd296a3d02aa5072c734f454875939b99f66c4321ab2970da78216ef SHA512 215f0ab3be03b615f2bb24e04a5e5f6688634c4fb994b5384106b7f3eae62967ac45b2a14d08eee8dbed886dbb0578e077fa19597db599ea9562a67797f75606 +DIST irker-2.19.tar.gz 44502 BLAKE2B d777ed3b4308dca7f6bb2483bc03ba8ba50a55574da3e4de63138fe88483ae6d3ac46f414a94801d7f27c740e38ddcde494cea4c846fbc59d736441b692747f4 SHA512 7516ebe8adc74902eacc657f0a1d421c285a72f4ce08b84fd93b22635d49ba52acf7aedd03dde9012bc16496be3162bda9fa8486af3df1657af4cabf8719d7c7 diff --git a/net-irc/irker/irker-2.19.ebuild b/net-irc/irker/irker-2.19.ebuild new file mode 100644 index 00000000000..77d10e3ec2f --- /dev/null +++ b/net-irc/irker/irker-2.19.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_REQ_USE="ssl" + +inherit eutils python-single-r1 systemd + +DESCRIPTION="Submission tools for IRC notifications" +HOMEPAGE="http://www.catb.org/esr/irker/ https://gitlab.com/esr/irker" +SRC_URI="http://www.catb.org/esr/${PN}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# Dependency notes: +# NOTE: No pkgconfig dep here because of the systemd sed below +# NOTE: No need for asciidoc here as it's only used for the +# 'release' makefile target. +BDEPEND=" + app-text/docbook-xml-dtd:4.1.2 + app-text/xmlto + ${PYTHON_DEPS} +" +RDEPEND="${PYTHON_DEPS}" + +DOCS=( NEWS README hacking.adoc security.adoc ) +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 +} + +pkg_postinst() { + optfeature "Enable SOCKS5 support" dev-python/PySocks +}