From f78e0bff2b83a2e7b043fff5cbd5ce692c6a7f0d Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 9 Dec 2025 20:16:38 +0100 Subject: [PATCH] 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 --- 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 50ec68b03ef..ac217f4ed7c 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