~ruther/guix-local

0bcd6ce3aa88e70bb747c6753d226cad88d99f13 — Ricardo Wurmus 2 years ago 1ecb5b9
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
1 files changed, 8 insertions(+), 15 deletions(-)

M gnu/packages/jupyter.scm
M gnu/packages/jupyter.scm => gnu/packages/jupyter.scm +8 -15
@@ 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