From ff5ee54dc8abaf1343e013bfc775e87b391d4137 Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Thu, 12 Mar 2026 18:31:27 +0100 Subject: [PATCH] gnu: python-sphinxcontrib-jquery: Update to 4.1-0.80d1d39. * gnu/packages/sphinx.scm (python-sphinxcontrib-jquery): Update to 80d1d3925c17c1860283323972680690f81d7b18 commit. [source]: Switch to git-fetch. [native-inputs]: Add python-pytest. Merges: https://codeberg.org/guix/guix/pulls/7112 Change-Id: I9a68700797e9b4650e01e504bc2d5abbdca8435d Signed-off-by: Sharlatan Hellseher --- gnu/packages/sphinx.scm | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index c17749f90a..1c4b069b6c 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -630,16 +630,24 @@ math in HTML via JavaScript.") (define-public python-sphinxcontrib-jquery (package (name "python-sphinxcontrib-jquery") - (version "4.1") + ;; Tests of 4.1 (released in 2024) fail with sphinx 9. + (properties '((commit . "80d1d3925c17c1860283323972680690f81d7b18") + (revision . "0"))) + (version (git-version "4.1" + (assoc-ref properties 'revision) + (assoc-ref properties 'commit))) (source (origin - (method url-fetch) - (uri (pypi-uri "sphinxcontrib-jquery" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/sphinx-contrib/jquery") + (commit (assoc-ref properties 'commit)))) + (file-name (git-file-name name version)) (sha256 - (base32 "0ymw7a9nahq7xn69dw8v6l3zvcj9zlnil4qskxvjqsp30jgp680n")))) + (base32 "0la7qasz5xlyzpx20ldcc62vkwg4xk2dd39j27dqz7zv1m8mjg0c")))) (build-system pyproject-build-system) (propagated-inputs (list python-sphinx)) - (native-inputs (list python-flit-core)) + (native-inputs (list python-flit-core python-pytest)) (home-page "https://github.com/sphinx-contrib/jquery") (synopsis "Extension to include jQuery on newer Sphinx releases") (description