From patchwork Tue Dec 6 18:46:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Attila Lendvai X-Patchwork-Id: 45081 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AE5FB27BBEB; Tue, 6 Dec 2022 18:48:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0E61C27BBE9 for ; Tue, 6 Dec 2022 18:48:19 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2cz7-0000Am-Rp; Tue, 06 Dec 2022 13:48:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2cz4-00006w-NO for guix-patches@gnu.org; Tue, 06 Dec 2022 13:48:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p2cz4-0005ZP-FF for guix-patches@gnu.org; Tue, 06 Dec 2022 13:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p2cz3-0006qx-Um for guix-patches@gnu.org; Tue, 06 Dec 2022 13:48:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#58437] [PATCH 1/3 v3] gnu: python-trezor: Update to 0.13.3. References: <20221011131002.28153-1-attila@lendvai.name> In-Reply-To: <20221011131002.28153-1-attila@lendvai.name> Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 06 Dec 2022 18:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58437 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58437@debbugs.gnu.org Cc: Attila Lendvai Received: via spool by 58437-submit@debbugs.gnu.org id=B58437.167035244226335 (code B ref 58437); Tue, 06 Dec 2022 18:48:01 +0000 Received: (at 58437) by debbugs.gnu.org; 6 Dec 2022 18:47:22 +0000 Received: from localhost ([127.0.0.1]:44538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2cyQ-0006qh-GW for submit@debbugs.gnu.org; Tue, 06 Dec 2022 13:47:22 -0500 Received: from mail-oa1-f45.google.com ([209.85.160.45]:34403) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2cyN-0006qb-WD for 58437@debbugs.gnu.org; Tue, 06 Dec 2022 13:47:20 -0500 Received: by mail-oa1-f45.google.com with SMTP id 586e51a60fabf-1445ca00781so11909058fac.1 for <58437@debbugs.gnu.org>; Tue, 06 Dec 2022 10:47:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=6CE/GSKDgwHXW3pefpZxJyUWwnO3VLvzu0pc4mA5yU8=; b=WsE8vtVSrsLviLSDaNFBNP5PvBchtPhZ+Jz8nfiy/0MuRzJDOHdsaplBT/wqc8oRaw vTq9FP31bxzyS+UcI1LDtHZlAwku4RuDg9tNkM5SXTreFQM4KUHNEl/3IUvgpqPBeyfW 8y9EYjQfjz5AgDP/mdFpvzYjyv5CIWtUv8vK+P8v+a4tNvMcFIC3Rivvz3gMTp3ZyOJZ 0J6q7+ceQhTzi22TyZYob4+MsHlIGO+LQFP55/43m2MImC8KT5Zc/dSMFI3FgZ5bMi5K /2r6vBk9+OF5itJ9CMSLK51+/Sw49SiZAW1y3ZEaRVmmEY38EEtSmFt868GRZgAsaxRZ IALQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=6CE/GSKDgwHXW3pefpZxJyUWwnO3VLvzu0pc4mA5yU8=; b=2Ksm7mLzog9aQrH4PYj4qHK2lEm/r4AGzUXWWYdU8Lb3rs5oy6hdYio6ahdxh8CYpQ T2EDKhfR/KRRJ7VWpuqZxHly1ZhARJ+nlf+nvfCVdV3E0ZBr/MhlmtCcaP7fHF43jsBg h52BxeUQQ6xJl/QKDwPEJ/czyyBwrbuipMK2wbWLtK19TlVX7xOmxKwczJILjCspBwXM bBGzxE3ZTq1A7kwNk7H2057/GbVdHMbKyeUylwP7O2pwb04kFjbbnVwAqMjEWZDiVRv4 lTooFBCqNh8xc7WiCs6orGH0cr4ljUMaFMoAAlilnk7YnBdAu+OtFUzhcyTLKwh3COva 0lTQ== X-Gm-Message-State: ANoB5pkZQ7PkzOrM1UJpC81pU8AZQJzjU9/fzjmXsRmtdRkI+OyuBO9y 1JrcILZzzKycouKLb5pJwKA2ThjNY3Y= X-Google-Smtp-Source: AA0mqf7gVJjk9cNBp1BOfgozqgb2FoGDNmPR4JOWnxdk/sY1OMF1hFFpsD5etd6cmRRDWYu47J5qPg== X-Received: by 2002:a05:6870:7a16:b0:144:9c79:5fb2 with SMTP id hf22-20020a0568707a1600b001449c795fb2mr5854697oab.239.1670352433972; Tue, 06 Dec 2022 10:47:13 -0800 (PST) Received: from localhost.localdomain ([189.4.72.207]) by smtp.gmail.com with ESMTPSA id ce11-20020a056830628b00b00670461b8be4sm2437947otb.33.2022.12.06.10.47.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Dec 2022 10:47:13 -0800 (PST) From: Attila Lendvai Date: Tue, 6 Dec 2022 15:46:06 -0300 Message-Id: <20221206184607.8128-1-attila@lendvai.name> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Also disable the sanity-check phase. --- this series updates and fixes trezor support. gnu/packages/finance.scm | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index cc2d417003..287ee38041 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1054,7 +1054,7 @@ (define-public python-btchip-python (define-public python-trezor (package (name "python-trezor") - (version "0.13.0") + (version "0.13.3") (source (origin (method git-fetch) @@ -1063,7 +1063,7 @@ (define-public python-trezor (commit (string-append "python/v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1wy584bxx5p2av4lv1bx9hl1q0b5n7hqz0hnqb9shjriarvl5ckd")) + (base32 "18qbdypi780b2s933dp7msh9m17mx9nq6qxn87jkwlf4i94h1vr2")) (modules '((guix build utils) (srfi srfi-26) @@ -1089,10 +1089,7 @@ (define-public python-trezor (build-system python-build-system) (propagated-inputs (list python-attrs - ;; TOOD: Use the latest click version after release 0.13.1 or later - ;; is made (see: - ;; https://github.com/trezor/trezor-firmware/issues/2199). - python-click-7 + python-click python-construct python-ecdsa python-hidapi @@ -1100,14 +1097,21 @@ (define-public python-trezor python-mnemonic python-requests python-typing-extensions)) - (native-inputs - ;; For tests. + (native-inputs ; Only needed for running the tests (list protobuf python-black python-isort + python-pillow python-protobuf python-pyqt - python-pytest)) + python-pytest + python-simple-rlp)) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; This package only has a Python script, not a Python module, so the + ;; sanity-check phase can't work. + (delete 'sanity-check)))) (home-page "https://github.com/trezor/python-trezor") (synopsis "Python library for communicating with TREZOR Hardware Wallet") (description "@code{trezor} is a Python library for communicating with