New packages: py-ford and dependencies (#31107)
* Created package and added description * Add py-markdown-include * Created package * Finished creating package * Added py-md-environ * Added build dependencies * Added other deps * Add python-markdown-math (#4) * Created package and started to add info * Removed unneeded global/install options * Figured out version spec for markdown-math * Removed type=build from unnecessary dependencies * Removed unneeded install/global options, added version spec to dependency * Added wscullin as interim maintainer for packages * Fixed style issues * Took care of trailing whitespace * Removed comment line before imports * Changed file charset to match other packages * Update var/spack/repos/builtin/packages/py-ford/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-ford/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Removed test dependency after review feedback * Added new 6.1.12 version to py-ford Co-authored-by: Seth R. Johnson <johnsonsr@ornl.gov> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
parent
2e4b533420
commit
8c3b82c140
36
var/spack/repos/builtin/packages/py-ford/package.py
Normal file
36
var/spack/repos/builtin/packages/py-ford/package.py
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# 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 PyFord(PythonPackage):
|
||||||
|
"""FORD, standing for FORtran Documenter, is an automatic documentation generator
|
||||||
|
for modern Fortran programs."""
|
||||||
|
|
||||||
|
pypi = "FORD/FORD-6.1.11.tar.gz"
|
||||||
|
|
||||||
|
maintainers = ['wscullin']
|
||||||
|
|
||||||
|
version('6.1.12', sha256='101191e1aa33cfe780ea5b2d66d02c7281b9b314e82bb138d76809a49c08506a')
|
||||||
|
version('6.1.11', sha256='feb9a88040e717e84c632e4b023904ab36a463fc9a8ff80c8c7f86454e5d8043')
|
||||||
|
|
||||||
|
depends_on('py-wheel@0.29:', type='build')
|
||||||
|
|
||||||
|
depends_on('py-setuptools@48:', type='build')
|
||||||
|
depends_on('py-setuptools-scm@4:5+toml', type='build')
|
||||||
|
depends_on('py-setuptools-scm-git-archive', type='build')
|
||||||
|
|
||||||
|
depends_on('py-markdown', type=('build', 'run'))
|
||||||
|
depends_on('py-markdown-include@0.5.1:', type='run')
|
||||||
|
depends_on('py-md-environ', type=('build', 'run'), when='@:6.1.8')
|
||||||
|
depends_on('py-python-markdown-math@0.8:0', type='run')
|
||||||
|
depends_on('py-toposort', type=('build', 'run'))
|
||||||
|
depends_on('py-jinja2@2.1:', type=('build', 'run'))
|
||||||
|
depends_on('py-pygments', type=('build', 'run'))
|
||||||
|
depends_on('py-beautifulsoup4@4.5.1:', type=('build', 'run'))
|
||||||
|
depends_on('py-graphviz', type=('build', 'run'))
|
||||||
|
depends_on('py-tqdm', type=('build', 'run'))
|
||||||
|
depends_on('py-importlib-metadata', when='^python@:3.7', type=('build', 'run'))
|
@ -0,0 +1,22 @@
|
|||||||
|
# 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 PyMarkdownInclude(PythonPackage):
|
||||||
|
"""This is an extension to Python-Markdown which provides an "include"
|
||||||
|
function, similar to that found in LaTeX (and also the
|
||||||
|
C pre-processor and Fortran)."""
|
||||||
|
|
||||||
|
pypi = "markdown-include/markdown-include-0.6.0.tar.gz"
|
||||||
|
|
||||||
|
maintainers = ['wscullin']
|
||||||
|
|
||||||
|
version('0.6.0', sha256='6f5d680e36f7780c7f0f61dca53ca581bd50d1b56137ddcd6353efafa0c3e4a2')
|
||||||
|
|
||||||
|
depends_on('py-setuptools', type='build')
|
||||||
|
|
||||||
|
depends_on('py-markdown', type=('build', 'run'))
|
21
var/spack/repos/builtin/packages/py-md-environ/package.py
Normal file
21
var/spack/repos/builtin/packages/py-md-environ/package.py
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# 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 PyMdEnviron(PythonPackage):
|
||||||
|
"""This is an extension to Python-Markdown which allows environment variables
|
||||||
|
to be used in the text."""
|
||||||
|
|
||||||
|
pypi = "md-environ/md-environ-0.1.0.tar.gz"
|
||||||
|
|
||||||
|
maintainers = ['wscullin']
|
||||||
|
|
||||||
|
version('0.1.0', sha256='fe3c2a255af523d6f522831c699336cd71f9d543714067d93206ed35836f1793')
|
||||||
|
|
||||||
|
depends_on('py-setuptools', type='build')
|
||||||
|
|
||||||
|
depends_on('py-markdown', type=('build', 'run'))
|
@ -0,0 +1,22 @@
|
|||||||
|
# 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 PyPythonMarkdownMath(PythonPackage):
|
||||||
|
"""Math extension for Python-Markdown"""
|
||||||
|
|
||||||
|
pypi = "python-markdown-math/python-markdown-math-0.8.tar.gz"
|
||||||
|
|
||||||
|
maintainers = ['wscullin']
|
||||||
|
|
||||||
|
version('0.8', sha256='8564212af679fc18d53f38681f16080fcd3d186073f23825c7ce86fadd3e3635')
|
||||||
|
|
||||||
|
depends_on('python@3.6:', type=('build', 'run'))
|
||||||
|
|
||||||
|
depends_on('py-setuptools@30.3:', type='build')
|
||||||
|
|
||||||
|
depends_on('py-markdown@3.0:', type=('build', 'run'))
|
Loading…
Reference in New Issue
Block a user