guix_mirror_bot pushed a commit to branch master
in repository guix.

commit c43023090a255cc1f3b8bd947351d98d91adce4b
Author: Nicolas Graves <[email protected]>
AuthorDate: Thu Jul 31 22:25:09 2025 +0200

    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 <[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 649bb33cf4..0808656e72 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

Reply via email to