From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: Re: [PATCH] guix pypi importer: Add ending as an optional argument to pypi-uri. Date: Tue, 5 Jan 2016 11:23:41 +0100 Message-ID: <568B99AD.8020305@gmail.com> References: <1451856997-13507-1-git-send-email-swedebugia@riseup.net> <568B1414.9010107@gmail.com> <20160105115837.24eaf361@debian-netbook> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGOmJ-0003ni-1b for guix-devel@gnu.org; Tue, 05 Jan 2016 05:23:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGOmF-0005ez-0M for guix-devel@gnu.org; Tue, 05 Jan 2016 05:23:46 -0500 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:38564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGOmE-0005eu-QS for guix-devel@gnu.org; Tue, 05 Jan 2016 05:23:42 -0500 Received: by mail-wm0-x235.google.com with SMTP id b14so21681135wmb.1 for ; Tue, 05 Jan 2016 02:23:42 -0800 (PST) In-Reply-To: <20160105115837.24eaf361@debian-netbook> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Efraim Flashner Cc: guix-devel@gnu.org On 01/05/2016 10:58 AM, Efraim Flashner wrote: > It already does that with the patch If there's no change then it defaults to .tar.gz. Could part of the patch be changed to: > #:optional (ending ".tar.gz")) ? That is what I meant. This way we would not need the "(when ..." and could keep this function simple. Cyril.