From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1513387-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id EBEA515ACFC
	for <garchives@archives.gentoo.org>; Sun, 30 Apr 2023 23:50:10 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E1BD4E084A;
	Sun, 30 Apr 2023 23:50:09 +0000 (UTC)
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) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C2DBEE084A
	for <gentoo-commits@lists.gentoo.org>; Sun, 30 Apr 2023 23:50:09 +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 C03FD341123
	for <gentoo-commits@lists.gentoo.org>; Sun, 30 Apr 2023 23:50:08 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B8C9A4B
	for <gentoo-commits@lists.gentoo.org>; Sun, 30 Apr 2023 23:50:07 +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: <1682898552.7e725757dfb1309aa2d4924d52f1e7f826cfacfa.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/libabigail/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-util/libabigail/libabigail-2.3-r1.ebuild dev-util/libabigail/libabigail-2.3-r2.ebuild dev-util/libabigail/libabigail-9999.ebuild
X-VCS-Directories: dev-util/libabigail/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 7e725757dfb1309aa2d4924d52f1e7f826cfacfa
X-VCS-Branch: master
Date: Sun, 30 Apr 2023 23:50:07 +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: 2540f3a2-da7f-4994-a65a-e4f49d525de7
X-Archives-Hash: 1e69b1eca14b44877dabf2cc7a37edb9

commit:     7e725757dfb1309aa2d4924d52f1e7f826cfacfa
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 30 08:09:56 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 30 23:49:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e725757

dev-util/libabigail: make assertions optional; don't attempt to use valgrind in tests

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{libabigail-2.3-r1.ebuild => libabigail-2.3-r2.ebuild}           | 5 ++++-
 dev-util/libabigail/libabigail-9999.ebuild                           | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-util/libabigail/libabigail-2.3-r1.ebuild b/dev-util/libabigail/libabigail-2.3-r2.ebuild
similarity index 95%
rename from dev-util/libabigail/libabigail-2.3-r1.ebuild
rename to dev-util/libabigail/libabigail-2.3-r2.ebuild
index d65ee49694bc..9dca18088bcc 100644
--- a/dev-util/libabigail/libabigail-2.3-r1.ebuild
+++ b/dev-util/libabigail/libabigail-2.3-r2.ebuild
@@ -36,7 +36,7 @@ fi
 
 LICENSE="Apache-2.0-with-LLVM-exceptions"
 SLOT="0/2"
-IUSE="btf ${LIBABIGAIL_DOCS_USEFLAG} test"
+IUSE="btf debug ${LIBABIGAIL_DOCS_USEFLAG} test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
@@ -71,8 +71,11 @@ my_src_configure() {
 		--disable-rpm415
 		--disable-ctf
 		--disable-debug-ct-propagation
+		# Don't try to run Valgrind on tests.
+		--disable-valgrind
 		--enable-bash-completion
 		--enable-python3
+		$(use_enable debug assert)
 		$(use_enable btf)
 		$(use_enable doc apidoc)
 		$(use_enable doc manual)

diff --git a/dev-util/libabigail/libabigail-9999.ebuild b/dev-util/libabigail/libabigail-9999.ebuild
index d65ee49694bc..9dca18088bcc 100644
--- a/dev-util/libabigail/libabigail-9999.ebuild
+++ b/dev-util/libabigail/libabigail-9999.ebuild
@@ -36,7 +36,7 @@ fi
 
 LICENSE="Apache-2.0-with-LLVM-exceptions"
 SLOT="0/2"
-IUSE="btf ${LIBABIGAIL_DOCS_USEFLAG} test"
+IUSE="btf debug ${LIBABIGAIL_DOCS_USEFLAG} test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
@@ -71,8 +71,11 @@ my_src_configure() {
 		--disable-rpm415
 		--disable-ctf
 		--disable-debug-ct-propagation
+		# Don't try to run Valgrind on tests.
+		--disable-valgrind
 		--enable-bash-completion
 		--enable-python3
+		$(use_enable debug assert)
 		$(use_enable btf)
 		$(use_enable doc apidoc)
 		$(use_enable doc manual)