diff options
author | Rocco Meli <r.meli@bluemail.ch> | 2023-02-14 08:27:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-13 23:27:29 -0800 |
commit | 54f783e656c123a6fbc956bbd005093723fb40d3 (patch) | |
tree | 0f854095678730320ff0073f31ba1f567beff751 | |
parent | 34441c9eaa1b6a4038a54874baec0d70fa8cbba3 (diff) | |
download | spack-54f783e656c123a6fbc956bbd005093723fb40d3.tar.gz spack-54f783e656c123a6fbc956bbd005093723fb40d3.tar.bz2 spack-54f783e656c123a6fbc956bbd005093723fb40d3.tar.xz spack-54f783e656c123a6fbc956bbd005093723fb40d3.zip |
Add fortls (#35455)
* fortls
* Update var/spack/repos/builtin/packages/py-fortls/package.py
* review
* Update var/spack/repos/builtin/packages/py-fortls/package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* fixes
* review
---------
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r-- | var/spack/repos/builtin/packages/py-fortls/package.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-fortls/package.py b/var/spack/repos/builtin/packages/py-fortls/package.py new file mode 100644 index 0000000000..ae089b96e6 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-fortls/package.py @@ -0,0 +1,26 @@ +# 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 PyFortls(PythonPackage): + """A Language Server for Fortran providing code completion, diagnostics, hovering and more.""" + + homepage = "https://fortls.fortran-lang.org" + pypi = "fortls/fortls-2.13.0.tar.gz" + + maintainers("RMeli") + + version("2.13.0", sha256="23c5013e8dd8e1d65bf07be610d0827bc48aa7331a7a7ce13612d4c646d0db31") + + depends_on("py-setuptools@45:", type="build") + depends_on("py-packaging", type=("build", "run")) + depends_on("py-setuptools-scm@6.2:+toml", type="build") + depends_on("py-setuptools-scm-git-archive", type="build") + + depends_on("py-json5", type=("build", "run")) + depends_on("py-importlib-metadata", type=("build", "run"), when="^python@:3.7") + depends_on("py-typing-extensions", type=("build", "run"), when="^python@:3.7") |