From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1696901-garchives=archives.gentoo.org@lists.gentoo.org>
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 (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 18C321581E1
	for <garchives@archives.gentoo.org>; Wed,  4 Dec 2024 11:33:09 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8F621E0827;
	Wed,  4 Dec 2024 11:33:07 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.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) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id EF6EFE0841
	for <gentoo-commits@lists.gentoo.org>; Wed,  4 Dec 2024 11:33:06 +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 025DD340BEF
	for <gentoo-commits@lists.gentoo.org>; Wed,  4 Dec 2024 11:33:06 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 3654611DE
	for <gentoo-commits@lists.gentoo.org>; Wed,  4 Dec 2024 11:33:04 +0000 (UTC)
From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Matt Jolly" <kangie@gentoo.org>
Message-ID: <1733311831.ad5d67f7341e306baabf7a6fae9cc3bca2de8abd.kangie@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-antivirus/clamav/clamav-1.0.7-r1.ebuild app-antivirus/clamav/clamav-1.4.1-r2.ebuild
X-VCS-Directories: app-antivirus/clamav/
X-VCS-Committer: kangie
X-VCS-Committer-Name: Matt Jolly
X-VCS-Revision: ad5d67f7341e306baabf7a6fae9cc3bca2de8abd
X-VCS-Branch: master
Date: Wed,  4 Dec 2024 11:33:04 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: bf545293-4349-4216-990b-761ce5e7a4ed
X-Archives-Hash: 351cab58ec42eba20038670175ba391e

commit:     ad5d67f7341e306baabf7a6fae9cc3bca2de8abd
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  4 02:11:15 2024 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Wed Dec  4 11:30:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad5d67f7

app-antivirus/clamav: add rust_pkg_setup

This does not cause any changes to package behaviour;
we don't depend on LLVM or have any version restrictions on
Rust so it doesn't matter which slot was picked - it's probably
the `eselect`ed one anyway.

There's no need to force a revbump on users who have already
built the package, however we can provide consistent selection
of dev-lang/rust via the eclass and get some output on the
selected slot as part of the build log if we fix this now.

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 app-antivirus/clamav/clamav-1.0.7-r1.ebuild | 1 +
 app-antivirus/clamav/clamav-1.4.1-r2.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/app-antivirus/clamav/clamav-1.0.7-r1.ebuild b/app-antivirus/clamav/clamav-1.0.7-r1.ebuild
index 571fa8143a9b..bb7cc89f3b9f 100644
--- a/app-antivirus/clamav/clamav-1.0.7-r1.ebuild
+++ b/app-antivirus/clamav/clamav-1.0.7-r1.ebuild
@@ -228,6 +228,7 @@ python_check_deps() {
 }
 
 pkg_setup() {
+	rust_pkg_setup
 	use jit && llvm_pkg_setup
 	use test && python-any-r1_pkg_setup
 }

diff --git a/app-antivirus/clamav/clamav-1.4.1-r2.ebuild b/app-antivirus/clamav/clamav-1.4.1-r2.ebuild
index 296e17179a3a..a613a13cfc4f 100644
--- a/app-antivirus/clamav/clamav-1.4.1-r2.ebuild
+++ b/app-antivirus/clamav/clamav-1.4.1-r2.ebuild
@@ -231,6 +231,7 @@ python_check_deps() {
 }
 
 pkg_setup() {
+	rust_pkg_setup
 	use jit && llvm_pkg_setup
 	use test && python-any-r1_pkg_setup
 }