git: e88e7aa7318e - main - devel/py-jupyter-lsp: Add py-jupyter-lsp 2.0.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Apr 2023 13:39:08 UTC
The branch main has been updated by sunpoet:

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

commit e88e7aa7318eda3e53b1dff2404a7217ce2f01ba
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-09 13:16:50 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-09 13:36:25 +0000

    devel/py-jupyter-lsp: Add py-jupyter-lsp 2.0.1
    
    Multi-Language Server WebSocket proxy for your Jupyter notebook or lab server.
---
 devel/Makefile                 |  1 +
 devel/py-jupyter-lsp/Makefile  | 27 +++++++++++++++++++++++++++
 devel/py-jupyter-lsp/distinfo  |  3 +++
 devel/py-jupyter-lsp/pkg-descr |  1 +
 4 files changed, 32 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index f8629f3a5d75..745cfde32b0a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4809,6 +4809,7 @@
     SUBDIR += py-jupyter-core
     SUBDIR += py-jupyter-events
     SUBDIR += py-jupyter-kernel-test
+    SUBDIR += py-jupyter-lsp
     SUBDIR += py-jupyter-packaging
     SUBDIR += py-jupyter-server
     SUBDIR += py-jupyter-server-fileid
diff --git a/devel/py-jupyter-lsp/Makefile b/devel/py-jupyter-lsp/Makefile
new file mode 100644
index 000000000000..7f8f596cc071
--- /dev/null
+++ b/devel/py-jupyter-lsp/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	jupyter-lsp
+PORTVERSION=	2.0.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab server
+WWW=		https://github.com/jupyter-lsp/jupyterlab-lsp
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jupyter-server>=1.1.2:devel/py-jupyter-server@${PY_FLAVOR}
+
+USES=		python:3.8+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31000
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.8.3:devel/py-importlib-metadata@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-jupyter-lsp/distinfo b/devel/py-jupyter-lsp/distinfo
new file mode 100644
index 000000000000..22adf19f91d3
--- /dev/null
+++ b/devel/py-jupyter-lsp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1680726008
+SHA256 (jupyter-lsp-2.0.1.tar.gz) = abee77e93630694e990bb775d543a1f6295919dfb62bf9ec08e13ae144c18dfe
+SIZE (jupyter-lsp-2.0.1.tar.gz) = 43962
diff --git a/devel/py-jupyter-lsp/pkg-descr b/devel/py-jupyter-lsp/pkg-descr
new file mode 100644
index 000000000000..ddc8d3d9c4ae
--- /dev/null
+++ b/devel/py-jupyter-lsp/pkg-descr
@@ -0,0 +1 @@
+Multi-Language Server WebSocket proxy for your Jupyter notebook or lab server.