From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WGeNF12SCGUicAEA9RJhRA:P1 (envelope-from ) for ; Mon, 18 Sep 2023 20:09:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WGeNF12SCGUicAEA9RJhRA (envelope-from ) for ; Mon, 18 Sep 2023 20:09:33 +0200 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 219B062112 for ; Mon, 18 Sep 2023 20:09:33 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=b6Lc4ta9; 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=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695060573; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=uYY/AJQQhuW7T2+fKC7eAUbXPlE/u76pG53r/cysRkw=; b=NzgqEbIEMvsYiG74U8vIR/aJPLzv+/MRb9H+FcR87WvWSewkJFIwX24EV9Ob3y1uB0Dvvd hNHqdhBYhq3zf7OmYmZYSYUBOw2/i1hSsK2h30pvHAGe/xQUgX+58UWtu0SmMEWZn1I3g6 D3Dxr/KQSVURbrGmqDQ+mqIoCeq+nFMQ0mIa4S6cOspiKBPJ6c5tILSTwO/TAE5I+LTa/4 UlfxjjHp8X52rInASeHHyeP4Ac9QOOZnJvIUxm7Ioq1PCS5Kwlbek0zlZBaz1kgkbzZWIE S0n6lkql+XuWONjFUF4vONX1Nf0dzgDzdOrPTzvjo1AXeMemLDcdfA8hntvcIA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=b6Lc4ta9; 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=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695060573; a=rsa-sha256; cv=none; b=OaiX2GM8+zlWqZOSM2GDVrHWd1OQoyHTm+PsdiK/mRwcerDAtLhdU254NPql84UL/5XXDJ vbymVuKyIHx5uo4W5EnW/KTU1YB1hLJwI91148jWyxYXcU35HzXufRmMFJRPc76ueGDrES CGsehVpByX6zez8+Z1IY6ssdE2gcsnW+rMaUvnzRqtWkFtQkW40bIgMymPBRcGmiw12Wqh +WAwCCZT6ElATah9+lZUAuVuJjN4kyWJR5NwmVCqpIopqG4TRHWKwnnWg9ntgj/j3js/Ad I8hmvUGI49+Qe3tlXZ0MDv/no0cwgjHDBoNhMbYghHj9zP5YaS654d1RWuQ4vA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiIeA-000670-BQ; Mon, 18 Sep 2023 14:06:58 -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 ) id 1qiIdG-00054z-Sq for guix-patches@gnu.org; Mon, 18 Sep 2023 14:06:06 -0400 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 1qiIdF-00044h-Q2 for guix-patches@gnu.org; Mon, 18 Sep 2023 14:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qiIdO-0002VY-3l for guix-patches@gnu.org; Mon, 18 Sep 2023 14:06:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66085] [PATCH v2 21/23] DRAFT import: juliahub: Fix undefined homepages. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Sep 2023 18:06:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66085 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62202@debbugs.gnu.org Cc: 66085@debbugs.gnu.org, zimon.toutoune@gmail.com X-Debbugs-Original-Cc: Nicolas Graves via Guix-patches via , Simon Tournier Received: via spool by submit@debbugs.gnu.org id=B.16950603279397 (code B ref -1); Mon, 18 Sep 2023 18:06:09 +0000 Received: (at submit) by debbugs.gnu.org; 18 Sep 2023 18:05:27 +0000 Received: from localhost ([127.0.0.1]:54473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiIch-0002RP-7E for submit@debbugs.gnu.org; Mon, 18 Sep 2023 14:05:27 -0400 Received: from lists.gnu.org ([2001:470:142::17]:34888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiIbk-0002Kr-BV for submit@debbugs.gnu.org; Mon, 18 Sep 2023 14:04:29 -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 ) id 1qiIbM-0002UZ-TJ for guix-patches@gnu.org; Mon, 18 Sep 2023 14:04:06 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qiIbA-0003Qd-LB for guix-patches@gnu.org; Mon, 18 Sep 2023 14:04:04 -0400 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-32163c3ece5so66567f8f.1 for ; Mon, 18 Sep 2023 11:03:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695060230; x=1695665030; darn=gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=uYY/AJQQhuW7T2+fKC7eAUbXPlE/u76pG53r/cysRkw=; b=b6Lc4ta9oQWfLNVoYEpJhDTJw4hJGWAT0xeY8954ktOWULdSZd6A2oti6paQEgXbp9 Z6fVvGfnFTMEHYzJUAY+dRlQEz4aRr72m6CrCylCF/LkJkUpiDavMeDtAJDhJosKRtDw mO8/TtWfLcAybTqfaIrGOBGyKbXCUfUy2VSxhX52y42okZVlHXWDQsT0qDUYvfTEWULL udu/DutH3tQ9diGOBnJw4hTWSwyAqd0vGLSFiUEHq2CdxU5WNv41ozxHtW8kdKCQoPFe ZkXQkgefBGNgXrTCqeT8ul+iZHgSohURBlRUu1Lw82nH5kUnw3M6WM/EkGpMDHYkKFEi 2pqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695060230; x=1695665030; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uYY/AJQQhuW7T2+fKC7eAUbXPlE/u76pG53r/cysRkw=; b=lGULMi0xuvTDVnHdf4WCti128E/33TBQEkXGS+BIv1qA9otQxJAA7hOq6U5MrAGztd fH8zmxDEb9pinhuBG4XRet8WvWVNdJVLz+bHiQQFhAm6gn5BaEJDRBhn/X6+t7TsYFBS 3vO/Ak5II5mywRMbz4VtCtMsgcz3Vjs/P2oO1TO7M3BbJJTfziX3saa3/hYKjBi4RBNg L28NDd9gv+dZ0qb641STBzrTr8ifweeAFsy22f5Q6a8J79cwgG1o2zSmgmVIJQwirNy2 EUY6ZErfR33CcsksEKxX+Txpa1PAYJs5ChLCu+pp/p4uR/xxuR1Fnv3l+CZf56xJPJYs +xhg== X-Gm-Message-State: AOJu0YzPhyUSZwiwCkPIrtO0FCjVvHfHhfEMhgjMdFSN0kysFeYM9R94 N02AxrTAgw5p+JRt7RHth1w= X-Google-Smtp-Source: AGHT+IE6eQseNiqfFi/Ezv3j0C1Ycd3JlAzoZG9EyzKvCy56J/FK4ShX4i6We0w+oAHpac8K51qnUQ== X-Received: by 2002:a05:6000:1047:b0:31f:a096:6e18 with SMTP id c7-20020a056000104700b0031fa0966e18mr7724055wrx.6.1695060230342; Mon, 18 Sep 2023 11:03:50 -0700 (PDT) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id z2-20020adfd0c2000000b0030ada01ca78sm2210465wrh.10.2023.09.18.11.03.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 11:03:50 -0700 (PDT) From: Simon Tournier Date: Mon, 18 Sep 2023 20:03:28 +0200 Message-Id: X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Scanner: mx1.migadu.com X-Migadu-Spam-Score: 0.19 X-Spam-Score: 0.19 X-Migadu-Queue-Id: 219B062112 X-TUID: TBmjKYfSzzQm From: Nicolas Graves via Guix-patches via Signed-off-by: Simon Tournier --- guix/import/juliahub.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/guix/import/juliahub.scm b/guix/import/juliahub.scm index 94d4ae823334..06574db724fe 100644 --- a/guix/import/juliahub.scm +++ b/guix/import/juliahub.scm @@ -303,12 +303,16 @@ (define* (juliahub->guix-package package-name (if subdir (parse-test-dependencies (string-append subdir "/" directory)) - (parse-test-dependencies directory)))) + (parse-test-dependencies directory))) + (homepage (juliahub-package-homepage package))) (values (make-julia-sexp package-name (juliahub-package-version package) source - (juliahub-package-homepage package) + (match homepage + ("" (juliahub-package-url package)) + ((? string?) homepage) + (_ (juliahub-package-url package))) (juliahub-package-description package) ((compose beautify-description juliahub-beautify-description) -- 2.38.1