summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-09-21 21:06:07 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-21 21:06:20 +0100
commit2b2089ea3882623ab4c622be9f132a734e22b289 (patch)
treef2087c955d7137e27a8f1a430efd50e605bf91fc
parent64eede9ae95d9261ea8a6a065509f1ae6f078b1e (diff)
gnu: python-cairosvg: Update to 2.8.2.
* gnu/packages/python-xyz.scm (python-cairosvg): Update to 2.8.2. [source] <uri>: Adjust the PyPI archive name according to <https://pypi.org/project/CairoSVG>. [arguments] <test-flags>: Provide the path to the test file, otherwise they fail. [native-inputs]: Remove python-pytest-flake8, python-pytest-isort, python-pytest-runner, and python-wheel; add python-pytest. Change-Id: I1f4947a288227e5dabd00fb3305a4ac21eb0e048
-rw-r--r--gnu/packages/python-xyz.scm24
1 files changed, 13 insertions, 11 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 94f07094c4..ec0d5867a2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -31698,23 +31698,25 @@ information in various formats.")
(define-public python-cairosvg
(package
(name "python-cairosvg")
- (version "2.5.0")
+ (version "2.8.2")
(source
(origin
(method url-fetch)
- (uri (pypi-uri "CairoSVG" version))
+ (uri (pypi-uri "cairosvg" version))
(sha256
- (base32 "1ylsisha2cc4w0yydxwhy7idkfw1inl9fsipxsrm7vyby080vi9z"))))
+ (base32 "17zgbgw24jw70rfka9wa3ff5wymk9cmaqk4a6697mchpcglg9jq7"))))
(build-system pyproject-build-system)
- (propagated-inputs
- (list python-cairocffi python-cssselect2 python-defusedxml
- python-pillow python-tinycss2))
+ (arguments
+ (list #:test-flags #~(list "cairosvg/test_api.py")))
(native-inputs
- (list python-pytest-flake8
- python-pytest-isort
- python-pytest-runner
- python-setuptools
- python-wheel))
+ (list python-pytest
+ python-setuptools))
+ (propagated-inputs
+ (list python-cairocffi
+ python-cssselect2
+ python-defusedxml
+ python-pillow
+ python-tinycss2))
(home-page "https://cairosvg.org/")
(synopsis "SVG to PDF/PS/PNG converter based on Cairo")
(description "CairoSVG is a SVG converter based on Cairo. It can export