mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: python-crcmod: Switch to pyproject.
* gnu/packages/python-crypto.scm (python-crcmod): [build-system]: Switch to pyproject-build-system. [arguments]: Replace <#:phases> by <#:test-backend, #:test-flags>. [native-inputs]: Add python-setuptools. Change-Id: Id5d313dfe30c6103b45a8afd03c07b5238187b45 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
f78e0bff2b
commit
8c1b704409
1 changed files with 4 additions and 8 deletions
|
|
@ -868,16 +868,12 @@ of improving usability, security and speed.")
|
|||
(sha256
|
||||
(base32
|
||||
"07k0hgr42vw2j92cln3klxka81f33knd7459cn3d8aszvfh52w6w"))))
|
||||
(build-system python-build-system)
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
;; As per the Unit Testing subsection in the README.
|
||||
(invoke "python" "-m" "crcmod.test")))))))
|
||||
#:test-backend #~'custom
|
||||
#:test-flags #~(list "-m" "crcmod.test")))
|
||||
(native-inputs (list python-setuptools))
|
||||
(synopsis "CRC generator for Python")
|
||||
(description "Python module for generating objects that compute the
|
||||
Cyclic Redundancy Check.")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue