From c006f68fdb356835c46ed236769581925f753031 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 12 Jan 2022 20:47:00 +0100 Subject: 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(-) (limited to 'gnu') 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 -- cgit v1.2.3