mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-uvloop: Fix build.
* gnu/packages/python-web.scm (python-uvloop): Fix unquote-splicing error as seen in <https://ci.guix.gnu.org/build/9605318/log/raw>. Change-Id: I26bba8d29913e01e037c678d943607a7c00f5647
This commit is contained in:
parent
18e9141d01
commit
907ae7b07d
1 changed files with 11 additions and 11 deletions
|
@ -7296,9 +7296,9 @@ hard or impossible to fix in cssselect.")
|
|||
"test_process_env_2"
|
||||
;; socket.gaierror: [Errno -2] Name or service not known
|
||||
"test_getaddrinfo_21"
|
||||
,@(if (target-riscv64?)
|
||||
`("test_renegotiation")
|
||||
`()))
|
||||
#$@(if (target-riscv64?)
|
||||
`("test_renegotiation")
|
||||
`()))
|
||||
" and not "))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
|
@ -7310,14 +7310,14 @@ hard or impossible to fix in cssselect.")
|
|||
;; Replace hardcoded shell command.
|
||||
(substitute* "uvloop/loop.pyx"
|
||||
(("b'/bin/sh'") (string-append "b'" (which "sh") "'")))))
|
||||
,@(if (target-riscv64?)
|
||||
`((add-after 'unpack 'adjust-test-timeouts
|
||||
(lambda _
|
||||
(substitute* '("tests/test_tcp.py"
|
||||
"tests/test_unix.py")
|
||||
(("SSL_HANDSHAKE_TIMEOUT = 15\\.0")
|
||||
"SSL_HANDSHAKE_TIMEOUT = 30.0")))))
|
||||
'())
|
||||
#$@(if (target-riscv64?)
|
||||
`((add-after 'unpack 'adjust-test-timeouts
|
||||
(lambda _
|
||||
(substitute* '("tests/test_tcp.py"
|
||||
"tests/test_unix.py")
|
||||
(("SSL_HANDSHAKE_TIMEOUT = 15\\.0")
|
||||
"SSL_HANDSHAKE_TIMEOUT = 30.0")))))
|
||||
'())
|
||||
(add-before 'check 'pre-check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue