From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 EBA9E1582EF for ; Mon, 17 Feb 2025 20:19:03 +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)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id D36AB343163 for ; Mon, 17 Feb 2025 20:19:03 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 4C31C110470; Mon, 17 Feb 2025 20:18:58 +0000 (UTC) Received: from smtp.gentoo.org (mail.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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 410D1110470 for ; Mon, 17 Feb 2025 20:18:58 +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 C0EB83430F6 for ; Mon, 17 Feb 2025 20:18:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 27915175A for ; Mon, 17 Feb 2025 20:18:56 +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: <1739823503.5cc5c7fb11496e6e03f78fd423091738c349cbb5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/json-c/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/json-c/json-c-0.18.ebuild dev-libs/json-c/json-c-9999.ebuild X-VCS-Directories: dev-libs/json-c/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 5cc5c7fb11496e6e03f78fd423091738c349cbb5 X-VCS-Branch: master Date: Mon, 17 Feb 2025 20:18:56 +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: 85277c13-0654-48d2-bb72-4b56dc27057a X-Archives-Hash: 76f5738623ab553e16b37f87eda15782 commit: 5cc5c7fb11496e6e03f78fd423091738c349cbb5 Author: Sam James gentoo org> AuthorDate: Mon Feb 17 20:03:42 2025 +0000 Commit: Sam James gentoo org> CommitDate: Mon Feb 17 20:18:23 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cc5c7fb dev-libs/json-c: build tests conditionally 72->16 targets. Nice! Signed-off-by: Sam James gentoo.org> dev-libs/json-c/json-c-0.18.ebuild | 6 ++++-- dev-libs/json-c/json-c-9999.ebuild | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/dev-libs/json-c/json-c-0.18.ebuild b/dev-libs/json-c/json-c-0.18.ebuild index 5f6b3ef8717f..997463b97256 100644 --- a/dev-libs/json-c/json-c-0.18.ebuild +++ b/dev-libs/json-c/json-c-0.18.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 @@ -21,7 +21,8 @@ LICENSE="MIT" # .1 is a fudge factor for 0.18 fixing compat w/ 0.16, drop on next # SONAME change. SLOT="0/5.1" -IUSE="cpu_flags_x86_rdrand doc static-libs threads" +IUSE="cpu_flags_x86_rdrand doc static-libs test threads" +RESTRICT="!test? ( test )" BDEPEND="doc? ( >=app-text/doxygen-1.8.13 )" @@ -42,6 +43,7 @@ multilib_src_configure() { -DDISABLE_WERROR=ON -DENABLE_RDRAND=$(usex cpu_flags_x86_rdrand) -DENABLE_THREADING=$(usex threads) + -DBUILD_TESTING=$(usex test) ) cmake_src_configure diff --git a/dev-libs/json-c/json-c-9999.ebuild b/dev-libs/json-c/json-c-9999.ebuild index 582ba35e41c2..95c54f504c3d 100644 --- a/dev-libs/json-c/json-c-9999.ebuild +++ b/dev-libs/json-c/json-c-9999.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 @@ -21,7 +21,8 @@ LICENSE="MIT" # .1 is a fudge factor for 0.18 fixing compat w/ 0.16, drop on next # SONAME change. SLOT="0/5.1" -IUSE="cpu_flags_x86_rdrand doc static-libs threads" +IUSE="cpu_flags_x86_rdrand doc static-libs test threads" +RESTRICT="!test? ( test )" BDEPEND="doc? ( >=app-text/doxygen-1.8.13 )" @@ -42,6 +43,7 @@ multilib_src_configure() { -DDISABLE_WERROR=ON -DENABLE_RDRAND=$(usex cpu_flags_x86_rdrand) -DENABLE_THREADING=$(usex threads) + -DBUILD_TESTING=$(usex test) ) cmake_src_configure