aboutsummaryrefslogtreecommitdiffstats
path: root/net-irc/quarg/quarg-1.0.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--net-irc/quarg/quarg-1.0.0-r1.ebuild (renamed from net-irc/quarg/quarg-1.0.0.ebuild)26
1 files changed, 22 insertions, 4 deletions
diff --git a/net-irc/quarg/quarg-1.0.0.ebuild b/net-irc/quarg/quarg-1.0.0-r1.ebuild
index 3e547c6..1bef5ee 100644
--- a/net-irc/quarg/quarg-1.0.0.ebuild
+++ b/net-irc/quarg/quarg-1.0.0-r1.ebuild
@@ -1,16 +1,23 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
PYTHON_COMPAT=( python3_{11,12} )
DISTUTILS_USE_PEP517=poetry
-inherit distutils-r1
+
+VERIFY_SIG_METHOD="signify"
+inherit distutils-r1 verify-sig
DESCRIPTION="Search Quassel logs for matching messages and print them"
HOMEPAGE="https://git.oriole.systems/quarg"
-
-SRC_URI="https://git.oriole.systems/quarg/snapshot/${P}.tar.gz"
+SRC_URI="
+ https://git.oriole.systems/${PN}/snapshot/${P}.tar.gz
+ verify-sig? (
+ https://git.oriole.systems/${PN}/snapshot/${P}.tar.gz.asc
+ -> ${P}.sha.sig
+ )
+"
KEYWORDS="amd64 x86"
RESTRICT="mirror test"
@@ -27,6 +34,17 @@ RDEPEND="${PYTHON_DEPS}
DEPEND="${RDEPEND}"
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/signify-keys/oriole-systems-20240330.pub"
+
+src_unpack() {
+ if use verify-sig; then
+ cp "${DISTDIR}"/${P}.{sha.sig,tar.gz} "${WORKDIR}" || die
+ verify-sig_verify_signed_checksums \
+ ${P}.sha.sig sha256 ${P}.tar.gz
+ fi
+ default
+}
+
python_install_all() {
default