From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 F267F158090 for ; Tue, 17 May 2022 05:34:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 73D30E0978; Tue, 17 May 2022 05:34:55 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5968BE0978 for ; Tue, 17 May 2022 05:34:55 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5039C341B90 for ; Tue, 17 May 2022 05:34:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0124A4D4 for ; Tue, 17 May 2022 05:34:51 +0000 (UTC) From: "Sam James" 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" Message-ID: <1652765640.b81c5bcf474592fe8ac0cae9979166ce84aa2d76.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpg-error/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libgpg-error/libgpg-error-1.45.ebuild X-VCS-Directories: dev-libs/libgpg-error/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b81c5bcf474592fe8ac0cae9979166ce84aa2d76 X-VCS-Branch: master Date: Tue, 17 May 2022 05:34:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1adb26c0-afc2-4523-bb43-39bbcbb77179 X-Archives-Hash: e8c87e2ce8e15bc50537fda8b388633f commit: b81c5bcf474592fe8ac0cae9979166ce84aa2d76 Author: Sam James gentoo org> AuthorDate: Tue May 17 05:09:12 2022 +0000 Commit: Sam James gentoo org> CommitDate: Tue May 17 05:34:00 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b81c5bcf dev-libs/libgpg-error: [QA] conditionally build tests It's particularly important for @system and deps-of-@system to not build things unnecessarily given you can't avoid them and it makes builds on slower machines rather painful. But also, it's a waste of resources/time anyway. Do the same dance here as with the other gpg packages. Signed-off-by: Sam James gentoo.org> dev-libs/libgpg-error/libgpg-error-1.45.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-libs/libgpg-error/libgpg-error-1.45.ebuild b/dev-libs/libgpg-error/libgpg-error-1.45.ebuild index f79b1022d939..70d0c2d8b3e4 100644 --- a/dev-libs/libgpg-error/libgpg-error-1.45.ebuild +++ b/dev-libs/libgpg-error/libgpg-error-1.45.ebuild @@ -12,7 +12,8 @@ SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" LICENSE="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="common-lisp nls static-libs" +IUSE="common-lisp nls static-libs test" +RESTRICT="!test? ( test )" RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )" DEPEND="${RDEPEND}" @@ -52,6 +53,7 @@ multilib_src_configure() { $(use_enable nls) # required for sys-power/suspend[crypt], bug 751568 $(use_enable static-libs static) + $(use_enable test tests) --enable-threads CC_FOR_BUILD="$(tc-getBUILD_CC)" $("${S}/configure" --help | grep -o -- '--without-.*-prefix')