guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

28/32: import/utils: Add more initial words to beautify-description.


From: guix-commits
Subject: 28/32: import/utils: Add more initial words to beautify-description.
Date: Wed, 19 Jul 2023 09:55:58 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 45bf1a9a6b2791037a318a2ea8a337f4c617c98c
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Jul 19 15:23:32 2023 +0200

    import/utils: Add more initial words to beautify-description.
    
    * guix/import/utils.scm (beautify-description): Add "Classes" and "Tools" to
    initial words to be prefixed with "This package provides".
---
 guix/import/utils.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/guix/import/utils.scm b/guix/import/utils.scm
index 5176f12a31..2ffc13bae3 100644
--- a/guix/import/utils.scm
+++ b/guix/import/utils.scm
@@ -2,7 +2,7 @@
 ;;; Copyright © 2012, 2013, 2018, 2019, 2020, 2023 Ludovic Courtès 
<ludo@gnu.org>
 ;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org>
 ;;; Copyright © 2016 David Craven <david@craven.ch>
-;;; Copyright © 2017, 2019, 2020, 2022 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2017, 2019, 2020, 2022, 2023 Ricardo Wurmus 
<rekado@elephly.net>
 ;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
 ;;; Copyright © 2019 Robert Vollmert <rob@vllmrt.net>
 ;;; Copyright © 2020 Helio Machado <0x2b3bfa0+guix@googlemail.com>
@@ -342,7 +342,8 @@ LENGTH characters."
                             (char-set #\space #\newline))))
          (new-words
           (match words
-            (((and (or "A" "Functions" "Methods") first) . rest)
+            (((and (or "A" "Classes" "Functions" "Methods" "Tools")
+                   first) . rest)
              (cons* "This" "package" "provides"
                     (string-downcase first) rest))
             (((and (or "Contains"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]