mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user