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
 }

Reply via email to