summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gaspar <andrew.gaspar@outlook.com>2020-07-02 02:22:01 -0600
committerGitHub <noreply@github.com>2020-07-02 10:22:01 +0200
commit204f15b4c143c7a0945119d2325c1c29749ad16f (patch)
treec2725ce427e8878a541c54c6d637a2223c958c02
parenta4fff39d7e0a53ceb7741007bf0acfd01560c20a (diff)
downloadspack-204f15b4c143c7a0945119d2325c1c29749ad16f.tar.gz
spack-204f15b4c143c7a0945119d2325c1c29749ad16f.tar.bz2
spack-204f15b4c143c7a0945119d2325c1c29749ad16f.tar.xz
spack-204f15b4c143c7a0945119d2325c1c29749ad16f.zip
py-fortran-language-server: new package at v1.11.1 (#17318)
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-fortran-language-server/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-fortran-language-server/package.py b/var/spack/repos/builtin/packages/py-fortran-language-server/package.py
new file mode 100644
index 0000000000..277cf91c9d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-fortran-language-server/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2020 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 import *
+
+
+class PyFortranLanguageServer(PythonPackage):
+ """A Fortran implementation of the Language Server Protocol using Python
+ (2.7+ or 3.0+)."""
+
+ homepage = "https://github.com/hansec/fortran-language-server"
+ url = "https://github.com/hansec/fortran-language-server/archive/v1.10.3.tar.gz"
+
+ maintainers = ['AndrewGaspar']
+
+ version('1.11.1', sha256='8f03782dd992d6652a3f2d349115fdad3aa3464fee3fafbbc4f8ecf780166e3c')
+
+ depends_on('python@2.7:', type=('build', 'run'))
+ depends_on('py-future', type=('build', 'run'), when='^python@:2')
+ depends_on('py-argparse', type=('build', 'run'), when='^python@:2.6,3.0:3.1')
+ depends_on('py-setuptools', type='build')