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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 31718158041 for ; Wed, 21 Feb 2024 10:17:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B885BE29BC; Wed, 21 Feb 2024 10:17:46 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9865FE29BC for ; Wed, 21 Feb 2024 10:17:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AD4F13431CF for ; Wed, 21 Feb 2024 10:17:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9747514D3 for ; Wed, 21 Feb 2024 10:17:42 +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: <1708509737.0e01970acfe3cdec3e875fd0ae9245e0620cb184.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.24.ebuild X-VCS-Directories: net-irc/irker/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0e01970acfe3cdec3e875fd0ae9245e0620cb184 X-VCS-Branch: master Date: Wed, 21 Feb 2024 10:17:42 +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: ad15a3a3-6ef4-4512-8b42-ce8836772749 X-Archives-Hash: 49854deda150130fa53431931a4b7966 commit: 0e01970acfe3cdec3e875fd0ae9245e0620cb184 Author: Sam James gentoo org> AuthorDate: Wed Feb 21 09:48:43 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Feb 21 10:02:17 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e01970a net-irc/irker: add 2.24 Signed-off-by: Sam James gentoo.org> net-irc/irker/Manifest | 1 + net-irc/irker/irker-2.24.ebuild | 62 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/net-irc/irker/Manifest b/net-irc/irker/Manifest index 24bcade25fcc..4a9db7b276f7 100644 --- a/net-irc/irker/Manifest +++ b/net-irc/irker/Manifest @@ -1 +1,2 @@ DIST irker-2.23.tar.gz 45889 BLAKE2B 5e0039f83783f994083321da8a5f65aace8769a7aaa45d4d9111c604b563f997b17bfe80e30e123559beaab9147de2e2ff3f98588632151af4d1ab0f1cdfa71e SHA512 f812ed81906c13d8b1b2e3cd86b36fdd8a8d6961eb2bc163b2c309908b8469409e087b4fa36637eb9588773f494ff309e2540b1f8ddfc3eec37aa2e3443357a3 +DIST irker-2.24.tar.gz 45728 BLAKE2B e1db85ea21163eb831cdfc9c9961bd77377890caef5af60d979c6fdc523c7b3680af6b1ce2e36bfda620e1785067381e1ac4ffb96e47314cac68be6014885f78 SHA512 a4f686c05c8018be8caf480d6e0d368042f82905cd4d67ede4a6cb0ff65a067d25116f68c3d3ea849db6f15a8f88c48ef2a314fa92a96bce38796a2b236b4a43 diff --git a/net-irc/irker/irker-2.24.ebuild b/net-irc/irker/irker-2.24.ebuild new file mode 100644 index 000000000000..b38f087cadbc --- /dev/null +++ b/net-irc/irker/irker-2.24.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="ssl" + +inherit optfeature 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 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~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. +RDEPEND="${PYTHON_DEPS}" +BDEPEND=" + app-text/docbook-xml-dtd:4.1.2 + app-text/xmlto + ${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 -e "s|@EPREFIX@|${EPREFIX}|" "${FILESDIR}"/irkerd.service > "${WORKDIR}"/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 "${WORKDIR}"/irkerd.service + + docinto examples + dodoc filter-example.py filter-test.py +} + +pkg_postinst() { + optfeature "SOCKS5 proxy support" dev-python/PySocks +}