[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/299: gnu: python-webcolors: Update to 24.11.1.
From: |
guix-commits |
Subject: |
26/299: gnu: python-webcolors: Update to 24.11.1. |
Date: |
Mon, 13 Jan 2025 15:17:43 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit 248205c11a852be70627da0cf39c4fc6c232af75
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Dec 17 09:54:47 2024 +0100
gnu: python-webcolors: Update to 24.11.1.
* gnu/packages/python-web.scm (python-webcolors): Update to 24.11.1.
[build-system]: Use pyproject-build-system.
[arguments]: Add phase 'patch-pyproject; remove custom 'check phase.
[native-inputs]: Add python-pdm-backend.
Change-Id: Ifcc947d08a369dfafa6f0e0eed473bc6e372ccd6
---
gnu/packages/python-web.scm | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index e1acce6737..5e12706fb5 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8962,24 +8962,27 @@ translate entities on HTML strings, among other
things.")
(define-public python-webcolors
(package
(name "python-webcolors")
- (version "1.11.1")
+ (version "24.11.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "webcolors" version))
(sha256
- (base32 "1rkda75h2p65zx6r84c9mjavn4xpviqvqrklvdvcklapd5in1wvn"))))
- (build-system python-build-system)
+ (base32 "1xl0vn4xa03vjwx6fj19q9kgb94g65gvdf3p0ivsy0i2ydldgczc"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? inputs outputs #:allow-other-keys)
- (when tests?
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest")))))))
+ (list
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'patch-pyproject
+ (lambda _
+ ;; XXX Our version of python-pdm-backend does not recognize
+ ;; "dependency-groups", but is fine with the bogus
+ ;; "tool.whatever".
+ (substitute* "pyproject.toml"
+ (("\\[dependency-groups\\]") "[tool.whatever]")))))))
(native-inputs
- (list python-pytest))
+ (list python-pdm-backend python-pytest))
(home-page "https://github.com/ubernostrum/webcolors")
(synopsis "HTML/CSS color definitions library")
(description "@code{python-webcolors} is a module for working with
- branch python-team created (now 9d62432923), guix-commits, 2025/01/13
- 03/299: gnu: python-statmake: Remove obsolete build phase., guix-commits, 2025/01/13
- 05/299: gnu: python-pyramid: Update to 2.0.2., guix-commits, 2025/01/13
- 08/299: gnu: python-pyproject-api: Update to 1.8.0., guix-commits, 2025/01/13
- 12/299: gnu: python-pytest-subprocess: Update to 1.5.2., guix-commits, 2025/01/13
- 24/299: gnu: Add python-devpi-process., guix-commits, 2025/01/13
- 26/299: gnu: python-webcolors: Update to 24.11.1.,
guix-commits <=
- 27/299: gnu: python-biom-format: Use pyproject-build-system., guix-commits, 2025/01/13
- 31/299: gnu: python-chardet: Update to 5.2.0., guix-commits, 2025/01/13
- 36/299: gnu: python-waitress: Update to 3.0.2., guix-commits, 2025/01/13
- 42/299: gnu: python-pydantic: Fix build., guix-commits, 2025/01/13
- 55/299: gnu: python-eventlet: Update to 0.38.2., guix-commits, 2025/01/13
- 54/299: gnu: python-gevent: Update to 24.11.1., guix-commits, 2025/01/13
- 61/299: gnu: python-pydevd: Avoid test failures due to greendns., guix-commits, 2025/01/13
- 74/299: gnu: fava: Update to 1.27., guix-commits, 2025/01/13
- 85/299: gnu: cwltool: Patch tox.ini., guix-commits, 2025/01/13
- 89/299: gnu: python-pyopenssl: Update to 24.3.0., guix-commits, 2025/01/13