From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id z8SLNamKiGOGxwAAbAwnHQ (envelope-from ) for ; Thu, 01 Dec 2022 12:06:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GLeINKmKiGMMAgEA9RJhRA (envelope-from ) for ; Thu, 01 Dec 2022 12:06:17 +0100 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 865DC3E59E for ; Thu, 1 Dec 2022 12:06:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0hOJ-0005FY-13; Thu, 01 Dec 2022 06:06:07 -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 1p0hOH-0005FQ-US for guix-patches@gnu.org; Thu, 01 Dec 2022 06:06:05 -0500 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 ) id 1p0hOH-0001A6-MO for guix-patches@gnu.org; Thu, 01 Dec 2022 06:06:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p0hOE-0007pX-Hj for guix-patches@gnu.org; Thu, 01 Dec 2022 06:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#58623] [PATCH v2 0/6] import/cran: Parameterize for guix-cran. Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 Dec 2022 11:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58623 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: rekado@elephly.net, 58623@debbugs.gnu.org Received: via spool by 58623-submit@debbugs.gnu.org id=B58623.166989272630092 (code B ref 58623); Thu, 01 Dec 2022 11:06:02 +0000 Received: (at 58623) by debbugs.gnu.org; 1 Dec 2022 11:05:26 +0000 Received: from localhost ([127.0.0.1]:39043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0hNd-0007pI-V2 for submit@debbugs.gnu.org; Thu, 01 Dec 2022 06:05:26 -0500 Received: from mout-p-101.mailbox.org ([80.241.56.151]:36680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0hNY-0007p9-Jg for 58623@debbugs.gnu.org; Thu, 01 Dec 2022 06:05:24 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4NNCsP0ct5z9sQw; Thu, 1 Dec 2022 12:05:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1669892713; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Ikg+VKmUD48kfyeXBa3+Gy48vajTq/1DLhCrwEIneTU=; b=H38k8jqOxduimIU4QBGBAvMJvHPTwhKUL6RJ9EdQbvegxX94Z20tcPfRcWvdsaRsrAmakO fMEDtulYhCKe5bZJZNcR2V83hSeABTaJQU86dRdnHqUoAVogIRKli+soeizSdHbwIWJi1E la9136oS38zjy9qtYp3mH/o+b3EmNkJbXVnhnFTgbjooI5S9YJ+eo1LNJd6k7n2k1Lu3ON kRO/I+Ogt5AhSEP35xcCV1uWtUQpyooVJhKluxJtFc/+mGP/Dk7I7ipiJVcXQTCK1fXl2S oo6AsnHFQZIe0gWKIfYOr2GAr0myIMzBXufWOYP37ukrZi3GSix2j29wDF3Ibg== Date: Thu, 1 Dec 2022 12:05:09 +0100 From: Lars-Dominik Braun Message-ID: References: <87iljti0w9.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="vUTgcMuoUpxUUEpO" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4NNCsP0ct5z9sQw 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669892777; 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: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=Ikg+VKmUD48kfyeXBa3+Gy48vajTq/1DLhCrwEIneTU=; b=iQRhTtEJcYQaKpWQFx2acto58hJqYC8Uiq3lClyQsIhzMTB4rh9lRgT1aSOHDP5lNpNHku /x+cklahNvzwhCHFWGMiruyPsSLvqgbpeDNk2R9/RtCUbI1/WwWMyjgGu5Sz329RTGw3E0 kzR//mN/NWb4awWaR5GvKAvLkQxOGun93oALm3ODR42xsS0foyuWhD6L0eng/4bKXOLgl5 Kzi9oxcQFkH+05AA7UGYX05QklEQbxRCjFDFmLrkqJzT1voItpm59eE/V2PpJnhFlql8T2 WKFYPqXpveLZQKZRpAaqvxtiF17Hi86srM96PGxp4Dhax4USmo9MMKKKUme/5g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669892777; a=rsa-sha256; cv=none; b=ttjX5wXtR6k7tnfqM9+/45P0Olk/LoUHWF4yDQYrWbDIcxYsRKd114YZj8k87bExWWSwFw r+PX7uyZjg0jX16DNn3De1D+0xMVH9yOJpgrkG3gdalJKgAW+vEcArs7UYoAL/WyCLt7aR f5l7FWGeRsgPmW+6an87Ks5nRqxXMasXXrFznlEwQUdIZY7qZABpMgHlBpFGOXI7MNjStf WL5xgRO2nn3kH7DKY9VIA+CRwwLV7yBqAmwAIXWcAF0BZDjNZ2DY77qwzl8UbM4XoGGBkx BiPa451vw1jTeM3IXa+qKCEuVq2SRv/0/tn10VW0h8CtsL7fnZ1WB0H4DJVqwQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=6xq.net header.s=MBO0001 header.b=H38k8jqO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=6xq.net (policy=none); 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" X-Migadu-Spam-Score: 5.84 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=6xq.net header.s=MBO0001 header.b=H38k8jqO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=6xq.net (policy=none); 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" X-Migadu-Queue-Id: 865DC3E59E X-Spam-Score: 5.84 X-Migadu-Scanner: scn1.migadu.com X-TUID: EPRFiJz5Wuen --vUTgcMuoUpxUUEpO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, looks like I missed an inconsistency, which is fixed by the attched, additional patch. Cheers, Lars --vUTgcMuoUpxUUEpO Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0007-import-cran-Depend-on-gfortran-if-.f-files-are-detec.patch" >From f980c02442ab1cc01787a6cc8462f747ccc5ff11 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Thu, 1 Dec 2022 12:00:53 +0100 Subject: [PATCH v2 7/7] import/cran: Depend on gfortran if .f files are detected too. There was an inconsistency between tarball-needs-fortran? and directory-needs-fortran?. * guix/import/cran.scm (directory-needs-fortran?): Match .f files too. --- guix/import/cran.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/import/cran.scm b/guix/import/cran.scm index f130543c4c..c71ff957b6 100644 --- a/guix/import/cran.scm +++ b/guix/import/cran.scm @@ -438,7 +438,7 @@ (define cran-guix-name (cut guix-name "r-" <>)) (define (directory-needs-fortran? dir) "Check if the directory DIR contains Fortran source files." - (match (find-files dir "\\.f(90|95)$") + (match (find-files dir "\\.f(90|95)?$") (() #f) (_ #t))) -- 2.37.4 --vUTgcMuoUpxUUEpO--