From 3eb585c899c18c56680f45868c0d60efac946d49 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 23 Nov 2025 19:14:32 +0100 Subject: [PATCH] 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 --- 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 cdd3468bee1584eb95b022ed3a0464672d2789a7..e78af1389874aec8b5e136e4b7d063e1272f8b4a 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