[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: python-uvloop: Fix indentation.
From: |
guix-commits |
Subject: |
01/02: gnu: python-uvloop: Fix indentation. |
Date: |
Thu, 13 Mar 2025 09:03:35 -0400 (EDT) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 1d6042050a86450902cd07f439ea5f9ec2972e6f
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Thu Mar 13 13:00:59 2025 +0000
gnu: python-uvloop: Fix indentation.
* gnu/packages/python-web.scm (python-uvloop): Fix indentation.
Change-Id: I72f6674c870317ebec48933e2bb5744bae6e0387
---
gnu/packages/python-web.scm | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 8eba84a104..b8306b486f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7263,29 +7263,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