From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mLDAN4ArgmXvIgEAkFu2QA (envelope-from ) for ; Wed, 20 Dec 2023 00:47:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id CDAbNIArgmWIcwAAqHPOHw (envelope-from ) for ; Wed, 20 Dec 2023 00:47:12 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wmeyer.eu header.s=mail header.b=Oj425fpi; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wmeyer.eu (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703029632; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=eucKGWwMLWp6TQ/Th8D/9Q1e0LkrPhd4w+cwGvMg5j0=; b=fRp4hAO3GDsr5dV0Gl1tWfIJo93tV8TKEwJyUKh5KSMVsuSPDkwAEqps0DzMSDZuSs06Cg 8w3Q2g2aP9lTUbcJy1ifScdqcPCNzr2kk3PXbApKZzjMBpL4fVj/sPT7CXvuSCVfoz/gHr TbbVjX6/eJsd5GTgUuG3vRYHcvWTS0Ey3TVP0ucSPmEkZuqeHBfkl2MtqQ1r0VV9X2V2H6 ZQOY5u4CzZYPmEXI5tNwEskFQtV1zAq+YH3DTLSwdPo52T5W4tEtcwaB4Ls6iA7GF8G4Lt UyxcDSpT5h2zidAtVutVe5sY9nOpfMVbzuplCPVjtsyR+gPuWXZFKbK2F53tmg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703029632; a=rsa-sha256; cv=none; b=BRh9/Tok9XkK+BFBRZv7op6Vv1SORub84BtTkx/FKfZaHBeHAF9ZysLaUCh/RF1AgfQZd0 /k5hPpSwa1BkMQF8xXYMUVLzhFjRLhUxONItDBEnKhZFN/mvIQbGQgOtFPVBJfTtBOiQHI a+XuTCG5kKphMffx8ZTKBBALZ1JZR7SuByi8DBJJ03p1aNpB6OuARwBsPSMeMqPvxDodzL SCzLqgHDndS4tdca70X5UikpsMBBkyifDEfq/g+og4J9jnJquWCl6/KySQOF3d2kG93tQb lLn3fMZLDw5+cCR79PV6O6FFBxMie0x2JB2Fwtu0SPkoXFqGoGS4H0r3CoEKZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wmeyer.eu header.s=mail header.b=Oj425fpi; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wmeyer.eu (policy=none) 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 734BA1200C for ; Wed, 20 Dec 2023 00:47:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rFjni-0002XH-Nx; Tue, 19 Dec 2023 18:47:02 -0500 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 ) id 1rFjng-0002X2-Iy for guix-patches@gnu.org; Tue, 19 Dec 2023 18:47:00 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rFjng-0003OB-3e for guix-patches@gnu.org; Tue, 19 Dec 2023 18:47:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rFjni-0004Fv-TF for guix-patches@gnu.org; Tue, 19 Dec 2023 18:47:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67917] [PATCH 1/2] import: cpan: Add 'license:' prefix to license matching. Resent-From: Wilko Meyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Dec 2023 23:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67917 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67917@debbugs.gnu.org Cc: Wilko Meyer Received: via spool by 67917-submit@debbugs.gnu.org id=B67917.170302958316303 (code B ref 67917); Tue, 19 Dec 2023 23:47:02 +0000 Received: (at 67917) by debbugs.gnu.org; 19 Dec 2023 23:46:23 +0000 Received: from localhost ([127.0.0.1]:37958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFjn4-0004Eo-VH for submit@debbugs.gnu.org; Tue, 19 Dec 2023 18:46:23 -0500 Received: from mail.wmeyer.eu ([95.216.196.112]:37324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFjn1-000495-FT for 67917@debbugs.gnu.org; Tue, 19 Dec 2023 18:46:20 -0500 From: Wilko Meyer DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wmeyer.eu; s=mail; t=1703029570; bh=eucKGWwMLWp6TQ/Th8D/9Q1e0LkrPhd4w+cwGvMg5j0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Oj425fpi6i3pumQCV4ufgxQH65z+EemHt0aPlVY+umxkpYo0LuAxXVhkojCkbpDuM /mLWZTsvsttsaUVI7E1kK5twEH/VLb7aMSXc4qmvF9bAneUpNDdtTCpyYPbGNW5pKK x4Jjld/dSXTyXpw7RAvvCTc6zpLkB2GeuKygp5AA= Date: Wed, 20 Dec 2023 00:45:23 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.12 X-Spam-Score: -4.12 X-Migadu-Queue-Id: 734BA1200C X-Migadu-Scanner: mx12.migadu.com X-TUID: vEG0ZUKp5vp1 * guix/import/cpan.scm (string->license): Add 'license:' prefix. Change-Id: If28622edd49a85fac9d6ee83ea595ef419e180b7 --- guix/import/cpan.scm | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/guix/import/cpan.scm b/guix/import/cpan.scm index b87736eef6c..7dd89c02dc7 100644 --- a/guix/import/cpan.scm +++ b/guix/import/cpan.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2020, 2021, 2023 Ludovic Courtès ;;; Copyright © 2022 Hartmut Goebel +;;; Copyright © 2023 Wilko Meyer ;;; ;;; This file is part of GNU Guix. ;;; @@ -103,29 +104,29 @@ (define string->license (match-lambda ;; List of valid values from https://metacpan.org/pod/CPAN::Meta::Spec. ;; Some licenses are excluded based on their absense from (guix licenses). - ("agpl_3" 'agpl3) + ("agpl_3" 'license:agpl3) ;; apache_1_1 - ("apache_2_0" 'asl2.0) + ("apache_2_0" 'license:asl2.0) ;; artistic_1 - ("artistic_2" 'artistic2.0) - ("bsd" 'bsd-3) - ("freebsd" 'bsd-2) + ("artistic_2" 'license:artistic2.0) + ("bsd" 'license:bsd-3) + ("freebsd" 'license:bsd-2) ;; gfdl_1_2 - ("gfdl_1_3" 'fdl1.3+) - ("gpl_1" 'gpl1) - ("gpl_2" 'gpl2) - ("gpl_3" 'gpl3) - ("lgpl_2_1" 'lgpl2.1) - ("lgpl_3_0" 'lgpl3) - ("mit" 'x11) + ("gfdl_1_3" 'license:fdl1.3+) + ("gpl_1" 'license:gpl1) + ("gpl_2" 'license:gpl2) + ("gpl_3" 'license:gpl3) + ("lgpl_2_1" 'license:lgpl2.1) + ("lgpl_3_0" 'license:lgpl3) + ("mit" 'license:x11) ;; mozilla_1_0 - ("mozilla_1_1" 'mpl1.1) - ("openssl" 'openssl) - ("perl_5" 'perl-license) ;GPL1+ and Artistic 1 - ("qpl_1_0" 'qpl) + ("mozilla_1_1" 'license:mpl1.1) + ("openssl" 'license:openssl) + ("perl_5" 'license:perl-license) ;GPL1+ and Artistic 1 + ("qpl_1_0" 'license:qpl) ;; ssleay ;; sun - ("zlib" 'zlib) + ("zlib" 'license:zlib) (#(x) (string->license x)) (#(lst ...) `(list ,@(map string->license lst))) (_ #f))) -- 2.41.0