diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-09 20:16:38 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-28 12:06:19 +0000 |
| commit | f78e0bff2b83a2e7b043fff5cbd5ce692c6a7f0d (patch) | |
| tree | e13b1544ddd4a81f96ba44712d130aa52e0b594b /gnu | |
| parent | acdee26a3ac510a1369c21b3f33aadc133406e6a (diff) | |
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>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-crypto.scm | 13 |
1 files 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).") | |||
| 810 | (commit version))) | 810 | (commit version))) |
| 811 | (file-name (git-file-name name version)) | 811 | (file-name (git-file-name name version)) |
| 812 | (sha256 | 812 | (sha256 |
| 813 | (base32 | 813 | (base32 "1qsg06qrqnzixmrm65ibg503y2gffd675h1si4jgh92s315w1jrk")))) |
| 814 | "1qsg06qrqnzixmrm65ibg503y2gffd675h1si4jgh92s315w1jrk")))) | 814 | (build-system pyproject-build-system) |
| 815 | (build-system python-build-system) | 815 | (arguments (list #:test-backend #~'unittest)) |
| 816 | (arguments | 816 | (native-inputs (list python-setuptools)) |
| 817 | '(#:phases (modify-phases %standard-phases | ||
| 818 | (replace 'check | ||
| 819 | (lambda* (#:key tests? #:allow-other-keys) | ||
| 820 | (when tests? | ||
| 821 | (invoke "python" "run.py" "tests"))))))) | ||
| 822 | (home-page "https://github.com/wbond/asn1crypto") | 817 | (home-page "https://github.com/wbond/asn1crypto") |
| 823 | (synopsis "ASN.1 parser and serializer in Python") | 818 | (synopsis "ASN.1 parser and serializer in Python") |
| 824 | (description | 819 | (description |
