commit:     74799873b54e9345e02be6998000845eb077a46b
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Tue Sep 10 19:43:13 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Sep 10 19:43:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=74799873

dev-vcs/pijul: speed up SRC_URI generation for Cargo crates

fix variable order

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 dev-vcs/pijul/pijul-1.0.0_beta9.ebuild | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/dev-vcs/pijul/pijul-1.0.0_beta9.ebuild 
b/dev-vcs/pijul/pijul-1.0.0_beta9.ebuild
index 9c34d5953..42aa036fb 100644
--- a/dev-vcs/pijul/pijul-1.0.0_beta9.ebuild
+++ b/dev-vcs/pijul/pijul-1.0.0_beta9.ebuild
@@ -439,20 +439,19 @@ inherit cargo
 
 DESCRIPTION="A distributed version control system based on a theory of patches"
 HOMEPAGE="https://pijul.org/ https://nest.pijul.com/pijul/pijul";
-SRC_URI="
-       $(cargo_crate_uris)
-"
+SRC_URI="${CARGO_CRATE_URIS}"
+
+# We get the sources from one of the crates, as the Pijul source is
+# managed with Pijul on nest.pijul.com - we obviously can't clone it
+# (because we'd need a working pijul binary to do that), and the Nest
+# doesn't support exporting archives (yet).
+S="${ECARGO_VENDOR}/${PN}-${MY_PIJUL_PV}"
 
 LICENSE="GPL-2+"
 # Dependent crate licenses
 LICENSE+=" Apache-2.0 BSD-2 BSD CC0-1.0 MIT Unicode-DFS-2016 ZLIB"
 SLOT="0"
 KEYWORDS="~amd64"
-# We get the sources from one of the crates, as the Pijul source is
-# managed with Pijul on nest.pijul.com - we obviously can't clone it
-# (because we'd need a working pijul binary to do that), and the Nest
-# doesn't support exporting archives (yet).
-S="${WORKDIR}/cargo_home/gentoo/${PN}-${MY_PIJUL_PV}"
 IUSE="git"
 
 DEPEND="

Reply via email to