From patchwork Mon Jul 25 20:05:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 40958 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5F78327BBEA; Mon, 25 Jul 2022 21:06:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DC21627BBE9 for ; Mon, 25 Jul 2022 21:06:14 +0100 (BST) Received: from localhost ([::1]:48064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oG4LG-0004cH-16 for patchwork@mira.cbaines.net; Mon, 25 Jul 2022 16:06:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oG4L5-0004bw-2O for guix-patches@gnu.org; Mon, 25 Jul 2022 16:06:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33534) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oG4L4-0005ft-P1 for guix-patches@gnu.org; Mon, 25 Jul 2022 16:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oG4L4-0002aN-JD; Mon, 25 Jul 2022 16:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56769] [PATCH] gnu: wrap-python3: Clarify relationship with wrapped package. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: philip@philipmcgrath.com, guix-patches@gnu.org Resent-Date: Mon, 25 Jul 2022 20:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56769 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56769@debbugs.gnu.org Cc: Philip McGrath X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Philip McGrath Received: via spool by submit@debbugs.gnu.org id=B.16587795199869 (code B ref -1); Mon, 25 Jul 2022 20:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Jul 2022 20:05:19 +0000 Received: from localhost ([127.0.0.1]:51516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oG4KN-0002Z4-6B for submit@debbugs.gnu.org; Mon, 25 Jul 2022 16:05:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:35208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oG4KJ-0002Yq-JZ for submit@debbugs.gnu.org; Mon, 25 Jul 2022 16:05:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37834) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oG4KJ-0004Pj-FC for guix-patches@gnu.org; Mon, 25 Jul 2022 16:05:15 -0400 Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]:34607) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oG4KI-0005Sg-10 for guix-patches@gnu.org; Mon, 25 Jul 2022 16:05:15 -0400 Received: by mail-qt1-x833.google.com with SMTP id e5so9100299qts.1 for ; Mon, 25 Jul 2022 13:05:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=R2pMV/O7PDq4BZ8b0Srr/y5KluDdHznTOJ5xrpddSEI=; b=hI2pDEAy5ac2dq+/I3sCbB0zez8lIqi98/vzxaRv/qaK5GkFXHXwKyNXGKhDzFx559 uVY91BdcNJ8QiRxWGvPQTlZrXgQ5Nww76YxYDeSmzs7AafWFftoT5/7tUtynEuq1UeNc jQPflzqwqjoWI1XMZropgqTum/urqN3gXYypTVwF++qF60dJ3d86BtZlnWoXGh09zl59 rlKkiffc1543yIQrOVmsLQ15nCb7v2zee4fLcOmomc5ISxI8YPbGpVof3gS5sDYL3hjO BCTDjw8DwEPrmMdGK8HzplKQSDZ+LG1Hx/3ybIV5wotOM2BXrLFPd/OV12UEorb3Bjgz 3qBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=R2pMV/O7PDq4BZ8b0Srr/y5KluDdHznTOJ5xrpddSEI=; b=HAc0Fjfo9BPE1PxHBlU5Z0kIvgUTTx6NBBAXjx2XysAvP7GxeVBp/Ho0dJDd40igyL jLOZ7q7a402yXK01sp6DkVE3pxbF/JrrgQfW6jXX3WhCFIMGlLYMp+rt/Tb/MBXCNCwo 9tZFfL6ssN4gudPZrH3qniy789avEVFtfBHIDulEooOCsdWatncO9kj7rAGnEWFM1dWO X8VcKWW4zQu4RQ2sdV9UDBASSRgOpTMm1iQfzdQ7kEXzwtDlcKCrYMWdrNsI/8Pr8/qG m9BS+7wNuo5L93otmUdOoWHGiLUwSCjfLFhFYuKOGgcdT7i/c3pzcP+H+pylCNqQlyVN k8nA== X-Gm-Message-State: AJIora8icYMxHRmF8OainzDHLjGxA2AJ8gpjlhmvqznsiJXEeaw1isII PS9NYCtgVKXBh8iHxLHQhzazxWTurry25InJ X-Google-Smtp-Source: AGRyM1sA4A7M+HSlHc4I79oKfPodj0Yy0ykAjOJrORwZBoZ7eCEYIYK7cvmrULev/j2WPImlhPV0ww== X-Received: by 2002:ac8:58c2:0:b0:31f:8a2:1bb2 with SMTP id u2-20020ac858c2000000b0031f08a21bb2mr11375315qta.121.1658779511740; Mon, 25 Jul 2022 13:05:11 -0700 (PDT) Received: from localhost (c-73-125-98-51.hsd1.fl.comcast.net. [73.125.98.51]) by smtp.gmail.com with UTF8SMTPSA id s21-20020a05620a29d500b006b5cefa8877sm10180559qkp.105.2022.07.25.13.05.11 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Jul 2022 13:05:11 -0700 (PDT) From: Philip McGrath Date: Mon, 25 Jul 2022 16:05:10 -0400 Message-Id: <61a803dbf366b7ab4365b91d23663a8620b64c7f.1658779495.git.philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Received-SPF: permerror client-ip=2607:f8b0:4864:20::833; envelope-from=philip@philipmcgrath.com; helo=mail-qt1-x833.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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(-) base-commit: 212ca81895b2baa819ea11a308ad21880b84a546 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 ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen ;;; Copyright © 2020, 2021 Greg Hogan +;;; Copyright © 2022 Philip McGrath ;;; ;;; 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@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))