mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-vcs/mercurial: only call rust_pkg_setup w/ USE=rust
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user