[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51314] [PATCH v2 17/24] gnu: python-colorlog: Update to 6.6.0.
From: |
Vinicius Monego |
Subject: |
[bug#51314] [PATCH v2 17/24] gnu: python-colorlog: Update to 6.6.0. |
Date: |
Sat, 13 Nov 2021 20:02:23 +0000 |
* gnu/packages/python-xyz.scm (python-colorlog): Update to 6.6.0.
[arguments]<#:phases>: Simplify custom 'check phase.
---
gnu/packages/python-xyz.scm | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6c2294c4a1..63325dfc90 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -740,26 +740,24 @@ implementation for the Telegram Bot API.")
(define-public python-colorlog
(package
(name "python-colorlog")
- (version "4.1.0")
+ (version "6.6.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "colorlog" version))
(sha256
(base32
- "1lpk8zmfv8vz090h5d0hzb4n39wgasxdd3x3bpn3v1x1n9dfzaih"))))
+ "1s7x0v872h8aks8xp01wmv6hzisxqjrh1svbbcycir0980h76krl"))))
(build-system python-build-system)
(native-inputs
`(("python-pytest" ,python-pytest)))
(arguments
- `(#:phases (modify-phases %standard-phases
- (replace 'check
- (lambda _
- ;; Extend PYTHONPATH so the built package will be found.
- (setenv "PYTHONPATH"
- (string-append (getcwd) "/build/lib:"
- (getenv "PYTHONPATH")))
- (invoke "pytest" "-p" "no:logging")
- #t)))))
+ `(#: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")))))))
(home-page "https://github.com/borntyping/python-colorlog")
(synopsis "Log formatting with colors for python")
(description "The @code{colorlog.ColoredFormatter} is a formatter for use
--
2.30.2
- [bug#51314] [PATCH v2 06/24] gnu: Add python-flask-assets., (continued)
- [bug#51314] [PATCH v2 06/24] gnu: Add python-flask-assets., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 08/24] gnu: Add python-executing., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 10/24] gnu: Add python-pytest-doctest-custom., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 12/24] gnu: python-feedparser: Enable tests., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 11/24] gnu: python-feedparser: Update to 6.0.8., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 09/24] gnu: Add python-sentry-sdk., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 15/24] gnu: python-pkginfo: Update to 1.7.1., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 14/24] gnu: python-websocket-client: Update to 0.59.0., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 13/24] gnu: python-netifaces: Update to 0.11.0., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 16/24] gnu: python-watchdog: Update to 2.1.6., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 17/24] gnu: python-colorlog: Update to 6.6.0.,
Vinicius Monego <=
- [bug#51314] [PATCH v2 19/24] gnu: python-wrapt: Update to 1.13.3., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 18/24] gnu: python-zeroconf: Update to 0.36.13., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 24/24] gnu: Add octoprint., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 21/24] gnu: Add octoprint-pisupport., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 20/24] gnu: python-wrapt: Enable tests., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 23/24] gnu: Add octoprint-filecheck., Vinicius Monego, 2021/11/13
- [bug#51314] [PATCH v2 22/24] gnu: Add octoprint-firmwarecheck., Vinicius Monego, 2021/11/13