From patchwork Wed Mar 15 12:51:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 48034 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9E89416CAB; Wed, 15 Mar 2023 12:54:01 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=ham 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 28D4216B5A for ; Wed, 15 Mar 2023 12:54:00 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pcQdG-0004L5-6a; Wed, 15 Mar 2023 08:53:30 -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 1pcQcq-0003x6-Sl for guix-patches@gnu.org; Wed, 15 Mar 2023 08:53:05 -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 ) id 1pcQcp-0003Mx-VN for guix-patches@gnu.org; Wed, 15 Mar 2023 08:53:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pcQcp-0001dd-RK for guix-patches@gnu.org; Wed, 15 Mar 2023 08:53:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62202] [PATCH 19/21] import: juliahub: Fix undefined homepages. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Mar 2023 12:53:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62202 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62202@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 62202-submit@debbugs.gnu.org id=B62202.16788847426192 (code B ref 62202); Wed, 15 Mar 2023 12:53:03 +0000 Received: (at 62202) by debbugs.gnu.org; 15 Mar 2023 12:52:22 +0000 Received: from localhost ([127.0.0.1]:39358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcQc9-0001bi-IV for submit@debbugs.gnu.org; Wed, 15 Mar 2023 08:52:21 -0400 Received: from 4.mo561.mail-out.ovh.net ([178.33.46.10]:39613) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcQc0-0001ag-Nq for 62202@debbugs.gnu.org; Wed, 15 Mar 2023 08:52:13 -0400 Received: from director10.ghost.mail-out.ovh.net (unknown [10.109.146.173]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id B615B22EE8 for <62202@debbugs.gnu.org>; Wed, 15 Mar 2023 12:52:11 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-lwhtl (unknown [10.110.208.172]) by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 537E31FEB9; Wed, 15 Mar 2023 12:52:11 +0000 (UTC) Received: from ngraves.fr ([37.59.142.102]) by ghost-submission-6684bf9d7b-lwhtl with ESMTPSA id D8cAEnu/EWR4BgEAQqKfuQ (envelope-from ); Wed, 15 Mar 2023 12:52:11 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-102R004f32b1969-728a-4725-a3a8-c79f4eec9019, F74D9BBE9ED44B45FF66447495DD0B0753EB5D4A) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 Date: Wed, 15 Mar 2023 13:51:28 +0100 Message-Id: <20230315125130.23041-19-ngraves@ngraves.fr> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230315125130.23041-1-ngraves@ngraves.fr> References: <20230315125130.23041-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 13797621887618638562 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvddvkedggeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdefjedrheelrddugedvrddutddvnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeivddvtddvseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedupdhmohguvgepshhmthhpohhuth 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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 --- 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 94d4ae8233..06574db724 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)