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 <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-11-23 18:31:40 +01:00 committed by Sharlatan Hellseher
parent aa2c544f6e
commit f6f7cfd62d
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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")