From aa2c544f6e68c956c1db30cb2096900942313586 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 23 Nov 2025 18:13:43 +0100 Subject: [PATCH] gnu: python-guzzle-sphinx-theme: Switch to pyproject. * gnu/packages/sphinx.scm (python-guzzle-sphinx-theme): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable them. [native-inputs]: Add python-setuptools. [description]: Improve style. Change-Id: I06da4737bc64626cb7745f3796835daa84ebaf50 Signed-off-by: Sharlatan Hellseher --- gnu/packages/sphinx.scm | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 72dd6f7b0d06fd4b95eca3d29415de444269bca6..7c3837246234cff416d01caec71b7b74f108b988 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -1009,20 +1009,25 @@ some related extensions.") (name "python-guzzle-sphinx-theme") (version "0.7.11") (source - (origin - (method url-fetch) - (uri (pypi-uri "guzzle_sphinx_theme" version)) - (sha256 - (base32 - "1rnkzrrsbnifn3vsb4pfaia3nlvgvw6ndpxp7lzjrh23qcwid34v")))) - (build-system python-build-system) - (propagated-inputs - (list python-sphinx)) + (origin + ;; TODO Unbundle. + (method git-fetch) + (uri (git-reference + (url "https://github.com/guzzle/guzzle_sphinx_theme") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "18mgk1rl1345zf9i7nihfw2mr609ylxcksrklyz6m2xbh19bbrja")))) + (build-system pyproject-build-system) + (arguments (list #:tests? #f)) ; No tests upstream. + (native-inputs (list python-setuptools)) + (propagated-inputs (list python-sphinx)) (home-page "https://github.com/guzzle/guzzle_sphinx_theme") (synopsis "Sphinx theme used by Guzzle") - (description "This package provides guzzle_sphinx_theme, a theme for the -Sphinx documentation system, used by @uref{http://docs.guzzlephp.org, Guzzle} -and several other projects.") + (description + "This package provides guzzle_sphinx_theme, a theme for the Sphinx +documentation system, used by @uref{http://docs.guzzlephp.org, Guzzle} and +several other projects.") (license license:expat))) (define-public python-mpl-sphinx-theme