diff options
| author | jgart <jgart@dismail.de> | 2024-08-10 00:45:55 -0500 |
|---|---|---|
| committer | jgart <jgart@dismail.de> | 2024-08-10 00:45:55 -0500 |
| commit | 966afbc375aa7eadf3f9ef0a66ffad35da93721f (patch) | |
| tree | 8ee17fe055656c6269501f7bea6b9deb023495da | |
| parent | e58d5e1dbacf8e32fdc5687bf7cb5e35fa3fccac (diff) | |
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
| -rw-r--r-- | gnu/packages/python-crypto.scm | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index ffafee7dd6c..86a826b7ed3 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm | |||
| @@ -29,6 +29,7 @@ | |||
| 29 | ;;; Copyright © 2022 Antero Mejr <antero@mailbox.org> | 29 | ;;; Copyright © 2022 Antero Mejr <antero@mailbox.org> |
| 30 | ;;; Copyright © 2023 Juliana Sims <juli@incana.org> | 30 | ;;; Copyright © 2023 Juliana Sims <juli@incana.org> |
| 31 | ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> | 31 | ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> |
| 32 | ;;; Copyright © 2024 jgart <jgart@dismail.de> | ||
| 32 | ;;; | 33 | ;;; |
| 33 | ;;; This file is part of GNU Guix. | 34 | ;;; This file is part of GNU Guix. |
| 34 | ;;; | 35 | ;;; |
| @@ -90,12 +91,14 @@ | |||
| 90 | (sha256 | 91 | (sha256 |
| 91 | (base32 | 92 | (base32 |
| 92 | "1317ly0db7nnjg5k58f6nqa0svfcvn446xd5bpiyi0bfbczwpl65")))) | 93 | "1317ly0db7nnjg5k58f6nqa0svfcvn446xd5bpiyi0bfbczwpl65")))) |
| 93 | (build-system python-build-system) | 94 | (build-system pyproject-build-system) |
| 94 | (arguments | 95 | (arguments |
| 95 | '(#:phases (modify-phases %standard-phases | 96 | (list |
| 96 | (replace 'check | 97 | #:phases |
| 97 | (lambda* (#:key tests? #:allow-other-keys) | 98 | #~(modify-phases %standard-phases |
| 98 | (when tests? (invoke "pytest" "-vv"))))))) | 99 | (replace 'check |
| 100 | (lambda* (#:key tests? #:allow-other-keys) | ||
| 101 | (when tests? (invoke "pytest" "-vv"))))))) | ||
| 99 | (native-inputs | 102 | (native-inputs |
| 100 | (list python-pyhamcrest python-pytest python-pytest-benchmark)) | 103 | (list python-pyhamcrest python-pytest python-pytest-benchmark)) |
| 101 | (home-page "https://github.com/keis/base58") | 104 | (home-page "https://github.com/keis/base58") |
