From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1717700-garchives=archives.gentoo.org@lists.gentoo.org>
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 finch.gentoo.org (Postfix) with ESMTPS id B97D81582EF
	for <garchives@archives.gentoo.org>; Fri, 14 Feb 2025 08:19:32 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 9BE73343176
	for <garchives@archives.gentoo.org>; Fri, 14 Feb 2025 08:19:32 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id 6667311042D;
	Fri, 14 Feb 2025 08:19:31 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id 5A55111042D
	for <gentoo-commits@lists.gentoo.org>; Fri, 14 Feb 2025 08:19:31 +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) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 09B0E343176
	for <gentoo-commits@lists.gentoo.org>; Fri, 14 Feb 2025 08:19:31 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 5FA8A2654
	for <gentoo-commits@lists.gentoo.org>; Fri, 14 Feb 2025 08:19:29 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1739521137.7bcd785c702d44da99aa49d1db38b36dd48281dc.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/highlight/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-text/highlight/highlight-4.12.ebuild app-text/highlight/highlight-4.9.ebuild
X-VCS-Directories: app-text/highlight/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 7bcd785c702d44da99aa49d1db38b36dd48281dc
X-VCS-Branch: master
Date: Fri, 14 Feb 2025 08:19:29 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: fc2e120f-852f-40a8-b820-b950eddaf593
X-Archives-Hash: 5ebc54bd1a652b989ccf2869dac686c1

commit:     7bcd785c702d44da99aa49d1db38b36dd48281dc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 08:18:34 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 14 08:18:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bcd785c

app-text/highlight: fix USE=verify-sig w/ tests

The tests tarball is fished out of VCS so isn't signed. Only try
to verify the source tarball.

Closes: https://bugs.gentoo.org/930364
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/highlight/highlight-4.12.ebuild |  9 +++++++++
 app-text/highlight/highlight-4.9.ebuild  | 12 +++++++++++-
 2 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/app-text/highlight/highlight-4.12.ebuild b/app-text/highlight/highlight-4.12.ebuild
index 9536ec876b81..3927f1c60a44 100644
--- a/app-text/highlight/highlight-4.12.ebuild
+++ b/app-text/highlight/highlight-4.12.ebuild
@@ -53,6 +53,15 @@ myhlopts=(
 	examples_dir="${EPREFIX}/usr/share/doc/${PF}/extras"
 )
 
+src_unpack() {
+	if use verify-sig ; then
+		# Needed because the testsuite tarball is unsigned
+		verify-sig_verify_detached "${DISTDIR}"/${P}.tar.bz2{,.asc}
+	fi
+
+	default
+}
+
 src_prepare() {
 	default
 

diff --git a/app-text/highlight/highlight-4.9.ebuild b/app-text/highlight/highlight-4.9.ebuild
index b88539dc9842..118990f95d93 100644
--- a/app-text/highlight/highlight-4.9.ebuild
+++ b/app-text/highlight/highlight-4.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -61,6 +61,16 @@ myhlopts=(
 	examples_dir="${EPREFIX}/usr/share/doc/${PF}/extras"
 )
 
+
+src_unpack() {
+	if use verify-sig ; then
+		# Needed because the testsuite tarball is unsigned
+		verify-sig_verify_detached "${DISTDIR}"/${P}.tar.bz2{,.asc}
+	fi
+
+	default
+}
+
 src_prepare() {
 	default