guix-commits
[Top][All Lists]
Advanced

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

41/45: gnu: python-base58: Update to 2.1.1.


From: guix-commits
Subject: 41/45: gnu: python-base58: Update to 2.1.1.
Date: Wed, 12 Jan 2022 17:58:44 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit c006f68fdb356835c46ed236769581925f753031
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Jan 12 20:47:00 2022 +0100

    gnu: python-base58: Update to 2.1.1.
    
    * gnu/packages/python-crypto.scm (python-base58)[arguments]: Override check
    phase.
    [native-inputs]: Add PYTHON-PYTEST and PYTHON-PYTEST-BENCHMARK.
---
 gnu/packages/python-crypto.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 2072e4e164..89c0cf0e0c 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -96,17 +96,22 @@ Python.  It does not bind to libotr.")
 (define-public python-base58
   (package
     (name "python-base58")
-    (version "2.0.1")
+    (version "2.1.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "base58" version))
        (sha256
         (base32
-         "0yfaqp76kbdb62hikr5n4jkkfjfmii89grwfy6sw3fmsv5hrap1n"))))
+         "1317ly0db7nnjg5k58f6nqa0svfcvn446xd5bpiyi0bfbczwpl65"))))
     (build-system python-build-system)
+    (arguments
+     '(#:phases (modify-phases %standard-phases
+                  (replace 'check
+                    (lambda* (#:key tests? #:allow-other-keys)
+                      (when tests? (invoke "pytest" "-vv")))))))
     (native-inputs
-     (list python-pyhamcrest))
+     (list python-pyhamcrest python-pytest python-pytest-benchmark))
     (home-page "https://github.com/keis/base58";)
     (synopsis "Base58 and Base58Check implementation")
     (description "Base58 and Base58Check implementation compatible



reply via email to

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