summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-02 17:46:37 +0000
committerSam James <sam@gentoo.org>2022-07-02 17:48:30 +0000
commitfb4a580e44e0cae0f28f040eeef1c4c8a773b497 (patch)
tree3718bee5d7726a9abeface54957f44def42d21a0 /net-irc
parentdev-python/absl-py: Remove old (diff)
downloadgentoo-fb4a580e44e0cae0f28f040eeef1c4c8a773b497.tar.gz
gentoo-fb4a580e44e0cae0f28f040eeef1c4c8a773b497.tar.bz2
gentoo-fb4a580e44e0cae0f28f040eeef1c4c8a773b497.zip
Revert "net-irc/irker: drop 2.21"
This reverts commit 99e39aedb12a6ca9f81ad0b8048ae7898a7fee6e. 2.22 is broken! Bug: https://gitlab.com/esr/irker/-/merge_requests/29 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/irker/Manifest1
-rw-r--r--net-irc/irker/irker-2.21.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/net-irc/irker/Manifest b/net-irc/irker/Manifest
index b6e57c0a76b8..08b849a980a8 100644
--- a/net-irc/irker/Manifest
+++ b/net-irc/irker/Manifest
@@ -1 +1,2 @@
+DIST irker-2.21.tar.gz 45563 BLAKE2B d2bb9ee1c33640c049919a0d0ec92cd01dbd9fd086120123b5344f44180dbd94d6b0beb56387968f6feaf526b8a11300d415d87b3243bcd2d5c1fa5c8d4aaa5d SHA512 d90922abd61fef13d8030ce666a32fd79e17812f06517796c933d62a9b7cd814bdbeb3de11357ca1766bbffafb0379f0a8b2f288a2be58fa6be82cc764e0b225
DIST irker-2.22.tar.gz 46037 BLAKE2B fbd9deaaa5cc509989b15d16d733bec351b7b2ab9d3bedd8b20713ba110755a43ccb91b1482a6deb0f71497b3b1d6f8ed5faae395c06c33ac4c9ea7da30d2726 SHA512 a3f2ebe113e4fcb4589c31a44c157bc0f91e8792fd7819e9f350fd25847669d2cb3fcd51cc0e09ef352952c5175f8b4eb56ac9969f0bff1544e28268728f0595
diff --git a/net-irc/irker/irker-2.21.ebuild b/net-irc/irker/irker-2.21.ebuild
new file mode 100644
index 000000000000..87717d39727a
--- /dev/null
+++ b/net-irc/irker/irker-2.21.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+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 ppc ppc64 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.
+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 "SOCKS5 proxy support" dev-python/PySocks
+}