Add py-python-lsp-server and dependencies (#34149)
* Add py-python-lsp-server and dependencies * Update var/spack/repos/builtin/packages/py-python-lsp-server/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Relax version range constraints on py-python-lsp-jsonrpc and add missing dep * Add runtime dependency flag to setuptools dependencies * Remove unused python@3.6: dependency and move setuptools-scm to build dep only Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
parent
8420c610fa
commit
6602780657
@ -0,0 +1,20 @@
|
||||
# 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 PyDocstringToMarkdown(PythonPackage):
|
||||
"""On the fly conversion of Python docstrings to markdown."""
|
||||
|
||||
homepage = "https://github.com/python-lsp/docstring-to-markdown"
|
||||
pypi = "docstring-to-markdown/docstring-to-markdown-0.10.tar.gz"
|
||||
|
||||
maintainers = ["alecbcs"]
|
||||
|
||||
version("0.10", sha256="12f75b0c7b7572defea2d9e24b57ef7ac38c3e26e91c0e5547cfc02b1c168bf6")
|
||||
|
||||
depends_on("python@3.6:", type=("build", "run"))
|
||||
depends_on("py-setuptools", type="build")
|
@ -0,0 +1,20 @@
|
||||
# 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 PyPythonLspJsonrpc(PythonPackage):
|
||||
"""A Python 3.7+ server implementation of the JSON RPC 2.0 protocol."""
|
||||
|
||||
homepage = "https://github.com/python-lsp/python-lsp-jsonrpc"
|
||||
pypi = "python-lsp-jsonrpc/python-lsp-jsonrpc-1.0.0.tar.gz"
|
||||
|
||||
maintainers = ["alecbcs"]
|
||||
|
||||
version("1.0.0", sha256="7bec170733db628d3506ea3a5288ff76aa33c70215ed223abdb0d95e957660bd")
|
||||
|
||||
depends_on("py-setuptools", type="build")
|
||||
depends_on("py-ujson@3.0.0:", type=("build", "run"))
|
@ -0,0 +1,26 @@
|
||||
# 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 PyPythonLspServer(PythonPackage):
|
||||
"""A Python 3.7+ implementation of the Language Server Protocol."""
|
||||
|
||||
homepage = "https://github.com/python-lsp/python-lsp-server"
|
||||
pypi = "python-lsp-server/python-lsp-server-1.6.0.tar.gz"
|
||||
|
||||
maintainers = ["alecbcs"]
|
||||
|
||||
version("1.6.0", sha256="d75cdff9027c4212e5b9e861e9a0219219c8e2c69508d9f24949951dabd0dc1b")
|
||||
|
||||
depends_on("python@3.7:", type=("build", "run"))
|
||||
depends_on("py-setuptools@61.2.0:", type=("build", "run"))
|
||||
depends_on("py-setuptools-scm@3.4.3:+toml", type="build")
|
||||
depends_on("py-docstring-to-markdown", type=("build", "run"))
|
||||
depends_on("py-jedi@0.17.2:0.18", type=("build", "run"))
|
||||
depends_on("py-pluggy@1.0.0:", type=("build", "run"))
|
||||
depends_on("py-python-lsp-jsonrpc@1.0.0:", type=("build", "run"))
|
||||
depends_on("py-ujson@3.0.0:", type=("build", "run"))
|
Loading…
Reference in New Issue
Block a user