From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SMNdCk2guV8yYAAA0tVLHw (envelope-from ) for ; Sat, 21 Nov 2020 23:18:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0LcSBk2guV/aXwAAbx9fmQ (envelope-from ) for ; Sat, 21 Nov 2020 23:18:37 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BF4519403A9 for ; Sat, 21 Nov 2020 23:18:36 +0000 (UTC) Received: from localhost ([::1]:50158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgc9L-0007cI-NC for larch@yhetil.org; Sat, 21 Nov 2020 18:18:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgc6w-0004gj-1u for guix-patches@gnu.org; Sat, 21 Nov 2020 18:16:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35004) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kgc6v-0004I3-NQ for guix-patches@gnu.org; Sat, 21 Nov 2020 18:16:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kgc6v-0002Ux-Ig for guix-patches@gnu.org; Sat, 21 Nov 2020 18:16:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44785] [PATCH 22/22] gnu: sequoia: Update to 0.20.0. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 21 Nov 2020 23:16:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44785 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44785@debbugs.gnu.org X-Debbugs-Original-To: 44785@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16060005519473 (code B ref -1); Sat, 21 Nov 2020 23:16:05 +0000 Received: (at submit) by debbugs.gnu.org; 21 Nov 2020 23:15:51 +0000 Received: from localhost ([127.0.0.1]:46532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kgc6g-0002Sd-B8 for submit@debbugs.gnu.org; Sat, 21 Nov 2020 18:15:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:40972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kgc6H-0002RC-JI for submit@debbugs.gnu.org; Sat, 21 Nov 2020 18:15:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgc6H-0003lO-88 for guix-patches@gnu.org; Sat, 21 Nov 2020 18:15:25 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:41513) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgc6E-0003tp-OA for guix-patches@gnu.org; Sat, 21 Nov 2020 18:15:24 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Cdq5P3jJ9z1qs3X; Sun, 22 Nov 2020 00:15:21 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Cdq5P3Yj8z1qsWs; Sun, 22 Nov 2020 00:15:21 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id ofp0WEDYaJ-K; Sun, 22 Nov 2020 00:15:20 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-59-182.dynamic.mnet-online.de [188.174.59.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Sun, 22 Nov 2020 00:15:20 +0100 (CET) Received: from thisbe.fritz.box (thisbe.fritz.box [192.168.110.24]) by hermia.goebel-consult.de (Postfix) with ESMTP id D6E3560AEC; Sun, 22 Nov 2020 00:18:08 +0100 (CET) From: Hartmut Goebel Date: Sun, 22 Nov 2020 00:14:07 +0100 Message-Id: X-Mailer: git-send-email 2.21.3 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 3.99 X-TUID: voxGDLIhNuiy * gnu/packages/sequoia.scm (sequoia): Update to 0.20.0. [cargo-inputs] Update dependencies. [phases]{unpin-deps}: Adjust path of file to substitute. --- gnu/packages/sequoia.scm | 64 +++++++++++++++++++++++++++------------- 1 file changed, 43 insertions(+), 21 deletions(-) diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm index 8f2b351031..6550a71a1a 100644 --- a/gnu/packages/sequoia.scm +++ b/gnu/packages/sequoia.scm @@ -32,6 +32,7 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) ;; python-setuptools + #:use-module (gnu packages rust) #:use-module (gnu packages serialization) #:use-module (gnu packages sqlite) #:use-module (gnu packages tls)) @@ -39,7 +40,7 @@ (define-public sequoia (package (name "sequoia") - (version "0.17.0") + (version "0.20.0") (source (origin (method git-fetch) @@ -47,7 +48,7 @@ (url "https://gitlab.com/sequoia-pgp/sequoia.git") (commit (string-append "v" version)))) (sha256 - (base32 "1rf9q67qmjfkgy6r3mz1h9ibfmc04r4j8nzacqv2l75x4mwvf6xb")) + (base32 "1c76sz4y0n4jhf1gq4b87v5c07i09mmd3i6sqki09bd96m3ldgkf")) (file-name (git-file-name name version)))) (build-system cargo-build-system) (outputs '("out" "python")) @@ -55,7 +56,8 @@ `(("clang" ,clang) ("pkg-config" ,pkg-config) ("python-pytest" ,python-pytest) - ("python-pytest-runner" ,python-pytest-runner))) + ("python-pytest-runner" ,python-pytest-runner) + ("python-wrapper" ,python-wrapper))) (inputs `(("capnproto" ,capnproto) ("gmp" ,gmp) @@ -66,21 +68,24 @@ ("sqlite" ,sqlite))) (arguments `(#:tests? #f ;; building the tests requires 9.7GB total + #:rust ,rust-1.46 #:cargo-inputs - (("rust-assert-cli" ,rust-assert-cli-0.6) - ("rust-anyhow" ,rust-anyhow-1.0) - ("rust-base64" ,rust-base64-0.11) + (("rust-anyhow" ,rust-anyhow-1.0) + ("rust-backtrace" ,rust-backtrace-0.3) + ("rust-base64" ,rust-base64-0.13) ;;("rust-buffered-reader" included - ("rust-bzip2" ,rust-bzip2-0.3) + ("rust-bzip2" ,rust-bzip2-0.4) ("rust-capnp" ,rust-capnp-0.10) ("rust-capnp-rpc" ,rust-capnp-rpc-0.10) ("rust-capnpc" ,rust-capnpc-0.10) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-clap" ,rust-clap-2) + ("rust-chrono" ,rust-chrono-0.4) ;; for sqv, sop + ("rust-clap" ,rust-clap-2) ;; for sqv ("rust-colored" ,rust-colored-1.9.1) ("rust-crossterm" ,rust-crossterm-0.13) ("rust-ctor" ,rust-ctor-0.1) ("rust-dirs" ,rust-dirs-2.0) + ("rust-dyn-clone" ,rust-dyn-clone-1) + ("rust-ed25519-dalek" ,rust-ed25519-dalek-1) ;;("rust-failure" included ("rust-filetime" ,rust-filetime-0.2) ("rust-flate2" ,rust-flate2-1) @@ -90,33 +95,40 @@ ("rust-hyper" ,rust-hyper-0.12) ("rust-hyper-tls" ,rust-hyper-tls-0.3) ("rust-idna" ,rust-idna-0.2) - ("rust-itertools" ,rust-itertools-0.8) - ("rust-lalrpop-util" ,rust-lalrpop-util-0.17) + ("rust-itertools" ,rust-itertools-0.9) ;; for sq + ("rust-lalrpop" ,rust-lalrpop-0.19) + ("rust-lalrpop-util" ,rust-lalrpop-util-0.19) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) - ("rust-memsec" ,rust-memsec-0.5) + ("rust-memsec" ,rust-memsec-0.6) ("rust-native-tls" ,rust-native-tls-0.2) ("rust-nettle" ,rust-nettle-7) + ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.6) ("rust-parity-tokio-ipc" ,rust-parity-tokio-ipc-0.4) ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-prettytable-rs" ,rust-prettytable-rs-0.8) + ("rust-prettytable-rs" ,rust-prettytable-rs-0.8) ;; for sq ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quickcheck" ,rust-quickcheck-0.9) ("rust-rand" ,rust-rand-0.7) ("rust-regex" ,rust-regex-1) - ("rust-rusqlite" ,rust-rusqlite-0.19) - ("rust-structopt" ,rust-structopt-0.3) - ("rust-tempfile" ,rust-tempfile-3) + ("rust-rusqlite" ,rust-rusqlite-0.24) + ("rust-structopt" ,rust-structopt-0.3) ;; for sop + ("rust-tempfile" ,rust-tempfile-3) ;; for sq ("rust-thiserror" ,rust-thiserror-1) ("rust-tokio" ,rust-tokio-0.1) ("rust-tokio-core" ,rust-tokio-core-0.1) ("rust-unicode-normalization" ,rust-unicode-normalization-0.1) ("rust-url" ,rust-url-2) + ("rust-win-crypto-ng" ,rust-win-crypto-ng-0.2) + ("rust-winapi" ,rust-winapi-0.3) ("rust-zbase32" ,rust-zbase32-0.1)) #:cargo-development-inputs - (("rust-bindgen" ,rust-bindgen-0.51) ;; FIXME for nettle-sys and rusqlite - ("rust-lalrpop" ,rust-lalrpop-0.17) - ("rust-rpassword" ,rust-rpassword-4)) + (("rust-assert-cli" ,rust-assert-cli-0.6) ;; dev-dep for for sq, sqv + ("rust-bindgen" ,rust-bindgen-0.51) ;; FIXME for nettle-sys and rusqlite + ;;("rust-lalrpop" ,rust-lalrpop-0.19) + ("rust-quickcheck" ,rust-quickcheck-0.9) + ("rust-rand" ,rust-rand-0.7) + ("rust-rpassword" ,rust-rpassword-5)) #:phases (modify-phases %standard-phases ;; Run make instead of using the rust build system, as @@ -128,9 +140,12 @@ (invoke "make" "check") #t))) (replace 'install (lambda _ (invoke "make" "install") #t)) - (add-after 'unpack 'adjust-prefix + (add-after 'unpack 'fix-environment (lambda* (#:key outputs #:allow-other-keys) + ;; adjust prefix (setenv "PREFIX" (assoc-ref outputs "out")) + ;; fix install script detection + (setenv "INSTALL" "install") #t)) (add-after 'unpack 'fix-fo-python-output (lambda* (#:key outputs #:allow-other-keys) @@ -157,6 +172,13 @@ (substitute* "openpgp-ffi/sequoia-openpgp.pc.in" (("PREFIX") out)) #t))) + (add-after 'unpack 'keep-SOURCE_DATE_EPOCH + (lambda _ + ;; preempt Makefiles replacing SOURCE_DATE_EPOCH + (substitute* "Makefile" + (("SOURCE_DATE_EPOCH\\s=" line) + (string-append "#" line))) + #t)) (add-after 'unpack 'set-missing-env-vars (lambda* (#:key inputs #:allow-other-keys) ;; FIXME: why do we need to set this here? @@ -168,7 +190,7 @@ ;; As the comment in that file explains, upstream encourages ;; unpinning, as the pinned version is only to make sure the crate ;; compiles on older versions of rustc - (substitute* '("openpgp/Cargo.toml" "tool/Cargo.toml") + (substitute* '("openpgp/Cargo.toml" "sq/Cargo.toml") (("= \"=") "= \"")) #t))))) (home-page "https://sequoia-pgp.org") -- 2.21.3