1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-01 23:05:57 +02:00

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
+8 -5
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,12 +91,14 @@
(sha256
(base32
"1317ly0db7nnjg5k58f6nqa0svfcvn446xd5bpiyi0bfbczwpl65"))))
(build-system python-build-system)
(build-system pyproject-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests? (invoke "pytest" "-vv")))))))
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests? (invoke "pytest" "-vv")))))))
(native-inputs
(list python-pyhamcrest python-pytest python-pytest-benchmark))
(home-page "https://github.com/keis/base58")