
* Update py-sphinxcontrib-mermaid * Add py-myst-parser * Fix py-mdit-py-plugins and py-myst-parser dependencies * Add py-exhale package * Update var/spack/repos/builtin/packages/py-mdit-py-plugins/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-myst-parser/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-myst-parser/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-myst-parser/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update py-exhale and py-myst-parser dependencies * Add @svenevs as py-exhale maintainer * Update var/spack/repos/builtin/packages/py-mdit-py-plugins/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
28 lines
1.2 KiB
Python
28 lines
1.2 KiB
Python
# Copyright 2013-2022 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 PyMystParser(PythonPackage):
|
|
"""A Sphinx and Docutils extension to parse MyST, a rich and
|
|
extensible flavour of Markdown for authoring technical and
|
|
scientific documentation."""
|
|
|
|
homepage = "https://github.com/executablebooks/MyST-Parser"
|
|
pypi = "myst-parser/myst-parser-0.18.1.tar.gz"
|
|
|
|
version("0.18.1", sha256="79317f4bb2c13053dd6e64f9da1ba1da6cd9c40c8a430c447a7b146a594c246d")
|
|
|
|
depends_on("python@3.7:", type=("build", "run"))
|
|
depends_on("py-flit-core@3.4:3", type="build")
|
|
depends_on("py-docutils@0.15:0.19", type=("build", "run"))
|
|
depends_on("py-jinja2", type=("build", "run")) # let sphinx decide version
|
|
depends_on("py-markdown-it-py@1.0.0:2", type=("build", "run"))
|
|
depends_on("py-mdit-py-plugins@0.3.1:0.3", type=("build", "run"))
|
|
depends_on("py-pyyaml", type=("build", "run"))
|
|
depends_on("py-sphinx@4.0.0:5", type=("build", "run"))
|
|
depends_on("py-typing-extensions", type=("build", "run"))
|