From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +GqJGCq5FWQRJAEASxT56A (envelope-from ) for ; Sat, 18 Mar 2023 14:14:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4EZsFyq5FWRQlQAAG6o9tA (envelope-from ) for ; Sat, 18 Mar 2023 14:14:18 +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 F15AB29B3E for ; Sat, 18 Mar 2023 14:14:17 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679145258; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=5iqXY3Iok6/s1gvGFwDLBrINd3P5/rB3wb1G4giFnrY=; b=VnPBV5/iIZwFfYQ8hRrWWDH4yrXrPZfahlChRL/U/ErV4Wuv45YKfnjCz8cb5jJR0x2Qjk utsbZEE7Eh5pZq7tuUE9XUC+/9hI+m89waHLN3SD0DMEIXdZpCvGx6+Q50IKfPLfOkYqF6 fWHZNWjOmwTcmSJHcHe9+WZBCSkJTtjEuYGNmtXDrMwjTUweL43v4lK01pG5z0eGsSomqp Xiz0Ngkg+P/XLApP1reApCORqB5mk3FrMqxNdirBoWiV+t4JPMitGLy6tC9+rUN4K3ZHAZ QGL0XzmS6kVqr20kDjMN8YDLi6+8zqsfuVgxfkU6UeXUUk6xfyo6t+/p+422MA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679145258; a=rsa-sha256; cv=none; b=utuvjWpV668h6awl12ywQni1Y51ih7fWnJhOg2AP3yGxv+3cWg4XP0HrfDrz6l7xJ1bAjJ YAiyLDyotSSYHDCE91oM1phFdmWWI6Q2WbW/AW+Mj4xn+uHiptAdAnwtxCEVKcLPsQdL7V RaKDwyZ9fYsRelkVjjsl5UwBwKdWVsKkZqJA411DERacewS8WOAox8zf0oyf2Fxl0tKV5P /XF5P4cJ5v8L5UtmQchMdwa+U67vIAif61gSK5eGy+46v/3QKc60P+Utd0cLxam0JxgcKK gxraCSdHsBUcQ5wo0YesA/bGeGRvY0PWEmeL+PSxqpkoBpw79VduGmobT/VI7w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdWNw-0003r6-9m; Sat, 18 Mar 2023 09:14:12 -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 1pdWNn-0003qc-98 for guix-patches@gnu.org; Sat, 18 Mar 2023 09:14:04 -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 1pdWNm-0008E5-IL for guix-patches@gnu.org; Sat, 18 Mar 2023 09:14:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pdWNm-00031G-12 for guix-patches@gnu.org; Sat, 18 Mar 2023 09:14:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62254] [PATCH] guix: Shorten URL for home page in texlive importer. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Mar 2023 13:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62254 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62254@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167914521411560 (code B ref -1); Sat, 18 Mar 2023 13:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Mar 2023 13:13:34 +0000 Received: from localhost ([127.0.0.1]:46630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdWNK-00030O-9X for submit@debbugs.gnu.org; Sat, 18 Mar 2023 09:13:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:52864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdWNI-00030D-Py for submit@debbugs.gnu.org; Sat, 18 Mar 2023 09:13:33 -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 1pdWNI-0003pC-EL for guix-patches@gnu.org; Sat, 18 Mar 2023 09:13:32 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdWNG-0008Bc-Ex for guix-patches@gnu.org; Sat, 18 Mar 2023 09:13:32 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 902CC10000A for ; Sat, 18 Mar 2023 13:13:25 +0000 (UTC) From: Nicolas Goaziou Date: Sat, 18 Mar 2023 14:13:19 +0100 Message-Id: <20230318131319.272034-1-mail@nicolasgoaziou.fr> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=217.70.178.231; envelope-from=mail@nicolasgoaziou.fr; helo=relay11.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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: X-Migadu-Queue-Id: F15AB29B3E X-Spam-Score: -2.05 X-Migadu-Spam-Score: -2.05 X-Migadu-Scanner: scn0.migadu.com 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-Country: US X-Migadu-Flow: FLOW_IN X-TUID: jFdQvWUmTYEX * guix/import/texlive.scm (tlpdb->package): Use short URL for home page. --- guix/import/texlive.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/guix/import/texlive.scm b/guix/import/texlive.scm index 82014ee568..e77b2a3f9a 100644 --- a/guix/import/texlive.scm +++ b/guix/import/texlive.scm @@ -286,9 +286,10 @@ (define (tlpdb->package name version package-database) (string->symbol name))) inputs)))))) '()) - ,@(or (and=> (assoc-ref data 'catalogue-ctan) - (lambda (url) - `((home-page ,(string-append "https://ctan.org" url))))) + ,@(or (and=> (assoc-ref data 'name) + (lambda (name) + `((home-page ,(string-append "https://www.ctan.org/pkg/" + name))))) '((home-page "https://www.tug.org/texlive/"))) (synopsis ,(assoc-ref data 'shortdesc)) (description ,(beautify-description base-commit: 3893758dac76fc30b23d4715e849e262306f268d -- 2.39.2