mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: python-binaryornot: Fix build.
Fixes <https://bugs.gnu.org/37678>. * gnu/packages/python-xyz.scm (python-binaryornot)[arguments]<#:phases>[patch-tests]: New phase.
This commit is contained in:
parent
3cb2d1a556
commit
86723f98ab
1 changed files with 10 additions and 0 deletions
|
@ -10972,6 +10972,16 @@ (define-public python-binaryornot
|
|||
(base32
|
||||
"0qc006986rb6bcbmiymwgcl1mns2jphr1j7sr7nk41nlr7gh359m"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-test
|
||||
(lambda _
|
||||
;; TypeError: binary() got an unexpected keyword argument
|
||||
;; 'average_size'.
|
||||
(substitute* "tests/test_check.py"
|
||||
(("average_size=512") ""))
|
||||
#t)))))
|
||||
(propagated-inputs
|
||||
`(("python-chardet" ,python-chardet)
|
||||
("python-hypothesis" ,python-hypothesis)))
|
||||
|
|
Loading…
Reference in a new issue