From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wJ0ZAbr33mJZMQEAbAwnHQ (envelope-from ) for ; Mon, 25 Jul 2022 22:06:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uLswAbr33mL9wwAA9RJhRA (envelope-from ) for ; Mon, 25 Jul 2022 22:06:18 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8F1C52D1B0 for ; Mon, 25 Jul 2022 22:06:17 +0200 (CEST) Received: from localhost ([::1]:48064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oG4LI-0004cH-Dy for larch@yhetil.org; Mon, 25 Jul 2022 16:06:16 -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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658779577; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=R2pMV/O7PDq4BZ8b0Srr/y5KluDdHznTOJ5xrpddSEI=; b=XY3Rn1wMnlKAN7OzGqz9LXHElNbqJYrFJckREZy5coNFFyYLtR+0QJo3X72BURB7fwdkfY lok7BeixD5CXmvA9O9al7eEUTiUL+WpAmGnswJWYNFgflre71WQ4H6DRfpLkVDDWhD3+bX R1hPblyuMQP2nsYrHJD3egr+Ed6APYm/XG7KHPYbQliL8qspFi6UZSsGrsjW9Gd6vYci2m KixxPYPQEXuTkfchLVQ/d/laZB0OMoQCI/6kjTc3ehjQZRxxG5ZkCVbSi3L3zU2F5WbYDF GJlTKHOAjOWvqmRAKTL3+EK+ew8rbxmGnMOOgiBPiOLst6WBMcTuoSe2Dgb4Zw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658779577; a=rsa-sha256; cv=none; b=npcA6FUeb54zs0ZXYF4zOZxLgfWOKl63ipk98IBpIVlJ6/F55/VwFjihbcxUUL80PVdZnh fj6Nmi/nPfgujB9yFpV8Ti/9XzlgRzkaYtaiG1JxN+HGPbBwrA0OBpF+CcMP2MNQH1Hydx umeaKhJctzdxIo3/dZWKjsSsE7HwXVXFbuJF60hLQZG6t2pOdHP7m2SQpPW9hkT9xTsEWz /UekBcwMfFlMZNratc7SmWSQowpeHSh267INf9lj3QGwHeyTNOrnop1qOJtKSHstsApjSZ Qze945RW9kvxuZ18RH+0Qtwuyxa+LVxP4E2Cj76/Lc2rgIHlfGCz75L+gEEpyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=hI2pDEAy; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 1.07 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=hI2pDEAy; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8F1C52D1B0 X-Spam-Score: 1.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: rqb/i+gyTP20 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 ;;; 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)) base-commit: 212ca81895b2baa819ea11a308ad21880b84a546 -- 2.32.0