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 (define-public python-ecdsa
(package (package
(name "python-ecdsa") (name "python-ecdsa")
(version "0.17.0") (version "0.19.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "ecdsa" version)) (uri (pypi-uri "ecdsa" version))
(sha256 (sha256
(base32 "1ak8xa2r660d85abrlffp0bqvwdadg9ga4066g856hcy8fxh1xdr")))) (base32 "1y3bmx6aw5klx143jas3czwbsfvr5d3fs8gm1bfh16b5k48svsk0"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (arguments
'(#:phases (list
(modify-phases %standard-phases ;; Test failes with error: AssertionError: KeyboardInterrupt not raised.
(replace 'check #:test-flags #~(list "-k" "not test_multithreading_with_interrupts")))
(lambda _ (invoke (native-inputs
"pytest" (list openssl
"-vv" python-pytest
"-k" python-setuptools
(string-append python-wheel))
"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")))))))
(propagated-inputs (propagated-inputs
(list python-six)) (list python-six))
(native-inputs
(list openssl python-pytest))
(home-page "https://github.com/warner/python-ecdsa") (home-page "https://github.com/warner/python-ecdsa")
(synopsis "ECDSA cryptographic signature library (pure python)") (synopsis "ECDSA cryptographic signature library (pure python)")
(description (description