summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-09-21 03:53:48 +0100
committerSam James <sam@gentoo.org>2021-09-21 03:55:16 +0100
commit9b2ae5eef61816673e1055a3f3378c6377804fa4 (patch)
tree3d561368190eebf576c9e7bf241fbaea3a67ce7e /net-irc
parentapp-portage/recover-broken-vdb: add sys-apps/file RDEPEND (diff)
downloadgentoo-9b2ae5eef61816673e1055a3f3378c6377804fa4.tar.gz
gentoo-9b2ae5eef61816673e1055a3f3378c6377804fa4.tar.bz2
gentoo-9b2ae5eef61816673e1055a3f3378c6377804fa4.zip
net-irc/irker: add 2.20
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.20.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/net-irc/irker/Manifest b/net-irc/irker/Manifest
index 4b8b5f10205b..37895450a1c5 100644
--- a/net-irc/irker/Manifest
+++ b/net-irc/irker/Manifest
@@ -1 +1,2 @@
DIST irker-2.19.tar.gz 44502 BLAKE2B d777ed3b4308dca7f6bb2483bc03ba8ba50a55574da3e4de63138fe88483ae6d3ac46f414a94801d7f27c740e38ddcde494cea4c846fbc59d736441b692747f4 SHA512 7516ebe8adc74902eacc657f0a1d421c285a72f4ce08b84fd93b22635d49ba52acf7aedd03dde9012bc16496be3162bda9fa8486af3df1657af4cabf8719d7c7
+DIST irker-2.20.tar.gz 44949 BLAKE2B 9771059b4af86406233708c6b27f082842dc9269ef14b991391524da382cb389c3d09e119ecef8b278e375bbc4fe5c168a2dfe4220b2be5db09c8891b380b8c0 SHA512 291086cc1d9342c9dca0c3c7f00c1d3a4e33528cc188c21fbee5236df33c38fafb81e9898778b4c68b3a8609bdf5588be2a186e67e1bdaa7c6a0937730006f0d
diff --git a/net-irc/irker/irker-2.20.ebuild b/net-irc/irker/irker-2.20.ebuild
new file mode 100644
index 000000000000..3f3fae0dfee1
--- /dev/null
+++ b/net-irc/irker/irker-2.20.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8,9,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
+}