summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-03-13 13:00:59 +0000
committerAndreas Enge <andreas@enge.fr>2025-04-16 11:46:15 +0200
commit18e9141d0135697068c3b109c13afbf46864f51c (patch)
treeec768814efe2bb2a29cb003d2aada9f39aeb98bf /gnu/packages/python-web.scm
parent43bd9c7f770e9efb3efeb186690088ad83b40439 (diff)
gnu: python-uvloop: Fix indentation.
* gnu/packages/python-web.scm (python-uvloop): Fix indentation. Change-Id: I72f6674c870317ebec48933e2bb5744bae6e0387
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm36
1 files changed, 18 insertions, 18 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5ef7972365f..e5a1e26004b 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7301,29 +7301,29 @@ hard or impossible to fix in cssselect.")
`()))
" and not "))
#:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'preparations
- (lambda _
- ;; Use packaged libuv.
- (substitute* "setup.py" (("self.use_system_libuv = False")
- "self.use_system_libuv = True"))
- ;; 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
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'preparations
+ (lambda _
+ ;; Use packaged libuv.
+ (substitute* "setup.py" (("self.use_system_libuv = False")
+ "self.use_system_libuv = True"))
+ ;; 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")))))
- '())
- (add-before 'check 'pre-check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- ;; Remove Python module, which conflicts with the installed
- ;; version, but lacks the built C module.
- (delete-file-recursively "uvloop")))))))
+ '())
+ (add-before 'check 'pre-check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; Remove Python module, which conflicts with the installed
+ ;; version, but lacks the built C module.
+ (delete-file-recursively "uvloop")))))))
(native-inputs
(list python-aiohttp
python-cython-3