From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#19219: Package names with digits following dashes Date: Thu, 10 Dec 2015 14:36:26 +0100 Message-ID: <87si3ah1d1.fsf@gnu.org> References: <20141129203122.GA15720@debian> <87ppbws61p.fsf@gnu.org> <874mfssrxd.fsf@gnu.org> 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]:42625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a71P8-0007Jg-W3 for bug-guix@gnu.org; Thu, 10 Dec 2015 08:37:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a71P4-0004zp-R2 for bug-guix@gnu.org; Thu, 10 Dec 2015 08:37:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:55639) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a71P4-0004zf-O3 for bug-guix@gnu.org; Thu, 10 Dec 2015 08:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1a71P4-0003Nf-Jr for bug-guix@gnu.org; Thu, 10 Dec 2015 08:37:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <874mfssrxd.fsf@gnu.org> (Mathieu Lirzin's message of "Tue, 08 Dec 2015 19:42:38 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Mathieu Lirzin Cc: 19219@debbugs.gnu.org, request@debbugs.gnu.org Mathieu Lirzin skribis: > I had the same issue when trying to create a package named > 'rxvt-unicode-256-color'. I have tried to fix > =E2=80=98package-name->name+version=E2=80=99 by matching the last hyphen = and check if > the next character is a number. Sounds like a reasonable approach (better than what I submitted), but we would need test for the various corner cases. Could you augment the test that=E2=80=99s in tests/utils.scm? > The result was a fail attempt to rebuild the earth: This is because everything depends on (guix build utils). But we=E2=80=99re right in time to make this change in =E2=80=98core-update= s=E2=80=99. Thanks! Ludo=E2=80=99.