[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/21: gnu: help2man: Remove input labels.
From: |
guix-commits |
Subject: |
08/21: gnu: help2man: Remove input labels. |
Date: |
Thu, 30 Jun 2022 17:27:35 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 79beb855991c907159bd7fa16feb47e1bc09ac9b
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Jun 30 13:39:54 2022 +0200
gnu: help2man: Remove input labels.
* gnu/packages/man.scm (help2man)[arguments]: Rewrite as G-expression.
[inputs, native-inputs]: Remove labels.
---
gnu/packages/man.scm | 50 +++++++++++++++++++++++++-------------------------
1 file changed, 25 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm
index 98a285593e..89db08cab8 100644
--- a/gnu/packages/man.scm
+++ b/gnu/packages/man.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2015, 2016, 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017–2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018, 2019 Rutger Helling <rhelling@mykolab.com>
-;;; Copyright © 2018, 2019 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2018, 2019, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
@@ -310,33 +310,33 @@ Linux kernel and C library interfaces employed by
user-space programs.")
(version "1.49.2")
(source
(origin
- (method url-fetch)
- (uri (string-append "mirror://gnu/help2man/help2man-"
- version ".tar.xz"))
- (sha256
- (base32
- "0dnxx96lbcb8ab8yrdkqll14cl5n0bch8qpd9qj3c2ky78hhwbly"))))
+ (method url-fetch)
+ (uri (string-append "mirror://gnu/help2man/help2man-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "0dnxx96lbcb8ab8yrdkqll14cl5n0bch8qpd9qj3c2ky78hhwbly"))))
(build-system gnu-build-system)
- (arguments `(;; There's no `check' target.
- #:tests? #f
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-help2man-with-perl-gettext
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((lib (assoc-ref inputs "perl-gettext"))
- (fmt "use lib '~a/lib/perl5/site_perl';~%~a"))
- (substitute* "help2man.PL"
- (("^use Locale::gettext.*$" load)
- (format #f fmt lib load))))
- #t)))))
+ (arguments
+ (list
+ #:tests? #f ;no `check' target
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-help2man-with-perl-gettext
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((lib #$(this-package-input "perl-gettext"))
+ (fmt "use lib '~a/lib/perl5/site_perl';~%~a"))
+ (substitute* "help2man.PL"
+ (("^use Locale::gettext.*$" load)
+ (format #f fmt lib load)))))))))
(inputs
- `(("perl" ,perl)
- ,@(if (%current-target-system)
- '()
- `(("perl-gettext" ,perl-gettext)))))
+ (append
+ (list perl)
+ (if (%current-target-system)
+ '()
+ (list perl-gettext))))
(native-inputs
- `(("perl" ,perl)
- ("gettext" ,gettext-minimal)))
+ (list perl gettext-minimal))
(home-page "https://www.gnu.org/software/help2man/")
(synopsis "Automatically generate man pages from program --help")
(description
- branch core-updates updated (4bc6888f5e -> 2a023a7bd8), guix-commits, 2022/06/30
- 02/21: gnu: dejagnu: Use G-expressions., guix-commits, 2022/06/30
- 04/21: gnu: libgc: Use new style., guix-commits, 2022/06/30
- 06/21: gnu: zlib: Use G-expression., guix-commits, 2022/06/30
- 03/21: gnu: jsoncpp@1.7.3: Fix build failure., guix-commits, 2022/06/30
- 07/21: gnu: help2man: Update to 1.49.2., guix-commits, 2022/06/30
- 16/21: gnu: OpenBLAS: Use G-expressions., guix-commits, 2022/06/30
- 01/21: gnu: dejagnu: Fix test failure., guix-commits, 2022/06/30
- 08/21: gnu: help2man: Remove input labels.,
guix-commits <=
- 09/21: gnu: icu4c: Remove input labels., guix-commits, 2022/06/30
- 12/21: gnu: pcre: Use G-expression., guix-commits, 2022/06/30
- 14/21: gnu: tcsh: Use G-expression., guix-commits, 2022/06/30
- 17/21: gnu: libaio: Update to 0.3.113., guix-commits, 2022/06/30
- 20/21: gnu: yelp-xsl: Remove obsolete input., guix-commits, 2022/06/30
- 21/21: gnu: yelp-xsl: Remove input labels., guix-commits, 2022/06/30
- 15/21: gnu: Boost: Use G-expressions., guix-commits, 2022/06/30
- 18/21: gnu: itstool: Update to 2.0.7., guix-commits, 2022/06/30
- 10/21: gnu: pcre2: Update to 10.40., guix-commits, 2022/06/30
- 19/21: gnu: itstool: Use G-expression., guix-commits, 2022/06/30