aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Hurling <rhurlin@FreeBSD.org>2021-04-30 19:19:03 +0000
committerRainer Hurling <rhurlin@FreeBSD.org>2021-04-30 19:27:12 +0000
commitc9d686e08f4b933bcd4514d198fbfc0355d54375 (patch)
tree1ba2903113088fef000ab43ccc1f9b57e7a819bc
parentf07c555440e4e7c6718efa987b13e05ffcb61abc (diff)
New port: textproc/py-python-lsp-server: Implementation of the Language Server Protocol
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-python-lsp-server/Makefile32
-rw-r--r--textproc/py-python-lsp-server/distinfo3
-rw-r--r--textproc/py-python-lsp-server/pkg-descr8
4 files changed, 44 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index f25214c4e7f6..89f8ae0a1a6f 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1384,6 +1384,7 @@
SUBDIR += py-python-gettext
SUBDIR += py-python-language-server
SUBDIR += py-python-lsp-jsonrpc
+ SUBDIR += py-python-lsp-server
SUBDIR += py-python-slugify
SUBDIR += py-python-xmp-toolkit
SUBDIR += py-pytidylib
diff --git a/textproc/py-python-lsp-server/Makefile b/textproc/py-python-lsp-server/Makefile
new file mode 100644
index 000000000000..18c8bfbc0eb1
--- /dev/null
+++ b/textproc/py-python-lsp-server/Makefile
@@ -0,0 +1,32 @@
+# Created by: Rainer Hurling <rhurlin@gwdg.de>
+
+PORTNAME= python-lsp-server
+PORTVERSION= 1.0.1
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= rhurlin@FreeBSD.org
+COMMENT= Python implementation of the Language Server Protocol
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}autopep8>0:textproc/py-autopep8@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyls-black>0:devel/py-pyls-black@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jedi>0:devel/py-jedi@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}mccabe>0:devel/py-mccabe@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pluggy>0:devel/py-pluggy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyflakes>0:devel/py-pyflakes@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pycodestyle>0:devel/py-pycodestyle@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pydocstyle>0:devel/py-pydocstyle@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}python-lsp-jsonrpc>0:textproc/py-python-lsp-jsonrpc@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ujson>0:devel/py-ujson@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}yapf>0:textproc/py-yapf@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-python-lsp-server/distinfo b/textproc/py-python-lsp-server/distinfo
new file mode 100644
index 000000000000..49e5939c1022
--- /dev/null
+++ b/textproc/py-python-lsp-server/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1619799090
+SHA256 (python-lsp-server-1.0.1.tar.gz) = 0f3d67405734ed87f65e30a7d7e70695341e3ffdca4e3d07c4d09b3113a3e5d6
+SIZE (python-lsp-server-1.0.1.tar.gz) = 56835
diff --git a/textproc/py-python-lsp-server/pkg-descr b/textproc/py-python-lsp-server/pkg-descr
new file mode 100644
index 000000000000..aeca3e5f3d66
--- /dev/null
+++ b/textproc/py-python-lsp-server/pkg-descr
@@ -0,0 +1,8 @@
+A Python 3.6+ implementation of the Language Server Protocol.
+
+Language Server Features: Auto Completion, Code Linting,
+Signature Help, Go to definition, Hover, Find References,
+Document Symbols, Document Formatting, Code folding, and
+Multiple workspaces
+
+WWW: https://github.com/python-lsp/python-lsp-server