From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 2/7] import cran: Move guix-name to top-level. Date: Mon, 30 May 2016 10:49:07 +0200 Message-ID: <87h9dg9bi4.fsf@gnu.org> References: <1464018008-1767-1-git-send-email-ricardo.wurmus@mdc-berlin.de> <1464018008-1767-3-git-send-email-ricardo.wurmus@mdc-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7Iss-00010F-8U for guix-devel@gnu.org; Mon, 30 May 2016 04:49:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7Iso-0002qH-3d for guix-devel@gnu.org; Mon, 30 May 2016 04:49:13 -0400 In-Reply-To: <1464018008-1767-3-git-send-email-ricardo.wurmus@mdc-berlin.de> (Ricardo Wurmus's message of "Mon, 23 May 2016 17:40:03 +0200") 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" To: Ricardo Wurmus Cc: guix-devel@gnu.org Ricardo Wurmus skribis: > * guix/import/cran.scm (guix-name): Move to top-level. [...] > +(define (guix-name name) > + "Return a Guix package name for a given R package name." > + (string-append "r-" (string-downcase > + (regexp-substitute/global #f "(_|\\.)" name > + 'pre "-" 'post)))) Same comment as before, but otherwise OK! Ludo=E2=80=99.