From 8020ba3fecac01decfe08d0cd179ece07fab68d6 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 11 Nov 2024 17:23:45 +0000 Subject: [PATCH] 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 --- dev-python/blake3/blake3-0.4.1-r1.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev-python/blake3/blake3-0.4.1-r1.ebuild b/dev-python/blake3/blake3-0.4.1-r1.ebuild index 81a5bb4bf3d84..56a207480f016 100644 --- a/dev-python/blake3/blake3-0.4.1-r1.ebuild +++ b/dev-python/blake3/blake3-0.4.1-r1.ebuild @@ -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() {