gnu: python-ecdsa: Update to 0.19.0.

* gnu/packages/python-crypto.scm (python-ecdsa): Update to 0.19.0.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Use default 'check.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ib7077ffd3c78b4b995bb3c278fd27738b2c952ee
This commit is contained in:
Sharlatan Hellseher 2024-11-25 20:23:22 +00:00
parent 621f1231ab
commit e6896b25fc
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -216,32 +216,25 @@ Python interface around SSH networking concepts.")
(define-public python-ecdsa
(package
(name "python-ecdsa")
(version "0.17.0")
(version "0.19.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ecdsa" version))
(sha256
(base32 "1ak8xa2r660d85abrlffp0bqvwdadg9ga4066g856hcy8fxh1xdr"))))
(build-system python-build-system)
(base32 "1y3bmx6aw5klx143jas3czwbsfvr5d3fs8gm1bfh16b5k48svsk0"))))
(build-system pyproject-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _ (invoke
"pytest"
"-vv"
"-k"
(string-append
"not test_multithreading_with_interrupts "
;; The following test fails and will be fixed in the
;; next release after v0.18. See
;; <https://github.com/tlsfuzzer/python-ecdsa/issues/307>.
"and not test_add_different_scale_points")))))))
(list
;; Test failes with error: AssertionError: KeyboardInterrupt not raised.
#:test-flags #~(list "-k" "not test_multithreading_with_interrupts")))
(native-inputs
(list openssl
python-pytest
python-setuptools
python-wheel))
(propagated-inputs
(list python-six))
(native-inputs
(list openssl python-pytest))
(home-page "https://github.com/warner/python-ecdsa")
(synopsis "ECDSA cryptographic signature library (pure python)")
(description