sharlatan pushed a commit to branch python-team
in repository guix.

commit b9041492114f0057db1aac678f1c4073e0938b5b
Author: Sharlatan Hellseher <[email protected]>
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 42a63b96d8..19a8dfcea3 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7266,29 +7266,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

Reply via email to