[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
135/184: gnu: parcimonie: Update to 0.11.0.
From: |
guix-commits |
Subject: |
135/184: gnu: parcimonie: Update to 0.11.0. |
Date: |
Wed, 27 Nov 2019 14:37:14 -0500 (EST) |
kkebreau pushed a commit to branch wip-gnome-updates
in repository guix.
commit 11f50a6c149cf9018a01615d72b5b1d326c5957c
Author: Efraim Flashner <address@hidden>
Date: Sat Nov 9 22:20:15 2019 +0200
gnu: parcimonie: Update to 0.11.0.
* gnu/packages/gnupg.scm (parcimonie): Update to 0.11.0.
[inputs]: Remove gnupg-1. Add gnupg, perl-moox-strictconstructor,
perl-strictures-2.
[native-inputs]: Add xorg-xerver.
[arguments]: Add prepare-for-tests phase. Roll in set-HOME phase and
start an X server. Delete tests known to fail. In fix-references phase,
update for new version.
---
gnu/packages/gnupg.scm | 34 +++++++++++++++++++++-------------
1 file changed, 21 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index ed89b26..f71c627 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -65,6 +65,7 @@
#:use-module (gnu packages tls)
#:use-module (gnu packages tor)
#:use-module (gnu packages web)
+ #:use-module (gnu packages xorg)
#:use-module (gnu packages xml)
#:use-module (guix packages)
#:use-module (guix download)
@@ -995,7 +996,7 @@ files, to verify signatures, and to manage the private and
public keys.")
(define-public parcimonie
(package
(name "parcimonie")
- (version "0.10.3")
+ (version "0.11.0")
(source (origin
(method url-fetch)
(uri (string-append "https://gaffer.boum.org/intrigeri/files/"
@@ -1003,10 +1004,10 @@ files, to verify signatures, and to manage the private
and public keys.")
version ".tar.gz"))
(sha256
(base32
- "1kf891117s1f3k6lxvbjdb21va9gxh29vlp9bd664ssgw266rcyb"))))
+ "14pvapvzrxh1yh8zgcj1llmc2dd8g1fgzskxlja21gmw8c88aqdk"))))
(build-system perl-build-system)
(inputs
- `(("gnupg" ,gnupg-1) ; This is the version used by perl-gnupg-interface
+ `(("gnupg" ,gnupg)
("perl-config-general" ,perl-config-general)
("perl-clone" ,perl-clone)
("perl-data" ,perl-data)
@@ -1026,10 +1027,12 @@ files, to verify signatures, and to manage the private
and public keys.")
("perl-moox-handlesvia" ,perl-moox-handlesvia)
("perl-moox-late" ,perl-moox-late)
("perl-moox-options" ,perl-moox-options)
+ ("perl-moox-strictconstructor" ,perl-moox-strictconstructor)
("perl-namespace-clean" ,perl-namespace-clean)
("perl-net-dbus" ,perl-net-dbus)
("perl-net-dbus-glib" ,perl-net-dbus-glib)
("perl-path-tiny" ,perl-path-tiny)
+ ("perl-strictures" ,perl-strictures-2)
("perl-test-most" ,perl-test-most)
("perl-test-trap" ,perl-test-trap)
("perl-time-duration" ,perl-time-duration)
@@ -1041,24 +1044,29 @@ files, to verify signatures, and to manage the private
and public keys.")
("perl-xml-parser" ,perl-xml-parser)
("perl-xml-twig" ,perl-xml-twig)
("torsocks" ,torsocks)))
+ (native-inputs
+ `(("xorg-server" ,xorg-server)))
(arguments
`(#:phases
(modify-phases %standard-phases
;; Needed for using gpg-connect-agent during tests.
- (add-before 'check 'set-HOME
- (lambda _ (setenv "HOME" "/tmp") #t))
+ (add-before 'check 'prepare-for-tests
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((xorg-server (assoc-ref inputs "xorg-server")))
+ (system (string-append xorg-server "/bin/Xvfb :1 &"))
+ (setenv "DISPLAY" ":1")
+ (setenv "HOME" "/tmp")
+ ;; These tests are known to fail
+ (delete-file "t/32-keyserver_defined_on_command_line.t")
+ (delete-file "t/33-checkGpgHasDefinedKeyserver.t")
+ ;; The applet is deprecated upstream.
+ (delete-file "t/00-load_all.t")
+ #t)))
(add-before 'install 'fix-references
(lambda* (#:key inputs outputs #:allow-other-keys)
(substitute* "lib/App/Parcimonie/GnuPG/Interface.pm"
- (("gpg2") "gpg")
;; Skip check whether dependencies are in the PATH
- (("defined which.*") "")
- (("call\\('parcimonie-torified-gpg'\\)")
- (string-append "call('" (assoc-ref outputs "out")
- "/bin/parcimonie-torified-gpg')")))
- (substitute* "bin/parcimonie-torified-gpg"
- (("torsocks") (string-append (assoc-ref inputs "torsocks")
- "/bin/torsocks")))
+ (("defined which.*") ""))
#t))
(add-after 'install 'wrap-program
(lambda* (#:key inputs outputs #:allow-other-keys)
- 107/184: services: mpd: Connect to the user's PulseAudio socket., (continued)
- 107/184: services: mpd: Connect to the user's PulseAudio socket., guix-commits, 2019/11/27
- 109/184: guix: package: lock profiles when processing them., guix-commits, 2019/11/27
- 118/184: gnu: python-mpi4py: Update to 3.0.3., guix-commits, 2019/11/27
- 128/184: gnu: miniupnpc: Don't use NAME in source URI., guix-commits, 2019/11/27
- 148/184: gnu: qtractor: Update to 0.9.11., guix-commits, 2019/11/27
- 147/184: gnu: youtube-dl: Update to 2019.11.05., guix-commits, 2019/11/27
- 124/184: build: Warn about etc/indent-code.el when Emacs is absent., guix-commits, 2019/11/27
- 138/184: services: hpcguix-web: Explicitly import (guix build utils)., guix-commits, 2019/11/27
- 136/184: gnu: perl-class-inspector: Update to 1.36., guix-commits, 2019/11/27
- 125/184: gnu: Add homebank., guix-commits, 2019/11/27
- 135/184: gnu: parcimonie: Update to 0.11.0.,
guix-commits <=
- 133/184: gnu: fribidi: Fix CVE-2019-18397., guix-commits, 2019/11/27
- 149/184: gnu: fvwm: Don't use NAME in source URI., guix-commits, 2019/11/27
- 142/184: gnu: make-bootstrap: Memoize GCC variant., guix-commits, 2019/11/27
- 146/184: gnu: Add artyfx, guix-commits, 2019/11/27
- 140/184: tests: Update references to the now-deprecated 'guile-json' variable., guix-commits, 2019/11/27
- 139/184: services: hpcguix-web: Delete lock files during activation., guix-commits, 2019/11/27
- 152/184: gnu: gegl: Add source URIs., guix-commits, 2019/11/27
- 162/184: gnu: monero: Update to 0.15.0.0., guix-commits, 2019/11/27
- 154/184: gnu: gimp: Update to 2.10.14., guix-commits, 2019/11/27
- 157/184: gnu: faad2: Update to 2.8.6., guix-commits, 2019/11/27