summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorZach Jibben <zjibben@gmail.com>2022-10-24 19:38:23 -0600
committerGitHub <noreply@github.com>2022-10-24 20:38:23 -0500
commit8e78a91ebda4798c0242aec22616cb6b2ba249ae (patch)
tree8a69b94ddd12dad7732345fba5d34fa2fa8aaca3 /var
parentbaa21d664b774f5b996f00e91d6fd67da4894684 (diff)
downloadspack-8e78a91ebda4798c0242aec22616cb6b2ba249ae.tar.gz
spack-8e78a91ebda4798c0242aec22616cb6b2ba249ae.tar.bz2
spack-8e78a91ebda4798c0242aec22616cb6b2ba249ae.tar.xz
spack-8e78a91ebda4798c0242aec22616cb6b2ba249ae.zip
Add py-myst-parser & update py-mdit-py-plugins and py-sphinxcontrib-mermaid (#33427)
* 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>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-exhale/package.py27
-rw-r--r--var/spack/repos/builtin/packages/py-mdit-py-plugins/package.py13
-rw-r--r--var/spack/repos/builtin/packages/py-myst-parser/package.py27
-rw-r--r--var/spack/repos/builtin/packages/py-sphinxcontrib-mermaid/package.py1
4 files changed, 64 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/py-exhale/package.py b/var/spack/repos/builtin/packages/py-exhale/package.py
new file mode 100644
index 0000000000..06be8abaef
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-exhale/package.py
@@ -0,0 +1,27 @@
+# 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 PyExhale(PythonPackage):
+ """Automatic C++ library api documentation generation: breathe doxygen in
+ and exhale it out."""
+
+ homepage = "https://github.com/svenevs/exhale"
+ pypi = "exhale/exhale-0.3.6.tar.gz"
+
+ maintainers = ["svenevs"]
+
+ version("0.3.6", sha256="ab41be313e1236bd4386e4696fb35f37ce8103c2059cf8d1f083da5411bb74d7")
+
+ depends_on("python@3.7:", type=("build", "run"))
+ depends_on("py-setuptools@42:", type="build")
+ depends_on("py-breathe@4.32.0:", type="build")
+ depends_on("py-docutils@0.12:", type="build")
+ depends_on("py-sphinx@3:4", type="build")
+ depends_on("py-beautifulsoup4", type=("build", "run"))
+ depends_on("py-lxml", type=("build", "run"))
+ depends_on("py-six", type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/py-mdit-py-plugins/package.py b/var/spack/repos/builtin/packages/py-mdit-py-plugins/package.py
index 0b33022ebe..a096af8948 100644
--- a/var/spack/repos/builtin/packages/py-mdit-py-plugins/package.py
+++ b/var/spack/repos/builtin/packages/py-mdit-py-plugins/package.py
@@ -12,10 +12,15 @@ class PyMditPyPlugins(PythonPackage):
homepage = "https://github.com/executablebooks/mdit-py-plugins/"
git = "https://github.com/executablebooks/mdit-py-plugins/"
- pypi = "mdit-py-plugins/mdit-py-plugins-0.2.8.tar.gz"
+ pypi = "mdit-py-plugins/mdit-py-plugins-0.3.1.tar.gz"
+ version("0.3.1", sha256="3fc13298497d6e04fe96efdd41281bfe7622152f9caa1815ea99b5c893de9441")
version("0.2.8", sha256="5991cef645502e80a5388ec4fc20885d2313d4871e8b8e320ca2de14ac0c015f")
- depends_on("py-setuptools", type="build")
- depends_on("py-markdown-it-py@1.0:1", type=("build", "run"))
- depends_on("python@3.6:3", type=("build", "run"))
+ depends_on("py-flit-core@3.4:3", when="@0.3.1", type=("build", "run"))
+ depends_on("python@3.7:", when="@0.3.1", type=("build", "run"))
+ depends_on("py-markdown-it-py@1.0:2", when="@0.3.1", type=("build", "run"))
+
+ depends_on("py-setuptools", when="@:0.2", type="build")
+ depends_on("py-markdown-it-py@1.0:1", when="@0.2.8", type=("build", "run"))
+ depends_on("python@3.6:3", when="@0.2.8", type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/py-myst-parser/package.py b/var/spack/repos/builtin/packages/py-myst-parser/package.py
new file mode 100644
index 0000000000..c874822752
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-myst-parser/package.py
@@ -0,0 +1,27 @@
+# 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"))
diff --git a/var/spack/repos/builtin/packages/py-sphinxcontrib-mermaid/package.py b/var/spack/repos/builtin/packages/py-sphinxcontrib-mermaid/package.py
index 4a135a9819..c11dece3fe 100644
--- a/var/spack/repos/builtin/packages/py-sphinxcontrib-mermaid/package.py
+++ b/var/spack/repos/builtin/packages/py-sphinxcontrib-mermaid/package.py
@@ -14,6 +14,7 @@ class PySphinxcontribMermaid(PythonPackage):
homepage = "https://github.com/mgaitan/sphinxcontrib-mermaid"
pypi = "sphinxcontrib-mermaid/sphinxcontrib-mermaid-0.4.0.tar.gz"
+ version("0.7.1", sha256="aa8a40b50ec86ad12824b62180240ca52a9bda8424455d7eb252eae9aa5d293c")
version("0.4.0", sha256="0ee45ba45b9575505eacdd6212e4e545213f4f93dfa32c7eeca32720dbc3b468")
depends_on("py-setuptools", type="build")