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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 84572158086 for ; Tue, 19 Oct 2021 07:44:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64F14E0863; Tue, 19 Oct 2021 07:44:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4A716E0863 for ; Tue, 19 Oct 2021 07:44:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 128A434397E for ; Tue, 19 Oct 2021 07:44:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 794E1162 for ; Tue, 19 Oct 2021 07:44:10 +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: <1634629437.2d9fdeba82351f19e7dafe9949c3a158de092054.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-antivirus/clamav/clamav-0.104.0-r1.ebuild X-VCS-Directories: app-antivirus/clamav/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2d9fdeba82351f19e7dafe9949c3a158de092054 X-VCS-Branch: master Date: Tue, 19 Oct 2021 07:44:10 +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: 09797d35-aba5-4ae2-83e2-ffb697a6fc3e X-Archives-Hash: 8d4a910a994fabf33f15241b9b1a41a4 commit: 2d9fdeba82351f19e7dafe9949c3a158de092054 Author: Sam James gentoo org> AuthorDate: Tue Oct 19 07:41:24 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue Oct 19 07:43:57 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d9fdeba app-antivirus/clamav: use REQUIRED_USE for tests This makes it far more clear during e.g. arch testing if tests aren't going to be run, rather than silently continuing w/o them. Signed-off-by: Sam James gentoo.org> app-antivirus/clamav/clamav-0.104.0-r1.ebuild | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/app-antivirus/clamav/clamav-0.104.0-r1.ebuild b/app-antivirus/clamav/clamav-0.104.0-r1.ebuild index 3fb0c27cd99..9b3bb334bb9 100644 --- a/app-antivirus/clamav/clamav-0.104.0-r1.ebuild +++ b/app-antivirus/clamav/clamav-0.104.0-r1.ebuild @@ -16,8 +16,9 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ IUSE="doc clamonacc +clamapp libclamav-only milter rar selinux systemd test uclibc" REQUIRED_USE="libclamav-only? ( !clamonacc !clamapp !milter ) - clamonacc? ( clamapp ) - milter? ( clamapp )" + clamonacc? ( clamapp ) + milter? ( clamapp ) + test? ( !libclamav-only )" RESTRICT="!test? ( test )" @@ -178,11 +179,6 @@ src_install() { } src_test() { - if use libclamav-only ; then - ewarn "Test target not available when USE=libclamav-only is set, skipping tests ..." - return 0 - fi - emake quick-check }