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 9D490158008 for ; Fri, 16 Jun 2023 19:22:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 39A1EE0999; Fri, 16 Jun 2023 19:21:01 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 E08D6E0993 for ; Fri, 16 Jun 2023 19:21:00 +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 v2 5/5] cargo.eclass: Mark GIT_CRATES as pre-inherit Date: Fri, 16 Jun 2023 21:19:58 +0200 Message-ID: <20230616192050.9828-6-mgorny@gentoo.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230616192050.9828-1-mgorny@gentoo.org> References: <20230616192050.9828-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: f258be81-5512-4df4-beff-2e104edc80db X-Archives-Hash: 5f32baed72da07c866fb9bf5df235ec4 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 8618c90bd986..2ff1f042ba79 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