gnu: python-base58: Move to pyproject-build-system.

* gnu/packages/python-crypto.scm (python-base58): Move to
pyproject-build-system.
[build-system]: Use pyproject-build-system.
[arguments]: Convert to use the modern gexp style.

Change-Id: If95dbaa274b5c430441215a21168ea30808157a9
This commit is contained in:
jgart 2024-08-10 00:45:55 -05:00
parent e58d5e1dba
commit 966afbc375
No known key found for this signature in database
GPG Key ID: A52AA2B477B6DD35

View File

@ -29,6 +29,7 @@
;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
;;; Copyright © 2023 Juliana Sims <juli@incana.org>
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2024 jgart <jgart@dismail.de>
;;;
;;; This file is part of GNU Guix.
;;;
@ -90,9 +91,11 @@
(sha256
(base32
"1317ly0db7nnjg5k58f6nqa0svfcvn446xd5bpiyi0bfbczwpl65"))))
(build-system python-build-system)
(build-system pyproject-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests? (invoke "pytest" "-vv")))))))