From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2CF3F158008 for ; Fri, 16 Jun 2023 12:09:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4EAA3E0A87; Fri, 16 Jun 2023 12:07:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 07364E0A63 for ; Fri, 16 Jun 2023 12:07:50 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH 5/5] cargo.eclass: Mark GIT_CRATES as pre-inherit Date: Fri, 16 Jun 2023 14:01:08 +0200 Message-ID: <20230616120739.8656-6-mgorny@gentoo.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230616120739.8656-1-mgorny@gentoo.org> References: <20230616120739.8656-1-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: b51e304c-c65d-4b41-b377-5fcc14b72148 X-Archives-Hash: a8e02b684558aadff03a31472ac29ecd The variable needs to be set before inherit in order for ${CARGO_CRATE_URIS} to be set correctly. Currently all ebuilds using GIT_CRATES except for one define it pre-inherit anyway, and this makes it consistent with CRATES. Signed-off-by: Michał Górny --- eclass/cargo.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index 54a1edd36c28..60981d415c27 100644 --- a/eclass/cargo.eclass +++ b/eclass/cargo.eclass @@ -77,6 +77,7 @@ ECARGO_VENDOR="${ECARGO_HOME}/gentoo" # @ECLASS_VARIABLE: GIT_CRATES # @DEFAULT_UNSET +# @PRE_INHERIT # @DESCRIPTION: # Bash associative array containing all of the crates that are to be # fetched via git. It is used by cargo_crate_uris. -- 2.41.0