aboutsummaryrefslogtreecommitdiffstats
path: root/net-irc/quarg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--net-irc/quarg/Manifest3
-rw-r--r--net-irc/quarg/quarg-1.0.0-r1.ebuild (renamed from net-irc/quarg/quarg-1.0.0.ebuild)26
2 files changed, 24 insertions, 5 deletions
diff --git a/net-irc/quarg/Manifest b/net-irc/quarg/Manifest
index ad19287..c3e0bbe 100644
--- a/net-irc/quarg/Manifest
+++ b/net-irc/quarg/Manifest
@@ -1,3 +1,4 @@
+DIST quarg-1.0.0.sha.sig 239 BLAKE2B f303317f1fa0b7b96174484d2eb01fe5b886693fac0af3fa78ad20ae6cf92ff00bae1f6fddf64109bdfe8d6d75e6bb8e13403376b3a5fcd70d64699029c92b2c SHA512 2cb0ee693c5a95f87d3fd0079dc84f64b48f1d7a87da5d3f7c960021ce353353e2dae35bf33e57389163fe5bbd07857dc6553ac0450eb02a19c67801eeb08e58
DIST quarg-1.0.0.tar.gz 22450 BLAKE2B dd63965c39121e6a4bb617461adb2546a11ebb691352db10e8fbce74a859fc8b6029ec807d8cdf59097c46c940fe4b7ed9040bec3ea90e13cd061fbc6b08337b SHA512 5dd8f9a41ffae31e6078cb2aac5a314f0d1b68aa9b10e4161e1d4a7241c31d4ae2cf890a32397f9cc7fab80c0564f12c1a43cc23aaf459c7603884801161de98
-EBUILD quarg-1.0.0.ebuild 716 BLAKE2B 2af3e196a0e4908d4e55a32784ea92e8fbd669e3579ca4533b0047f34d4c27e3ee50a484d2bd77b935e99816dfb1f37e681112f456c3c39cb23219a3088561f7 SHA512 5a7332987d7f8b9f539acb8407bcabf522b165a5e19434421d585cd5a44f355265e32dc01e9beec7b7a2c4510e1d1c7f34738ee81e90f4f2da2dcf2b1f9ade08
+EBUILD quarg-1.0.0-r1.ebuild 1128 BLAKE2B cf2503f4e810a9c5e20e665ad77d5d161c8d44c4da7b06c3150a762c90d5fc554f435af20c22714baac5d3ebfe63edf46fa312247c38b20e96417cc526f9ffc9 SHA512 1bd71e7fdf82ce2364cffffeb6f946a03f198b9df0495ca43bc55888b07f07183848ea993978feec76efa97c5ceeecc0561d8eceaf843066743b6618bba0c640
MISC metadata.xml 219 BLAKE2B 4017e2b1f6b36f72c186cfeb0955be57076a02d087acfd6caf9b9ec56509b5299be8d40dddaffd04433bb290f6dd35c94c59ac02a4f1ad7e63b13648e465e594 SHA512 555d3bce3f8cd9b4d78f59f494c326d7893f12c1907c1eb92107595886fc4a5e89b8b9fda7f434e021a9eede5dfd6d0c1dfee721c268ccad3d6a1865a92204e0
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