summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2021-11-05 11:16:38 +0000
committerwiz <wiz@pkgsrc.org>2021-11-05 11:16:38 +0000
commit10d72e941bd22966209113bbedae35fb64e891a8 (patch)
tree9083df378252e8bf1f5e8aa70c6624f9a56e733d /textproc
parent289eebfa5c059d57e3aa136000189c0b62cc52a7 (diff)
downloadpkgsrc-10d72e941bd22966209113bbedae35fb64e891a8.tar.gz
textproc/py-lsp-jsonrpc: import py-lsp-jsonrpc-1.0.0
A Python 3.6+ server implementation of the JSON RPC 2.0 protocol. This library has been pulled out of the Python LSP Server project.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-lsp-jsonrpc/DESCR2
-rw-r--r--textproc/py-lsp-jsonrpc/Makefile30
-rw-r--r--textproc/py-lsp-jsonrpc/PLIST24
-rw-r--r--textproc/py-lsp-jsonrpc/distinfo5
4 files changed, 61 insertions, 0 deletions
diff --git a/textproc/py-lsp-jsonrpc/DESCR b/textproc/py-lsp-jsonrpc/DESCR
new file mode 100644
index 00000000000..54d02816fdd
--- /dev/null
+++ b/textproc/py-lsp-jsonrpc/DESCR
@@ -0,0 +1,2 @@
+A Python 3.6+ server implementation of the JSON RPC 2.0 protocol.
+This library has been pulled out of the Python LSP Server project.
diff --git a/textproc/py-lsp-jsonrpc/Makefile b/textproc/py-lsp-jsonrpc/Makefile
new file mode 100644
index 00000000000..1f2b04c2302
--- /dev/null
+++ b/textproc/py-lsp-jsonrpc/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2021/11/05 11:16:38 wiz Exp $
+
+DISTNAME= python-lsp-jsonrpc-1.0.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
+CATEGORIES= textproc net devel
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-lsp-jsonrpc/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/python-lsp/python-lsp-jsonrpc
+COMMENT= Asynchronous JSON RPC server for Python (fork of python-jsonrpc-server)
+LICENSE= mit
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27 # textproc/py-ujson
+
+DEPENDS+= ${PYPKGPREFIX}-ujson>=3.0.0:../../textproc/py-ujson
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-pylint-[0-9]*:../../devel/py-pylint
+TEST_DEPENDS+= ${PYPKGPREFIX}-codestyle-[0-9]*:../../devel/py-codestyle
+TEST_DEPENDS+= ${PYPKGPREFIX}-flakes-[0-9]*:../../devel/py-flakes
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
+
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} py.test-${PYVERSSUFFIX}
+
+.include "../../lang/python/versioned_dependencies.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-lsp-jsonrpc/PLIST b/textproc/py-lsp-jsonrpc/PLIST
new file mode 100644
index 00000000000..1c6e4b02536
--- /dev/null
+++ b/textproc/py-lsp-jsonrpc/PLIST
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/05 11:16:38 wiz Exp $
+${PYSITELIB}/pylsp_jsonrpc/__init__.py
+${PYSITELIB}/pylsp_jsonrpc/__init__.pyc
+${PYSITELIB}/pylsp_jsonrpc/__init__.pyo
+${PYSITELIB}/pylsp_jsonrpc/_version.py
+${PYSITELIB}/pylsp_jsonrpc/_version.pyc
+${PYSITELIB}/pylsp_jsonrpc/_version.pyo
+${PYSITELIB}/pylsp_jsonrpc/dispatchers.py
+${PYSITELIB}/pylsp_jsonrpc/dispatchers.pyc
+${PYSITELIB}/pylsp_jsonrpc/dispatchers.pyo
+${PYSITELIB}/pylsp_jsonrpc/endpoint.py
+${PYSITELIB}/pylsp_jsonrpc/endpoint.pyc
+${PYSITELIB}/pylsp_jsonrpc/endpoint.pyo
+${PYSITELIB}/pylsp_jsonrpc/exceptions.py
+${PYSITELIB}/pylsp_jsonrpc/exceptions.pyc
+${PYSITELIB}/pylsp_jsonrpc/exceptions.pyo
+${PYSITELIB}/pylsp_jsonrpc/streams.py
+${PYSITELIB}/pylsp_jsonrpc/streams.pyc
+${PYSITELIB}/pylsp_jsonrpc/streams.pyo
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
diff --git a/textproc/py-lsp-jsonrpc/distinfo b/textproc/py-lsp-jsonrpc/distinfo
new file mode 100644
index 00000000000..dea58ae0bb9
--- /dev/null
+++ b/textproc/py-lsp-jsonrpc/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2021/11/05 11:16:38 wiz Exp $
+
+BLAKE2s (python-lsp-jsonrpc-1.0.0.tar.gz) = 28b8d6e7409a0bfc2a81c87508f0c88a7624d5075624c4f14950c6f8fe389342
+SHA512 (python-lsp-jsonrpc-1.0.0.tar.gz) = 447835fc6c3810f486d80f85295089c021b792843bdf88d461c021b8b04407d8f7e6a99c07351a23658a5dff46eb475bc64e51bdec029787cd33330b54d4dfec
+Size (python-lsp-jsonrpc-1.0.0.tar.gz) = 10011 bytes