From c43023090a255cc1f3b8bd947351d98d91adce4b Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Thu, 31 Jul 2025 22:25:09 +0200 Subject: [PATCH] gnu: python-nbsphinx: Switch to pyproject. * gnu/packages/sphinx.scm (python-nbsphinx): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable them. [native-inputs]: Add python-setuptools, python-wheel. Change-Id: I37beb7447618f8aec8f8b6df897aa86ac454dd2a 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 649bb33cf43cee578d81f1565d1606a4200d5eda..0808656e72e4f5c257497d62d59841d775ebb632 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -1278,13 +1278,17 @@ Syntax Tree} at different stages: before transforms, after transforms, etc.") (name "python-nbsphinx") (version "0.8.8") (source - (origin - (method url-fetch) - (uri (pypi-uri "nbsphinx" version)) - (sha256 - (base32 - "1v1lzkfx2lslhslqb110zxmm4dmdg6hs2rahf713c2rk9f10q2dm")))) - (build-system python-build-system) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/spatialaudio/nbsphinx") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0s98kab9jddy4jskllqcmwr222i85a25asi78f8nf0cpqbsvy1k6")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f)) ; No tests upstream. (propagated-inputs (list python-docutils python-jinja2 @@ -1292,6 +1296,8 @@ Syntax Tree} at different stages: before transforms, after transforms, etc.") python-nbformat python-sphinx python-traitlets)) + (native-inputs + (list python-setuptools python-wheel)) (home-page "https://nbsphinx.readthedocs.io/") (synopsis "Jupyter Notebook Tools for Sphinx") (description "@code{python-nbsphinx} is a Sphinx extension that