Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 2021 19:27:32 GMT
From:      Rainer Hurling <rhurlin@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c9d686e08f4b - main - New port: textproc/py-python-lsp-server: Implementation of the Language Server Protocol
Message-ID:  <202104301927.13UJRWrA038590@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rhurlin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c9d686e08f4b933bcd4514d198fbfc0355d54375

commit c9d686e08f4b933bcd4514d198fbfc0355d54375
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2021-04-30 19:19:03 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2021-04-30 19:27:12 +0000

    New port: textproc/py-python-lsp-server: Implementation of the Language Server Protocol
    
    Changelog: https://github.com/python-lsp/python-lsp-server/blob/develop/CHANGELOG.md
---
 textproc/Makefile                       |  1 +
 textproc/py-python-lsp-server/Makefile  | 32 ++++++++++++++++++++++++++++++++
 textproc/py-python-lsp-server/distinfo  |  3 +++
 textproc/py-python-lsp-server/pkg-descr |  8 ++++++++
 4 files changed, 44 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104301927.13UJRWrA038590>