[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/25: gnu: GnuPG: Use G-expression.
From: |
guix-commits |
Subject: |
09/25: gnu: GnuPG: Use G-expression. |
Date: |
Sat, 23 Jul 2022 13:44:48 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit fff973b03c4889b30744c4b2a02ff8c6915bb786
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Jul 20 02:57:50 2022 +0200
gnu: GnuPG: Use G-expression.
* gnu/packages/gnupg.scm (gnupg)[arguments]: Convert to gexp. Remove input
label usage, and simplify regular expression.
---
gnu/packages/gnupg.scm | 62 ++++++++++++++++++++++++++------------------------
1 file changed, 32 insertions(+), 30 deletions(-)
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 74ff871c58..ba9242a09b 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -316,37 +316,39 @@ compatible to GNU Pth.")
readline
sqlite
zlib))
- (arguments
- `(#:configure-flags '(;; Otherwise, the test suite looks for the `gpg`
- ;; executable in its installation directory in
- ;; /gnu/store before it has been installed.
- "--enable-gnupg-builddir-envvar"
- "--enable-all-tests")
+ (arguments
+ (list
+ #:configure-flags #~'(;; Otherwise, the test suite looks for the `gpg`
+ ;; executable in its installation directory in
+ ;; /gnu/store before it has been installed.
+ "--enable-gnupg-builddir-envvar"
+ "--enable-all-tests")
#:phases
- (modify-phases %standard-phases
- (add-before 'configure 'patch-paths
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "scd/scdaemon.c"
- (("\"(libpcsclite\\.so[^\"]*)\"" _ name)
- (string-append "\"" (assoc-ref inputs "pcsc-lite")
- "/lib/" name "\"")))))
- (add-after 'build 'patch-scheme-tests
- (lambda _
- (substitute* (find-files "tests" ".\\.scm$")
- (("/usr/bin/env gpgscm")
- (string-append (getcwd) "/tests/gpgscm/gpgscm")))))
- (add-before 'build 'patch-test-paths
- (lambda _
- (substitute* '("tests/inittests"
- "tests/pkits/inittests"
- "tests/Makefile"
- "tests/pkits/common.sh"
- "tests/pkits/Makefile")
- (("/bin/pwd") (which "pwd")))
- (substitute* "common/t-exectool.c"
- (("/bin/cat") (which "cat"))
- (("/bin/true") (which "true"))
- (("/bin/false") (which "false"))))))))
+ #~(modify-phases %standard-phases
+ (add-before 'configure 'patch-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((libpcsclite.so (search-input-file inputs
+ "lib/libpcsclite.so")))
+ (substitute* "scd/scdaemon.c"
+ (("libpcsclite\\.so")
+ libpcsclite.so)))))
+ (add-after 'build 'patch-scheme-tests
+ (lambda _
+ (substitute* (find-files "tests" ".\\.scm$")
+ (("/usr/bin/env gpgscm")
+ (string-append (getcwd) "/tests/gpgscm/gpgscm")))))
+ (add-before 'build 'patch-test-paths
+ (lambda _
+ (substitute* '("tests/inittests"
+ "tests/pkits/inittests"
+ "tests/Makefile"
+ "tests/pkits/common.sh"
+ "tests/pkits/Makefile")
+ (("/bin/pwd") (which "pwd")))
+ (substitute* "common/t-exectool.c"
+ (("/bin/cat") (which "cat"))
+ (("/bin/true") (which "true"))
+ (("/bin/false") (which "false"))))))))
(home-page "https://gnupg.org/")
(synopsis "GNU Privacy Guard")
(description
- branch core-updates updated (5d970dfa89 -> c4386d0603), guix-commits, 2022/07/23
- 01/25: gnu: SQLite: Update to 3.39.1., guix-commits, 2022/07/23
- 05/25: gnu: make-autoconf-wrapper: Remove input labels., guix-commits, 2022/07/23
- 06/25: gnu: libtool: Don't reference bash by label., guix-commits, 2022/07/23
- 08/25: gnu: GnuPG: Update to 2.2.36., guix-commits, 2022/07/23
- 09/25: gnu: GnuPG: Use G-expression.,
guix-commits <=
- 07/25: gnu: libpaper: Update to 1.2.2., guix-commits, 2022/07/23
- 20/25: gnu: gpgme: Update to 1.17.1., guix-commits, 2022/07/23
- 11/25: gnu: cyrus-sasl: Fix indentation., guix-commits, 2022/07/23
- 03/25: gnu: automake: Remove input labels., guix-commits, 2022/07/23
- 02/25: gnu: automake: Update to 1.16.5., guix-commits, 2022/07/23
- 04/25: gnu: autoconf: Remove input labels., guix-commits, 2022/07/23
- 17/25: gnu: source-highlight: Fix build with newer GCC., guix-commits, 2022/07/23
- 18/25: gnu: gdk-pixbuf: Update to 2.42.8., guix-commits, 2022/07/23
- 21/25: gnu: python-markupsafe: Update to 2.1.1., guix-commits, 2022/07/23
- 25/25: gnu: pcsc-lite: Add missing Python input., guix-commits, 2022/07/23