Message ID | a3fcea7c70c0f8dda6011610135cf48119df6ece.1684421460.git.ludo@gnu.org |
---|---|
State | New |
Headers | show
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id DBFB427BBE9; Thu, 18 May 2023 16:18: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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 4EA2417A88 for <patchwork@mira.cbaines.net>; Thu, 18 May 2023 16:18:15 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1pzfOG-0004eT-Ep; Thu, 18 May 2023 11:18:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1pzfOE-0004b5-4G for guix-patches@gnu.org; Thu, 18 May 2023 11:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1pzfOD-00029r-SW for guix-patches@gnu.org; Thu, 18 May 2023 11:18:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1pzfOD-0005XJ-OO for guix-patches@gnu.org; Thu, 18 May 2023 11:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63571] [PATCH 11/14] import: cpan: Remove unary 'string-append' call. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 18 May 2023 15:18:01 +0000 Resent-Message-ID: <handler.63571.B63571.168442302721150@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63571 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63571@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org> Received: via spool by 63571-submit@debbugs.gnu.org id=B63571.168442302721150 (code B ref 63571); Thu, 18 May 2023 15:18:01 +0000 Received: (at 63571) by debbugs.gnu.org; 18 May 2023 15:17:07 +0000 Received: from localhost ([127.0.0.1]:54156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1pzfNL-0005V3-EF for submit@debbugs.gnu.org; Thu, 18 May 2023 11:17:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@gnu.org>) id 1pzfN1-0005Qe-Lm for 63571@debbugs.gnu.org; Thu, 18 May 2023 11:16:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@gnu.org>) id 1pzfMw-0001w5-Fw; Thu, 18 May 2023 11:16:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=2hxGdaAKbuwbDaEtf1LLiwzQpIAviJMAYlbDm445Kes=; b=cZ1bVYisj+RNETtptOlk knMvVMzXqiHUuBy7+VQrbWJCEy01Tjk2Cv2DuGrzBj6cFf6HM+8waL4Mu3IxoQYla5tpZvUlJLdxW yo+wti4ZlAlcQc2irk1OFUZ1wjEuEdla7yCpMZCJ+UqukfGsaPE7ii7Ud0qG/L0ISry1a2KlfzcVL bk0cCKJA+BsEk4X8oM6+y7rG/JZnEWpLPoZaiKfpj5kxhuCBYOjPNEnrZqo4NTKCv4SCbfFMSv4P6 OD/0to/miWwP5sAU4qSUy/41lQLDvwGGNY3R2TQK2uiN5A9Wa4FyI5dY+IXeYLwZI80arOlTMLzqu 9v2krSQ99Fcnbg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@gnu.org>) id 1pzfMw-0007G6-35; Thu, 18 May 2023 11:16:42 -0400 From: Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org> Date: Thu, 18 May 2023 17:16:19 +0200 Message-Id: <a3fcea7c70c0f8dda6011610135cf48119df6ece.1684421460.git.ludo@gnu.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <cover.1684421459.git.ludo@gnu.org> References: <cover.1684421459.git.ludo@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
'guix refresh -u' updates input fields
|
expand
|
diff --git a/guix/import/cpan.scm b/guix/import/cpan.scm index da47018c35..d7f300777e 100644 --- a/guix/import/cpan.scm +++ b/guix/import/cpan.scm @@ -154,7 +154,7 @@ (define (package->upstream-name package) ((? origin? origin) (match (origin-uri origin) ((or (? string? url) (url _ ...)) - (match (string-match (string-append "([^/]*)-v?[0-9\\.]+") url) + (match (string-match "([^/]*)-v?[0-9\\.]+" url) (#f #f) (m (match:substring m 1)))) (_ #f)))