summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-01-13 17:51:26 +0200
committerEfraim Flashner <efraim@flashner.co.il>2022-01-14 11:41:22 +0200
commitbe6716a21827e3515a021cfbf592ffe7bcc00be6 (patch)
tree716e1fd92c3e7df989c17203e9fd371f9ec95352
parentdc64e7a1ac53d56675cc28135f11ec38a1de4c23 (diff)
gnu: parcimonie: Update to 0.12.0.
* gnu/packages/gnupg.scm (parcimonie): Update to 0.12.0. [inputs]: Remove perl-data, perl-exporter-tiny, perl-getopt-long-descriptive, perl-libintl-perl, perl-lwp-online, perl-module-build, perl-module-pluggable, perl-moox-handlesvia, perl-net-dbus-glib, perl-strictures-2, perl-test-most, perl-test-trap, perl-unicode-linebreak, perl-xml-parser, and perl-xml-twig; add perl-json and perl-pango. [native-inputs]: Add perl-file-which, perl-gnupg-interface, perl-list-moreutils, perl-lwp-online, perl-module-build, perl-strictures-2, perl-test-most, perl-test-trap. [arguments]: Remove trailing #t from phases. Adjust custom 'prepare-for-tests phase. [home-page]: Update to new home-page.
-rw-r--r--gnu/packages/gnupg.scm48
1 files changed, 19 insertions, 29 deletions
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index a0e3cd8e9cf..b8ff320d171 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -1091,7 +1091,7 @@ files, to verify signatures, and to manage the private and public keys.")
1091(define-public parcimonie 1091(define-public parcimonie
1092 (package 1092 (package
1093 (name "parcimonie") 1093 (name "parcimonie")
1094 (version "0.11.0") 1094 (version "0.12.0")
1095 (source (origin 1095 (source (origin
1096 (method url-fetch) 1096 (method url-fetch)
1097 (uri (string-append "https://gaffer.boum.org/intrigeri/files/" 1097 (uri (string-append "https://gaffer.boum.org/intrigeri/files/"
@@ -1099,48 +1099,43 @@ files, to verify signatures, and to manage the private and public keys.")
1099 version ".tar.gz")) 1099 version ".tar.gz"))
1100 (sha256 1100 (sha256
1101 (base32 1101 (base32
1102 "14pvapvzrxh1yh8zgcj1llmc2dd8g1fgzskxlja21gmw8c88aqdk")))) 1102 "10gal2h8ihg7nnzy3adw942axd2ia1rcn1fw3a3v07n5mm8kqrx9"))))
1103 (build-system perl-build-system) 1103 (build-system perl-build-system)
1104 (inputs 1104 (inputs
1105 `(("gnupg" ,gnupg) 1105 `(("gnupg" ,gnupg)
1106 ("perl-config-general" ,perl-config-general)
1107 ("perl-clone" ,perl-clone) 1106 ("perl-clone" ,perl-clone)
1108 ("perl-data" ,perl-data) 1107 ("perl-config-general" ,perl-config-general)
1109 ("perl-exporter-tiny" ,perl-exporter-tiny)
1110 ("perl-file-homedir" ,perl-file-homedir) 1108 ("perl-file-homedir" ,perl-file-homedir)
1111 ("perl-file-sharedir" ,perl-file-sharedir) 1109 ("perl-file-sharedir" ,perl-file-sharedir)
1112 ("perl-file-which" ,perl-file-which) 1110 ("perl-file-which" ,perl-file-which)
1113 ("perl-getopt-long-descriptive" ,perl-getopt-long-descriptive)
1114 ("perl-gnupg-interface" ,perl-gnupg-interface) 1111 ("perl-gnupg-interface" ,perl-gnupg-interface)
1115 ("perl-ipc-system-simple" ,perl-ipc-system-simple) 1112 ("perl-ipc-system-simple" ,perl-ipc-system-simple)
1113 ("perl-json" ,perl-json)
1116 ("perl-list-moreutils" ,perl-list-moreutils) 1114 ("perl-list-moreutils" ,perl-list-moreutils)
1117 ("perl-libintl-perl" ,perl-libintl-perl) ; Locale::TextDomain
1118 ("perl-lwp-online" ,perl-lwp-online)
1119 ("perl-module-build" ,perl-module-build)
1120 ("perl-module-pluggable-object" ,perl-module-pluggable)
1121 ("perl-moo" ,perl-moo) 1115 ("perl-moo" ,perl-moo)
1122 ("perl-moox-handlesvia" ,perl-moox-handlesvia)
1123 ("perl-moox-late" ,perl-moox-late) 1116 ("perl-moox-late" ,perl-moox-late)
1124 ("perl-moox-options" ,perl-moox-options) 1117 ("perl-moox-options" ,perl-moox-options)
1125 ("perl-moox-strictconstructor" ,perl-moox-strictconstructor) 1118 ("perl-moox-strictconstructor" ,perl-moox-strictconstructor)
1126 ("perl-namespace-clean" ,perl-namespace-clean) 1119 ("perl-namespace-clean" ,perl-namespace-clean)
1127 ("perl-net-dbus" ,perl-net-dbus) 1120 ("perl-net-dbus" ,perl-net-dbus)
1128 ("perl-net-dbus-glib" ,perl-net-dbus-glib) 1121 ("perl-pango" ,perl-pango)
1129 ("perl-path-tiny" ,perl-path-tiny) 1122 ("perl-path-tiny" ,perl-path-tiny)
1130 ("perl-strictures" ,perl-strictures-2)
1131 ("perl-test-most" ,perl-test-most)
1132 ("perl-test-trap" ,perl-test-trap)
1133 ("perl-time-duration" ,perl-time-duration) 1123 ("perl-time-duration" ,perl-time-duration)
1134 ("perl-time-duration-parse" ,perl-time-duration-parse) 1124 ("perl-time-duration-parse" ,perl-time-duration-parse)
1135 ("perl-try-tiny" ,perl-try-tiny) 1125 ("perl-try-tiny" ,perl-try-tiny)
1136 ("perl-type-tiny" ,perl-type-tiny) 1126 ("perl-type-tiny" ,perl-type-tiny)
1137 ("perl-types-path-tiny" ,perl-types-path-tiny) 1127 ("perl-types-path-tiny" ,perl-types-path-tiny)
1138 ("perl-unicode-linebreak" ,perl-unicode-linebreak)
1139 ("perl-xml-parser" ,perl-xml-parser)
1140 ("perl-xml-twig" ,perl-xml-twig)
1141 ("torsocks" ,torsocks))) 1128 ("torsocks" ,torsocks)))
1142 (native-inputs 1129 (native-inputs
1143 (list xorg-server-for-tests)) 1130 (list perl-file-which
1131 perl-gnupg-interface
1132 perl-list-moreutils
1133 perl-lwp-online
1134 perl-module-build
1135 perl-strictures-2
1136 perl-test-most
1137 perl-test-trap
1138 xorg-server-for-tests))
1144 (arguments 1139 (arguments
1145 `(#:phases 1140 `(#:phases
1146 (modify-phases %standard-phases 1141 (modify-phases %standard-phases
@@ -1151,18 +1146,14 @@ files, to verify signatures, and to manage the private and public keys.")
1151 (system (string-append xorg-server "/bin/Xvfb :1 &")) 1146 (system (string-append xorg-server "/bin/Xvfb :1 &"))
1152 (setenv "DISPLAY" ":1") 1147 (setenv "DISPLAY" ":1")
1153 (setenv "HOME" "/tmp") 1148 (setenv "HOME" "/tmp")
1154 ;; These tests are known to fail 1149 ;; These tests expect usable gnupg configurations.
1155 (delete-file "t/32-keyserver_defined_on_command_line.t") 1150 (delete-file "t/32-keyserver_defined_on_command_line.t")
1156 (delete-file "t/33-checkGpgHasDefinedKeyserver.t") 1151 (delete-file "t/33-checkGpgHasDefinedKeyserver.t"))))
1157 ;; The applet is deprecated upstream.
1158 (delete-file "t/00-load_all.t")
1159 #t)))
1160 (add-before 'install 'fix-references 1152 (add-before 'install 'fix-references
1161 (lambda* (#:key inputs outputs #:allow-other-keys) 1153 (lambda* (#:key inputs outputs #:allow-other-keys)
1162 (substitute* "lib/App/Parcimonie/GnuPG/Interface.pm" 1154 (substitute* "lib/App/Parcimonie/GnuPG/Interface.pm"
1163 ;; Skip check whether dependencies are in the PATH 1155 ;; Skip check whether dependencies are in the PATH
1164 (("defined which.*") "")) 1156 (("defined which.*") ""))))
1165 #t))
1166 (add-after 'install 'wrap-program 1157 (add-after 'install 'wrap-program
1167 (lambda* (#:key inputs outputs #:allow-other-keys) 1158 (lambda* (#:key inputs outputs #:allow-other-keys)
1168 (let* ((out (assoc-ref outputs "out")) 1159 (let* ((out (assoc-ref outputs "out"))
@@ -1170,9 +1161,8 @@ files, to verify signatures, and to manage the private and public keys.")
1170 ,(package-version perl)))) 1161 ,(package-version perl))))
1171 (wrap-program (string-append out "/bin/parcimonie") 1162 (wrap-program (string-append out "/bin/parcimonie")
1172 `("PERL5LIB" ":" 1163 `("PERL5LIB" ":"
1173 prefix (,(string-append perllib ":" (getenv "PERL5LIB"))))) 1164 prefix (,(string-append perllib ":" (getenv "PERL5LIB")))))))))))
1174 #t)))))) 1165 (home-page "https://salsa.debian.org/intrigeri/parcimonie")
1175 (home-page "https://gaffer.boum.org/intrigeri/code/parcimonie/")
1176 (synopsis "Incrementally refreshes a GnuPG keyring") 1166 (synopsis "Incrementally refreshes a GnuPG keyring")
1177 (description "Parcimonie incrementaly refreshes a GnuPG keyring in a way 1167 (description "Parcimonie incrementaly refreshes a GnuPG keyring in a way
1178that makes it hard to correlate the keyring content to an individual, and 1168that makes it hard to correlate the keyring content to an individual, and