From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IMOhFui/EWQhGQAASxT56A (envelope-from ) for ; Wed, 15 Mar 2023 13:54:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2C2nFui/EWRUoAAA9RJhRA (envelope-from ) for ; Wed, 15 Mar 2023 13:54:00 +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 373DAFA72 for ; Wed, 15 Mar 2023 13:54:00 +0100 (CET) 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 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 Content-Transfer-Encoding: 8bit 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 From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678884840; a=rsa-sha256; cv=none; b=agyViNAasw6F51RG390IffYVwOLySufVQn0bfp8jE9cbOs7eBfO138HPIrV9QEYGmrYWh7 lLALuFCfHgtXBAATTp1tq1Et0nS7SdRTYlUf4E5Xn7kNLhkPAYl9zyp68QrVxh3VoYCcwM 0DFaX3YR1bk+7hzWIO4D0Ke6NYquH+js4iJHnkxMaxx1laOMI9ElzWniRQt+zBf8TrL0S/ +mGNlR67nGJXQXpNig29zsV+TR5GwIqA7PMEpcKu2tP0DZHIk8IluBvT+v66KImsnACMPU H2uiUEbYenvO5ZTWQ90RKqKZMyXnckt+d3Kt1LdOW1k5ZjfRix6W4iM3SGEtIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678884840; h=from:from:sender:sender:reply-to: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; bh=rRsoDkQoFfBLZ1Vl/ofKTuk6a/a4mm+uuV9sFS+FC3I=; b=fYr+qgJo4HNBRxskp+pD6PYtUTcTRLMsKRU1O80uXMqh2Pf8zO1adP4iZQn92tYMeTV0yq 7ePEZmVbgYqKTX2FWDuv1OOBYJWfixGsi/3mcFwJbei633K5Q0clqrtRBUDTvZhg9sTUuz /9BOrL5yuk9cJ/zBhTgPe50nWsPjFydSCQ0SKHt5RnFM1qcbPsiYUwlh/GFYQUlPxn/5Ot rVUGKt0VUUxyVo44Xz5GC/T7cei+ZFLJYtH7tGSIGOHovcqMNtKF79dNHRtP1VsFtSJDcj nx3n8poCliSf3HFWJyXcoOfTN+d5tmKNlt5upl9So9pzWvcl7lQegWBW3Kxd9g== X-Migadu-Spam-Score: -1.73 X-Spam-Score: -1.73 X-Migadu-Queue-Id: 373DAFA72 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=pass (policy=none) header.from=gnu.org X-TUID: QIXd4aje6ERX --- 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) -- 2.39.2