dev-vcs/mercurial: only call rust_pkg_setup w/ USE=rust

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-11-09 07:52:27 +00:00
parent a0db89e267
commit bbfb4b4d29
5 changed files with 20 additions and 0 deletions

View File

@@ -197,6 +197,10 @@ RESTRICT="!test? ( test )"
PATCHES=( "${FILESDIR}/python3.12.patch" )
pkg_setup() {
use rust && rust_pkg_setup
}
src_unpack() {
default_src_unpack
if use rust; then

View File

@@ -207,6 +207,10 @@ RESTRICT="!test? ( test )"
PATCHES=( "${FILESDIR}/python3.12.patch" )
pkg_setup() {
use rust && rust_pkg_setup
}
src_unpack() {
default_src_unpack
if use rust; then

View File

@@ -218,6 +218,10 @@ RESTRICT="!test? ( test )"
PATCHES=( "${FILESDIR}/python3.12.patch" )
pkg_setup() {
use rust && rust_pkg_setup
}
src_unpack() {
default_src_unpack
if use rust; then

View File

@@ -234,6 +234,10 @@ SITEFILE="70${PN}-gentoo.el"
RESTRICT="!test? ( test )"
pkg_setup() {
use rust && rust_pkg_setup
}
src_unpack() {
default_src_unpack
if use rust; then

View File

@@ -41,6 +41,10 @@ SITEFILE="70${PN}-gentoo.el"
RESTRICT="!test? ( test )"
pkg_setup() {
use rust && rust_pkg_setup
}
src_unpack() {
mercurial_src_unpack
if use rust; then