guix_mirror_bot pushed a commit to branch master
in repository guix.
commit f78e0bff2b83a2e7b043fff5cbd5ce692c6a7f0d
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Dec 9 20:16:38 2025 +0100
gnu: python-asn1crypto: Switch to pyproject.
* gnu/packages/python-crypto.scm (python-asn1crypto):
[build-system]: Switch to pyproject-build-system.
[arguments]: Replace <#:phases> by <#:test-backend>.
[native-inputs]: Add python-setuptools.
Change-Id: Ib2d0cb927ffddc9f0d8007a8d166121a96f8e41a
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-crypto.scm | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 50ec68b03e..ac217f4ed7 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -810,15 +810,10 @@ ECB and OFB).")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32
- "1qsg06qrqnzixmrm65ibg503y2gffd675h1si4jgh92s315w1jrk"))))
- (build-system python-build-system)
- (arguments
- '(#:phases (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "python" "run.py" "tests")))))))
+ (base32 "1qsg06qrqnzixmrm65ibg503y2gffd675h1si4jgh92s315w1jrk"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:test-backend #~'unittest))
+ (native-inputs (list python-setuptools))
(home-page "https://github.com/wbond/asn1crypto")
(synopsis "ASN.1 parser and serializer in Python")
(description