guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

99/361: gnu: python-jupyter-server-mathjax: Update to 0.2.6.


From: guix-commits
Subject: 99/361: gnu: python-jupyter-server-mathjax: Update to 0.2.6.
Date: Thu, 21 Nov 2024 06:28:58 -0500 (EST)

sharlatan pushed a commit to branch python-team
in repository guix.

commit 1ac93cf750a0f8e9612cb24b3449cdf6faedbd39
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 7 22:51:13 2024 +0200

    gnu: python-jupyter-server-mathjax: Update to 0.2.6.
    
    * gnu/packages/jupyter.scm (python-jupyter-server-mathjax): Update to 0.2.6.
    [build-system]: Use pyproject-build-system.
    [arguments]: Remove custom 'check phase.
    [native-inputs]: Remove python-jupyter-server and python-pytest-tornasync; 
add
    python-pytest-jupyter, python-setuptools, and python-wheel.
    
    Change-Id: Ic6cf3d39fdf786523ab69482de48e815a77949b9
---
 gnu/packages/jupyter.scm | 23 ++++++++---------------
 1 file changed, 8 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index 5499e09bef..db7a71637b 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -679,30 +679,23 @@ for authoring custom addons.")
 (define-public python-jupyter-server-mathjax
   (package
     (name "python-jupyter-server-mathjax")
-    (version "0.2.5")
+    (version "0.2.6")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "jupyter_server_mathjax" version))
        (sha256
-        (base32 "1cz7grhj9jih9mgw4xk7a4bqy1fwlb1jsawh6ykxnvpydn76rnb4"))))
-    (build-system python-build-system)
+        (base32 "0hrrl969r7ir6q683hlr7a4lid9x2s35hax2hviiyv38q1nnn7mv"))))
+    (build-system pyproject-build-system)
     (arguments
      (list
-      #:phases
-      #~(modify-phases %standard-phases
-          (replace 'check
-            (lambda* (#:key tests? #:allow-other-keys)
-              (when tests?
-                (with-directory-excursion "/tmp"
-                  (invoke "pytest" "-vv"
-                          "--pyargs" "jupyter_server_mathjax"))))))))
+      #:test-flags
+      '(list "--pyargs" "jupyter_server_mathjax")))
     (propagated-inputs (list python-jupyter-server))
     (native-inputs
-     (list python-jupyter-server
-           python-jupyter-packaging
-           python-pytest
-           python-pytest-tornasync))
+     (list python-jupyter-packaging
+           python-pytest python-pytest-jupyter
+           python-setuptools python-wheel))
     (home-page "https://jupyter.org";)
     (synopsis "Jupyter Server extension for serving Mathjax")
     (description "This package provides a Jupyter Server extension for serving



reply via email to

[Prev in Thread] Current Thread [Next in Thread]