dev-python/blake3: simplify src_unpack

As suggested by mgorny: unconditionally call cargo_src_unpack as it
does the right thing even if there's no crates to unpack, means we don't
do it twice.

Bug: https://bugs.gentoo.org/943230
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-11-11 17:23:45 +00:00
parent 93a7eb9802
commit 8020ba3fec

View File

@@ -113,8 +113,9 @@ pkg_setup() {
}
src_unpack() {
default
use rust && cargo_src_unpack
# Do this unconditionally as it has sensible behaviour even
# w/ USE=-rust.
cargo_src_unpack
}
src_prepare() {