guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 3eb585c899c18c56680f45868c0d60efac946d49
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Nov 23 19:14:32 2025 +0100

    gnu: python-sphinx-sitemap: Switch to pyproject.
    
    * gnu/packages/sphinx.scm (python-sphinx-sitemap):
    [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: I5dd05e231fb290df38f4d06a64e8565e83d20888
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/sphinx.scm | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index cdd3468bee..e78af13898 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -1499,17 +1499,23 @@ with a simple (opinionated) workflow.")
     (version "2.2.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "sphinx-sitemap" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jdillard/sphinx-sitemap";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "0dvpryrz7vn8rvayzy5nrmqy4wyzlaxcx88bl46prc9w4cwxmbb5"))))
-    (build-system python-build-system)
+        (base32 "1sxapxcfvdh7vl54ja7wh5rxb4rsfpd2gsfiysyd4qnbfmiz4prm"))))
+    (build-system pyproject-build-system)
+    (arguments (list #:tests? #f))      ;No tests despite tox.ini.
+    (native-inputs (list python-setuptools))
     (propagated-inputs (list python-sphinx))
     (home-page "https://github.com/jdillard/sphinx-sitemap";)
     (synopsis "Sitemap generator for Sphinx")
-    (description "A Sphinx extension to generate multiversion and
-multilanguage sitemaps.org compliant sitemaps for the HTML version of your
-Sphinx documentation.")
+    (description
+     "A Sphinx extension to generate multiversion and multilanguage
+sitemaps.org compliant sitemaps for the HTML version of your Sphinx
+documentation.")
     (license license:expat)))
 
 (define-public python-pydata-sphinx-theme

Reply via email to