guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 6b52644eccec9df65bc48a33f097284c4f19fc11
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Aug 26 00:50:32 2025 +0200
gnu: python-mcuboot-imgtool: Switch to pyproject.
* gnu/packages/python-crypto.scm (python-mcuboot-imgtool):
[source]<uri>: Update url.
[build-system]: Switch to pyproject-build-system.
[arguments, description]: Improve style.
[native-inputs]: Add python-pytest, python-setuptools, python-wheel.
Change-Id: I2e722867413d9d46bb67ab03a58be34d5dea5f5a
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-crypto.scm | 41 ++++++++++++++++++++---------------------
1 file changed, 20 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index d3ef3b5374..0d09408cb9 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -1416,32 +1416,31 @@ storing and retrieving sensitive information in your
programs.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/JuulLabs-OSS/mcuboot")
- (commit (string-append "v" version))))
+ (url "https://github.com/mcu-tools/mcuboot")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32
- "1m1csyvzq4jx81zg635ssy1n7sc0z539z0myh872ll3nwqx7wa0q"))))
- (build-system python-build-system)
+ (base32 "1m1csyvzq4jx81zg635ssy1n7sc0z539z0myh872ll3nwqx7wa0q"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-broken-test
- (lambda _
- (substitute* "scripts/imgtool/keys/ed25519_test.py"
- (("raw_sign") "sign_digest"))
- #t))
- (add-before 'build 'change-directory
- (lambda _
- (chdir "scripts")
- #t)))))
- (propagated-inputs
- (list python-click python-intelhex python-cryptography))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-broken-test
+ (lambda _
+ (substitute* "scripts/imgtool/keys/ed25519_test.py"
+ (("raw_sign")
+ "sign_digest"))))
+ (add-before 'build 'change-directory
+ (lambda _
+ (chdir "scripts"))))))
+ (native-inputs (list python-pytest python-setuptools python-wheel))
+ (propagated-inputs (list python-click python-intelhex python-cryptography))
(home-page "https://mcuboot.com")
(synopsis "Tool to securely sign firmware images for booting by MCUboot")
- (description "MCUboot is a secure bootloader for 32-bit MCUs. This
-package provides a tool to securely sign firmware images for booting by
-MCUboot.")
+ (description
+ "MCUboot is a secure bootloader for 32-bit MCUs. This package provides a
+tool to securely sign firmware images for booting by MCUboot.")
(license license:expat)))
(define-public python-ntlm-auth