spack/var/spack/repos/builtin/packages/py-jupyter-server-mathjax/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

24 lines
1022 B
Python

# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class PyJupyterServerMathjax(PythonPackage):
"""MathJax resources as a Jupyter Server Extension."""
homepage = "http://jupyter.org/"
pypi = "jupyter_server_mathjax/jupyter_server_mathjax-0.2.3.tar.gz"
version("0.2.6", sha256="bb1e6b6dc0686c1fe386a22b5886163db548893a99c2810c36399e9c4ca23943")
version("0.2.3", sha256="564e8d1272019c6771208f577b5f9f2b3afb02b9e2bff3b34c042cef8ed84451")
depends_on("python@3.6:", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("py-jupyter-packaging", type="build")
depends_on("py-jupyter-packaging11@:1", when="@0.2.6:", type="build")
depends_on("py-jupyter-server@1.1:1", when="@0.2.3", type=("build", "run"))
depends_on("py-jupyter-server@1.1:", when="@0.2.6:", type=("build", "run"))