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 <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-12-09 20:16:38 +01:00 committed by Sharlatan Hellseher
parent acdee26a3a
commit f78e0bff2b
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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