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 E44B8158090 for ; Tue, 17 May 2022 05:34:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 609FCE097B; 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 43F55E0975 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 4B1EA341B8E 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 151084D5 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: <1652765641.2c35bf71ae85fb0486322d1bfb05c66b40f94559.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/npth/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/npth/npth-1.6-r1.ebuild X-VCS-Directories: dev-libs/npth/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2c35bf71ae85fb0486322d1bfb05c66b40f94559 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: 3abdf373-2b71-4bb8-beef-1a740e728ac1 X-Archives-Hash: 617efa2e65a2126b44a780814af284f1 commit: 2c35bf71ae85fb0486322d1bfb05c66b40f94559 Author: Sam James gentoo org> AuthorDate: Tue May 17 05:13:07 2022 +0000 Commit: Sam James gentoo org> CommitDate: Tue May 17 05:34:01 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c35bf71 dev-libs/npth: [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/npth/npth-1.6-r1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-libs/npth/npth-1.6-r1.ebuild b/dev-libs/npth/npth-1.6-r1.ebuild index 81b168a55477..bb3c8b84c723 100644 --- a/dev-libs/npth/npth-1.6-r1.ebuild +++ b/dev-libs/npth/npth-1.6-r1.ebuild @@ -12,6 +12,8 @@ SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" LICENSE="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="test" +RESTRICT="!test? ( test )" src_prepare() { default @@ -19,7 +21,9 @@ src_prepare() { } src_configure() { - econf --disable-static + econf \ + --disable-static \ + $(use_enable test tests) } src_install() {