emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#32563: closed ([PATCH] gnu: python-trezor: Update


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#32563: closed ([PATCH] gnu: python-trezor: Update to 0.10.2.)
Date: Wed, 29 Aug 2018 18:54:02 +0000

Your message dated Wed, 29 Aug 2018 14:53:17 -0400
with message-id <address@hidden>
and subject line Re: [bug#32563] [PATCH] gnu: python-trezor: Update to 0.10.2.
has caused the debbugs.gnu.org bug report #32563,
regarding [PATCH] gnu: python-trezor: Update to 0.10.2.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
32563: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32563
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: python-trezor: Update to 0.10.2. Date: Tue, 28 Aug 2018 14:50:39 -0700
* gnu/packages/finance.scm (python-trezor): Update to 0.10.2.
  [arguments]: Replace check with tests that do not require hardware device.
  [propagated-inputs]: Add python-click, python-libusb1, python-pyblake2 and
    python-typing.
  [native-inputs]: Add python-mock and python-pytest.
---
 gnu/packages/finance.scm | 25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 7aeaffcc5..28bfb28f4 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -664,23 +664,38 @@ Ledger Blue/Nano S.")
 (define-public python-trezor
   (package
     (name "python-trezor")
-    (version "0.7.16")
+    (version "0.10.2")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "trezor" version))
         (sha256
           (base32
-            "055kii56wgwadl5z911s59ya2fnsqzk3n5i19s2hb9sv2by6knvb"))))
+            "138k6zsqqpb46k3rcpyslm9q7yq5i6k4myvr9n425jnkadf4vfjd"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+        (modify-phases %standard-phases
+          ;; Default tests run device-specific tests which fail, only run 
specific tests.
+          (replace 'check
+            (lambda* (#:key inputs outputs #:allow-other-keys)
+              (invoke "python" "-m" "pytest" "--pyarg" 
"trezorlib.tests.unit_tests")
+              (invoke "python" "-m" "pytest" "-m" "slow_cosi" "--pyarg" 
"trezorlib.tests.unit_tests")
+              )))))
     (propagated-inputs
-     `(("python-ecdsa" ,python-ecdsa)
+     `(("python-click" ,python-click)
+       ("python-ecdsa" ,python-ecdsa)
        ("python-hidapi" ,python-hidapi)
+       ("python-libusb1" ,python-libusb1)
        ("python-mnemonic" ,python-mnemonic)
        ("python-protobuf" ,python-protobuf)
-       ("python-requests" ,python-requests)))
+       ("python-pyblake2" ,python-pyblake2)
+       ("python-requests" ,python-requests)
+       ("python-typing" ,python-typing)))
     (native-inputs
-     `(("python-pyqt" ,python-pyqt))) ; Tests
+     `(("python-mock" ,python-mock) ; Tests
+       ("python-pyqt" ,python-pyqt) ; Tests
+       ("python-pytest" ,python-pytest))) ; Tests
     (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
-- 
2.18.0

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message --- Subject: Re: [bug#32563] [PATCH] gnu: python-trezor: Update to 0.10.2. Date: Wed, 29 Aug 2018 14:53:17 -0400 User-agent: Mutt/1.10.1 (2018-07-13)
On Tue, Aug 28, 2018 at 02:50:39PM -0700, Vagrant Cascadian wrote:
> * gnu/packages/finance.scm (python-trezor): Update to 0.10.2.
>   [arguments]: Replace check with tests that do not require hardware device.
>   [propagated-inputs]: Add python-click, python-libusb1, python-pyblake2 and
>     python-typing.
>   [native-inputs]: Add python-mock and python-pytest.

Thanks! Pushed as b4c698c8c99952fef0c9aa8c53c36631d84b5ef7

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]