lilyp pushed a commit to branch gnome-team
in repository guix.

commit 2d6a3799fcda5c017f653c6e96b91964b07a7ee0
Author: jgart <[email protected]>
AuthorDate: Thu Jul 11 22:08:30 2024 -0500

    gnu: python-colorlog: Use new style.
    
    * gnu/packages/python-xyz.scm (python-colorlog): Use new style.
    
    Change-Id: Id31d34d9c09330f7a5aa723ca1a1352b6736d875
---
 gnu/packages/python-xyz.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 264fd3edd5..1bf07d3c26 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -99,7 +99,7 @@
 ;;; Copyright © 2021 LibreMiami <[email protected]>
 ;;; Copyright © 2021 Xinglu Chen <[email protected]>
 ;;; Copyright © 2021 Raghav Gururajan <[email protected]>
-;;; Copyright © 2021, 2023 jgart <[email protected]>
+;;; Copyright © 2021, 2023-2024 jgart <[email protected]>
 ;;; Copyright © 2021 Danial Behzadi <[email protected]>
 ;;; Copyright © 2021 Maxime Devos <[email protected]>
 ;;; Copyright © 2021 Hugo Lecomte <[email protected]>
@@ -2113,13 +2113,14 @@ implementation for the Telegram Bot API.")
         (base32 "1s7x0v872h8aks8xp01wmv6hzisxqjrh1svbbcycir0980h76krl"))))
     (build-system python-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
-             (when tests?
-               (add-installed-pythonpath inputs outputs)
-               (invoke "python" "-m" "pytest")))))))
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+              (when tests?
+                (add-installed-pythonpath inputs outputs)
+                (invoke "python" "-m" "pytest")))))))
     (native-inputs
      (list python-pytest))
     (home-page "https://github.com/borntyping/python-colorlog";)

Reply via email to