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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A71E8158064 for ; Tue, 7 May 2024 23:18:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD9D2E2B5D; Tue, 7 May 2024 23:18:51 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 pigeon.gentoo.org (Postfix) with ESMTPS id 6F73FE2B5D for ; Tue, 7 May 2024 23:18:51 +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 D6F7334306F for ; Tue, 7 May 2024 23:18:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 713A193E for ; Tue, 7 May 2024 23:18:47 +0000 (UTC) From: "Horodniceanu Andrei" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Horodniceanu Andrei" Message-ID: <1715112680.e440148fd0b48caf3f32bd9a0db7915ef0de64a0.a.horodniceanu@gentoo> Subject: [gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/ X-VCS-Repository: repo/user/dlang X-VCS-Files: dev-util/dlang-tools/dlang-tools-2.108.0.ebuild X-VCS-Directories: dev-util/dlang-tools/ X-VCS-Committer: a.horodniceanu X-VCS-Committer-Name: Horodniceanu Andrei X-VCS-Revision: e440148fd0b48caf3f32bd9a0db7915ef0de64a0 X-VCS-Branch: master Date: Tue, 7 May 2024 23:18:47 +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: 26d0dfc6-3f09-43b9-a741-741339070eb8 X-Archives-Hash: edf9f679c3b6b9ce3c5fc6fad8d51480 commit: e440148fd0b48caf3f32bd9a0db7915ef0de64a0 Author: Andrei Horodniceanu proton me> AuthorDate: Tue May 7 20:11:20 2024 +0000 Commit: Horodniceanu Andrei proton me> CommitDate: Tue May 7 20:11:20 2024 +0000 URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=e440148f dev-util/dlang-tools: form a REQUIRED_USE conditional around tests As suggested on IRC, since tests are only run if either ddemangle, dustmite, or, rdmd appear in USE, require that any of those are set when tests are enabled. This changes requires that test is added to IUSE. Signed-off-by: Andrei Horodniceanu proton.me> dev-util/dlang-tools/dlang-tools-2.108.0.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev-util/dlang-tools/dlang-tools-2.108.0.ebuild b/dev-util/dlang-tools/dlang-tools-2.108.0.ebuild index b086a62..fbd6a3e 100644 --- a/dev-util/dlang-tools/dlang-tools-2.108.0.ebuild +++ b/dev-util/dlang-tools/dlang-tools-2.108.0.ebuild @@ -24,7 +24,8 @@ SLOT="0" KEYWORDS="~amd64 ~x86" TOOLS="ddemangle detab dustmite rdmd" -IUSE="+ddemangle detab dustmite +rdmd" +IUSE="+ddemangle detab dustmite +rdmd test" +RESTRICT="!test? ( test )" DLANG_COMPAT=( dmd-2_{106..108} gdc-13 ldc2-1_{35..37} ) @@ -36,7 +37,7 @@ PATCHES=( "${FILESDIR}/gdc-13-fix-parentheses.patch" ) -REQUIRED_USE="|| ( ${TOOLS[@]} ) ${DLANG_REQUIRED_USE}" +REQUIRED_USE="|| ( ${TOOLS[@]} ) ${DLANG_REQUIRED_USE} test? ( || ( ddemangle dustmite rdmd ) )" DEPEND=${DLANG_DEPS} BDEPEND=${DLANG_DEPS} RDEPEND=${DLANG_DEPS}