From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id OKtvEVWOM2Z/FQAAe85BDQ:P1 (envelope-from ) for ; Thu, 02 May 2024 15:00:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id OKtvEVWOM2Z/FQAAe85BDQ (envelope-from ) for ; Thu, 02 May 2024 15:00:05 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=dwhTSsLz; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714654805; h=from:from:sender:sender:reply-to: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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=fByKIBXthAvsfmMnnC31qnD8RjAj8a92j01AGIDNn4c=; b=SjRBPrdoqm5YY8IVvaAWXRLsml59qIa2bvLv8DmO4zlTA9TnThkC1j6ODJvH8XSKqR59qI 3K7Zp7fP9oCoaR6M3cy3S8N+5aRtmaje1yA32wKs4VRd9LHPyVVn1O+UFTD4q4eQftLHd0 UIHE02mgCDc3rNelmtCP9mmK/vZrg3Rfg5pR+xrfWYb7DR1ebNMYuZhEbkMY8zGqT8ROSU YYEAVUFzgW040iL/YUXPBQle4etCrzCzsfPPNBTPr1Lf395im+0b2bIbJLYUglTelpTQEU a0a1shHjJTLX00EDktW45EyHIWQvuMBw52EJsWjNp24V8QEMPdivOgkjaJnZ3A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=dwhTSsLz; 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=1714654805; a=rsa-sha256; cv=none; b=bRMV9btA4Up+FrNh1fKZx3s+MKaeNg3D5OfHCOBo3c0ehucYpcnXQ++/9xFIqP075i1P+F 8ufEtm/tVY3kbuF/B6JgK2F4AOrRfBLuXsHkJpjAPU7BB1U8kOszAY7C3GmfF4LV/0EkNQ PZV7r+pjGe6jCT3iiv96qjdpxA8MlwdIs3tx1GMqZTUhj+k0Jr+7N4OUsYfQkmdVj0H1Us mlNn1/vL8CKgW//2znLjCPmUNYlC4hjt9tXCrIrcd7bTS3jTEJQgtS4Vv1JzfmtzO36Bel 6dA5Qf0uQBfcW96aRaoIKqDpc8gj2PtriwsTTe92BIxSmNdPsvyO/Q+exW5YRA== 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 1E79DC0A9 for ; Thu, 2 May 2024 15:00:05 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2W2R-00028O-Tj; Thu, 02 May 2024 08:59:51 -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 1s2W2L-00026t-DQ for guix-patches@gnu.org; Thu, 02 May 2024 08:59:45 -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 1s2W2H-0000Xm-A6 for guix-patches@gnu.org; Thu, 02 May 2024 08:59:44 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s2W2d-0005hc-21 for guix-patches@gnu.org; Thu, 02 May 2024 09:00:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70715] [PATCH 3/4] guix: Include a main verb in crate importer descriptions. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 02 May 2024 13:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70715 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70715@debbugs.gnu.org Received: via spool by 70715-submit@debbugs.gnu.org id=B70715.171465478221857 (code B ref 70715); Thu, 02 May 2024 13:00:03 +0000 Received: (at 70715) by debbugs.gnu.org; 2 May 2024 12:59:42 +0000 Received: from localhost ([127.0.0.1]:43637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2W2I-0005gS-4j for submit@debbugs.gnu.org; Thu, 02 May 2024 08:59:42 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:53769 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2W2F-0005fj-59 for 70715@debbugs.gnu.org; Thu, 02 May 2024 08:59:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1714654749; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fByKIBXthAvsfmMnnC31qnD8RjAj8a92j01AGIDNn4c=; b=dwhTSsLzyc0EsoRLJd+qCermNcz26Q0gj99KnBjyp6X3OnGPYfBbrgHQNo+vNrp9g9Zo56 fp14/ALxb6OIxWvj/V9gkKRZWiMWHSaKkIPn8+Mx4krwml0x6v6ZL8PaBIIWgs1CPd74FX Zf63MnDGhFBV5YYxTg6GLVvAfshk1ZAlAEBDqwPpKkEYN0xo+1avRL/OYAh//im+QU3n/s 5YDjKOz8GZSHIwDVDq9AigMsxochyt+Cc+8Vu0RE9+o6hzGY/48SBct3bDE6W+BJpK2vrJ 0stIjakRxCBMt5Edbb4ALE8nmp33tnGs6gZMtlLvWA04rE7+1yA4ZCyUMqGCSQ== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 331010a5 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <70715@debbugs.gnu.org>; Thu, 2 May 2024 12:59:09 +0000 (UTC) Date: Thu, 2 May 2024 14:58:59 +0200 Message-ID: <20240502125900.15177-3-herman@rimm.ee> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240502125900.15177-1-herman@rimm.ee> References: <20240502125900.15177-1-herman@rimm.ee> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm 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 X-Spam-Score: -6.39 X-Migadu-Queue-Id: 1E79DC0A9 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.39 X-TUID: JqPS8gBCvj/V * guix/import/crate.scm (make-crate-sexp): Start description with 'This package provides '. Change-Id: Id627759fb23da14fa7cb84e5dffb3bfc41950eab --- guix/import/crate.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/guix/import/crate.scm b/guix/import/crate.scm index 2f74333fa9..e739faa503 100644 --- a/guix/import/crate.scm +++ b/guix/import/crate.scm @@ -187,6 +187,7 @@ (define (format-inputs inputs) (guix-name (crate-name->package-name name)) (cargo-inputs (format-inputs cargo-inputs)) (cargo-development-inputs (format-inputs cargo-development-inputs)) + (description (beautify-description description)) (pkg `(package (name ,guix-name) (version ,version) @@ -212,7 +213,10 @@ (define (format-inputs inputs) (maybe-cargo-inputs cargo-inputs))) (home-page ,home-page) (synopsis ,(beautify-synopsis synopsis)) - (description ,(beautify-description description)) + (description ,(if (string-prefix? "This" description) + description + (string-append "This package provides " + description))) (license ,(match license (() #f) (#f #f) -- 2.41.0