guix_mirror_bot pushed a commit to branch master
in repository guix.

commit f6f7cfd62dd1cc34d1a97540910f4b7ede13faa0
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Nov 23 18:31:40 2025 +0100

    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 <[email protected]>
---
 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 7c38372462..67899f5b79 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")

Reply via email to