GNU bug report logs - #75878
[PATCH 1/3] scripts: import: crate: show-help: Reformat.

Previous Next

Package: guix-patches;

Reported by: Herman Rimm <herman <at> rimm.ee>

Date: Sun, 26 Jan 2025 20:41:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 75878 <at> debbugs.gnu.org (full text, mbox):

From: Herman Rimm <herman <at> rimm.ee>
To: 75878 <at> debbugs.gnu.org
Subject: [PATCH 3/3] tests: crate: Add build dependency.
Date: Sun, 26 Jan 2025 21:41:17 +0100
* tests/crate.scm ("crate-recursive-import"): Add rust-leaf-bob-3 to
rust-root-1 cargo-inputs.
(test-root-dependencies): Add leaf-bob 3 build dependency.

Change-Id: I1285fc6b36429f754d54def0b14f821306ba366d
---
 tests/crate.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tests/crate.scm b/tests/crate.scm
index 2f1c37633c9..d0dc779cd2f 100644
--- a/tests/crate.scm
+++ b/tests/crate.scm
@@ -53,6 +53,7 @@ (define-module (test-crate)
 ;; 	intermediate-b ^1.0.0
 ;; 	leaf-alice     ^0.7
 ;; 	leaf-bob       ^3
+;; 	leaf-bob       3 (build-dependency)
 ;; 	intermediate-c 1 (dev-dependency)
 ;;
 ;; intermediate-a-1.0.40
@@ -224,6 +225,11 @@ (define test-root-dependencies
        \"kind\": \"normal\",
        \"req\": \"^3\"
      },
+     {
+       \"crate_id\": \"leaf-bob\",
+       \"kind\": \"build\",
+       \"req\": \"3\"
+     },
      {
        \"crate_id\": \"intermediate-c\",
        \"kind\": \"dev\",
@@ -932,6 +938,8 @@ (define rust-leaf-bob-3.0.2-yanked
                                  ('unquote rust-intermediate-b-1))
                                 ("rust-leaf-alice"
                                  ('unquote 'rust-leaf-alice-0.7))
+                                ("rust-leaf-bob"
+                                 ('unquote rust-leaf-bob-3))
                                 ("rust-leaf-bob"
                                  ('unquote rust-leaf-bob-3)))
                                #:cargo-development-inputs
-- 
2.47.1





This bug report was last modified 107 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.