GNU bug report logs - #56769
[PATCH] gnu: wrap-python3: Clarify relationship with wrapped package.

Previous Next

Package: guix-patches;

Reported by: Philip McGrath <philip <at> philipmcgrath.com>

Date: Mon, 25 Jul 2022 20:06:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56769 in the body.
You can then email your comments to 56769 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to philip <at> philipmcgrath.com, guix-patches <at> gnu.org:
bug#56769; Package guix-patches. (Mon, 25 Jul 2022 20:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Philip McGrath <philip <at> philipmcgrath.com>:
New bug report received and forwarded. Copy sent to philip <at> philipmcgrath.com, guix-patches <at> gnu.org. (Mon, 25 Jul 2022 20:06:02 GMT) Full text and rfc822 format available.

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

From: Philip McGrath <philip <at> philipmcgrath.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: wrap-python3: Clarify relationship with wrapped package.
Date: Mon, 25 Jul 2022 16:05:10 -0400
The previous description could give the impression that the user faced a
choice between `python` and `python3`, but could not have both at once.
In fact, the packages `python-wrapper` and `python-minimal-wrapper`
already provide both sets of names.

* gnu/packages/python.scm (wrap-python3)[description]: Tweak.
---
 gnu/packages/python.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4fcee28ba3..c815343d5d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -58,6 +58,7 @@
 ;;; Copyright © 2019 Tanguy Le Carrour <tanguy <at> bioneland.org>
 ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke <at> gnu.org>
 ;;; Copyright © 2020, 2021 Greg Hogan <code <at> greghogan.com>
+;;; Copyright © 2022 Philip McGrath <philip <at> philipmcgrath.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -662,10 +663,12 @@ (define* (wrap-python3 python
     (synopsis "Wrapper for the Python 3 commands")
     (description
      "This package provides wrappers for the commands of Python <at> tie{}3.x such
-that they can be invoked under their usual name---e.g., @command{python}
+that they can also be invoked under their usual names---e.g., @command{python}
 instead of @command{python3} or @command{pip} instead of @command{pip3}.
 To function properly, this package should not be installed together with the
-@command{python} package.")))
+@command{python} package: this package uses the @command{python} package as a
+propagated input, so installing this package already makes both the versioned
+and the unversioned commands available.")))
 
 (define-public python-wrapper (wrap-python3 python))
 (define-public python-minimal-wrapper (wrap-python3 python-minimal))

base-commit: 212ca81895b2baa819ea11a308ad21880b84a546
-- 
2.32.0





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 09 Aug 2022 14:59:02 GMT) Full text and rfc822 format available.

Notification sent to Philip McGrath <philip <at> philipmcgrath.com>:
bug acknowledged by developer. (Tue, 09 Aug 2022 14:59:02 GMT) Full text and rfc822 format available.

Message #10 received at 56769-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Philip McGrath <philip <at> philipmcgrath.com>
Cc: 56769-done <at> debbugs.gnu.org
Subject: Re: bug#56769: [PATCH] gnu: wrap-python3: Clarify relationship with
 wrapped package.
Date: Tue, 09 Aug 2022 16:58:30 +0200
Hi,

Philip McGrath <philip <at> philipmcgrath.com> skribis:

> The previous description could give the impression that the user faced a
> choice between `python` and `python3`, but could not have both at once.
> In fact, the packages `python-wrapper` and `python-minimal-wrapper`
> already provide both sets of names.
>
> * gnu/packages/python.scm (wrap-python3)[description]: Tweak.

Applied!

> +@command{python} package: this package uses the @command{python} package as a
> +propagated input, so installing this package already makes both the versioned
> +and the unversioned commands available.")))

Change @command to @code above.

Thanks,
Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 07 Sep 2022 11:24:08 GMT) Full text and rfc822 format available.

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

Previous Next


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