[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51314] [PATCH 22/29] gnu: python-colorlog: Update to 5.0.1.
From: |
Vinicius Monego |
Subject: |
[bug#51314] [PATCH 22/29] gnu: python-colorlog: Update to 5.0.1. |
Date: |
Thu, 21 Oct 2021 04:01:53 +0000 |
* gnu/packages/python-xyz.scm (python-colorlog): Update to 5.0.1.
[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 c5d281e033..115e013490 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -739,26 +739,24 @@ implementation for the Telegram Bot API.")
(define-public python-colorlog
(package
(name "python-colorlog")
- (version "4.1.0")
+ (version "5.0.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "colorlog" version))
(sha256
(base32
- "1lpk8zmfv8vz090h5d0hzb4n39wgasxdd3x3bpn3v1x1n9dfzaih"))))
+ "1sl8wps7d8xl2larlb7wkvr7sa3bpvyprq4y8ks04awn0qx02z7i"))))
(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 05/29] gnu: Add python-sarge., (continued)
- [bug#51314] [PATCH 05/29] gnu: Add python-sarge., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 14/29] gnu: Add python-pytest-doctest-custom., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 17/29] gnu: python-feedparser: Enable tests., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 13/29] gnu: Add python-sentry-sdk., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 10/29] gnu: Add python-flask-assets., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 12/29] gnu: Add python-executing., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 19/29] gnu: python-websocket-client: Update to 0.59.0., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 20/29] gnu: python-pkginfo: Update to 1.7.1., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 06/29] gnu: Add python-pylru., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 09/29] gnu: Add python-pyscss., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 22/29] gnu: python-colorlog: Update to 5.0.1.,
Vinicius Monego <=
- [bug#51314] [PATCH 21/29] gnu: python-watchdog: Update to 0.10.7., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 15/29] gnu: Add python-sgmllib3k., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 16/29] gnu: python-feedparser: Update to 6.0.8., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 08/29] gnu: python-flask: Respect #:tests?., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 18/29] gnu: python-netifaces: Update to 0.11.0., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 07/29] gnu: python-flask: Update to 1.1.4., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 11/29] gnu: Add python-zipstream-new., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 23/29] gnu: python-zeroconf: Update to 0.33.4., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 24/29] gnu: python-wrapt: Update to 1.12.1., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 26/29] gnu: Add octoprint-pisupport., Vinicius Monego, 2021/10/21