GNU bug report logs - #51545
[PATCH] import: egg: Allow imports of a specific version.

Previous Next

Package: guix-patches;

Reported by: Xinglu Chen <public <at> yoctocell.xyz>

Date: Mon, 1 Nov 2021 10:56: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 #10 received at 51545-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Xinglu Chen <public <at> yoctocell.xyz>
Cc: 51545-done <at> debbugs.gnu.org
Subject: Re: bug#51545: [PATCH] import: egg: Allow imports of a specific
 version.
Date: Sun, 07 Nov 2021 22:01:54 +0100
[Message part 1 (text/plain, inline)]
Hi,

Xinglu Chen <public <at> yoctocell.xyz> skribis:

> * guix/import/egg.scm (eggs-repository): Change URL.
> (egg-metadata): Accept optional #:version keyword argument.
> (egg->guix-package): Accept ‘version’ argument.
> (egg-recursive-import): Add ‘version’ argument and honor it.
> * guix/scripts/import/egg.scm (guix-import-egg): Parse a specification instead
> of just a package name.
> * doc/guix.texi (Invoking guix import): Document it.

Applied with the minor fix below, thanks!

Ludo’.

[Message part 2 (text/x-patch, inline)]
diff --git a/doc/guix.texi b/doc/guix.texi
index 978a454b83..3355a535ad 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -12175,10 +12175,10 @@ always precise (BSD is often used instead of BSD-N).
 guix import egg sourcehut
 @end example
 
-You can also ask for a specific version
+You can also ask for a specific version:
 
 @example
-guix import egg array@@1.0
+guix import egg arrays@@1.0
 @end example
 
 Additional options include:

This bug report was last modified 3 years and 193 days ago.

Previous Next


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