From ad6fd4419924a4cdd52902d58edbbb6f4c5ad2e9 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 21 Sep 2025 21:06:07 +0100 Subject: [PATCH] gnu: python-cairosvg: Update to 2.8.2. * gnu/packages/python-xyz.scm (python-cairosvg): Update to 2.8.2. [source] : Adjust the PyPI archive name according to . [arguments] : 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 --- gnu/packages/python-xyz.scm | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 95b032919ba253c1fbf0f5f6234522d663630c22..5bc983b457082b3ba543d39ac7e5b9d92772563a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31674,23 +31674,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