From f6f7cfd62dd1cc34d1a97540910f4b7ede13faa0 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 23 Nov 2025 18:31:40 +0100 Subject: [PATCH] gnu: python-mpl-sphinx-theme: Switch to pyproject. * gnu/packages/sphinx.scm (python-mpl-sphinx-theme): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable them. [native-inputs]: Add python-setuptools. Change-Id: I7d6784ff597393d39dd9868bb449675cf96f746e Signed-off-by: Sharlatan Hellseher --- gnu/packages/sphinx.scm | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 7c3837246234cff416d01caec71b7b74f108b988..67899f5b79698187a75651a1cc85a6cd38879058 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -1036,11 +1036,16 @@ several other projects.") (version "3.5.0") (source (origin - (method url-fetch) - (uri (pypi-uri "mpl_sphinx_theme" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/matplotlib/mpl-sphinx-theme") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "0ilsw6s5hfvjzqs3258c8gmg5v3dwa6k69mwmkxsyh1qmv15krpw")))) - (build-system python-build-system) + (base32 "0sgax26779sl5fna8lim340j588id820nh2j64rmim17bn5vr19x")))) + (build-system pyproject-build-system) + (arguments (list #:tests? #f)) ; No tests. + (native-inputs (list python-setuptools)) (propagated-inputs (list python-pydata-sphinx-theme)) (home-page "https://github.com/matplotlib/mpl-sphinx-theme") (synopsis "Matplotlib theme for Sphinx")