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 37740158008 for ; Fri, 16 Jun 2023 19:21:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C55EE08B0; Fri, 16 Jun 2023 19:20:56 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C4326E08AB for ; Fri, 16 Jun 2023 19:20:55 +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 0/5] cargo.eclass: optimizations Date: Fri, 16 Jun 2023 21:19:53 +0200 Message-ID: <20230616192050.9828-1-mgorny@gentoo.org> X-Mailer: git-send-email 2.41.0 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: a004bcb6-a1a7-4552-8bd4-c8430087cdd1 X-Archives-Hash: 67a0e44bb9c83d178493688e4e84d206 Hi, Changes from v1: `@` is used to separate crate names and versions rather than `/`. Thanks to Denis Lisov for the suggestion. -- Best regards, Michał Górny Michał Górny (5): eclass/tests: Add a minimal benchmark for cargo.eclass cargo.eclass: Add variable alternative to $(cargo_crate_uris) cargo.eclass: Optimize GIT_CRATES check cargo.eclass: Support separating crate names/versions via `@` cargo.eclass: Mark GIT_CRATES as pre-inherit eclass/cargo.eclass | 127 ++++++++++++++++++++++-------------- eclass/tests/cargo-bench.sh | 114 ++++++++++++++++++++++++++++++++ 2 files changed, 192 insertions(+), 49 deletions(-) create mode 100755 eclass/tests/cargo-bench.sh -- 2.41.0