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
This commit is contained in:
Ricardo Wurmus 2024-05-07 22:51:13 +02:00 committed by Sharlatan Hellseher
parent 1ecb5b9076
commit 0bcd6ce3aa
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

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