From 2d6a3799fcda5c017f653c6e96b91964b07a7ee0 Mon Sep 17 00:00:00 2001 From: jgart Date: Thu, 11 Jul 2024 22:08:30 -0500 Subject: [PATCH] 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 ;;; Copyright © 2021 Xinglu Chen ;;; Copyright © 2021 Raghav Gururajan -;;; Copyright © 2021, 2023 jgart +;;; Copyright © 2021, 2023-2024 jgart ;;; Copyright © 2021 Danial Behzadi ;;; Copyright © 2021 Maxime Devos ;;; Copyright © 2021 Hugo Lecomte @@ -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")