[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/44: gnu: python-webcolors: Update to 24.11.1.
From: |
guix-commits |
Subject: |
28/44: gnu: python-webcolors: Update to 24.11.1. |
Date: |
Tue, 17 Dec 2024 08:04:48 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit 9e95d9f7318af1d2964300a0c9f26d53f265e742
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 58a28fae8e..6d575a0be9 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8955,24 +8955,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
- 17/44: gnu: python-numcodecs: Update to 0.13.1., (continued)
- 17/44: gnu: python-numcodecs: Update to 0.13.1., guix-commits, 2024/12/17
- 27/44: gnu: python-tox: Update to 4.23.2., guix-commits, 2024/12/17
- 34/44: gnu: python-chardet: Update to 5.2.0., guix-commits, 2024/12/17
- 32/44: gnu: python-extension-helpers: Update to 1.2.0., guix-commits, 2024/12/17
- 43/44: gnu: python-a2wsgi: Disable one test., guix-commits, 2024/12/17
- 21/44: gnu: Add python-lazy., guix-commits, 2024/12/17
- 25/44: gnu: Add python-devpi-client., guix-commits, 2024/12/17
- 09/44: gnu: python-pytest-qt: Update to 4.4.0., guix-commits, 2024/12/17
- 14/44: gnu: python-awkward-cpp: Update to 43., guix-commits, 2024/12/17
- 29/44: gnu: python-zarr: Update to 2.18.4., guix-commits, 2024/12/17
- 28/44: gnu: python-webcolors: Update to 24.11.1.,
guix-commits <=
- 33/44: gnu: python-colorama: Update to 0.4.6., guix-commits, 2024/12/17
- 39/44: gnu: python-waitress: Update to 3.0.2., guix-commits, 2024/12/17
- 40/44: gnu: python-uvicorn: Update to 0.34.0., guix-commits, 2024/12/17
- 23/44: gnu: Add python-devpi-common., guix-commits, 2024/12/17
- 26/44: gnu: Add python-devpi-process., guix-commits, 2024/12/17
- 19/44: gnu: Add python-legacy-cgi., guix-commits, 2024/12/17
- 24/44: gnu: Add python-devpi-server., guix-commits, 2024/12/17
- 41/44: gnu: python-httpx: Update to 0.28.1., guix-commits, 2024/12/17
- 30/44: gnu: python-biom-format: Use pyproject-build-system., guix-commits, 2024/12/17
- 38/44: gnu: python-devtools: Simplify., guix-commits, 2024/12/17