summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2020-05-18 13:36:49 +0000
committerwiz <wiz@pkgsrc.org>2020-05-18 13:36:49 +0000
commitbff8b0dd55c141b0d121a6d4058549abd6981711 (patch)
tree2c5874e38fa45a0e742ac2a3bac126a40eb0143e /lang
parent80d519828269c516973613b32634ef01d6803602 (diff)
downloadpkgsrc-bff8b0dd55c141b0d121a6d4058549abd6981711.tar.gz
lang/py-python-language-server: import py-python-language-server-0.32.0
A Python 2.7 and 3.5+ implementation of the Language Server Protocol.
Diffstat (limited to 'lang')
-rw-r--r--lang/py-python-language-server/ALTERNATIVES1
-rw-r--r--lang/py-python-language-server/DESCR1
-rw-r--r--lang/py-python-language-server/Makefile36
-rw-r--r--lang/py-python-language-server/PLIST113
-rw-r--r--lang/py-python-language-server/distinfo7
-rw-r--r--lang/py-python-language-server/patches/patch-setup.py15
6 files changed, 173 insertions, 0 deletions
diff --git a/lang/py-python-language-server/ALTERNATIVES b/lang/py-python-language-server/ALTERNATIVES
new file mode 100644
index 00000000000..7ff4e852dff
--- /dev/null
+++ b/lang/py-python-language-server/ALTERNATIVES
@@ -0,0 +1 @@
+bin/pyls @PREFIX@/bin/pyls-@PYVERSSUFFIX@
diff --git a/lang/py-python-language-server/DESCR b/lang/py-python-language-server/DESCR
new file mode 100644
index 00000000000..ebf719abca2
--- /dev/null
+++ b/lang/py-python-language-server/DESCR
@@ -0,0 +1 @@
+A Python 2.7 and 3.5+ implementation of the Language Server Protocol.
diff --git a/lang/py-python-language-server/Makefile b/lang/py-python-language-server/Makefile
new file mode 100644
index 00000000000..35d566b5ec6
--- /dev/null
+++ b/lang/py-python-language-server/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2020/05/18 13:36:49 wiz Exp $
+
+DISTNAME= python-language-server-0.32.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= lang python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-language-server/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/palantir/python-language-server
+COMMENT= Implementation of the Language Server Protocol for Python
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-rope-[0-9]*:../../devel/py-rope
+DEPENDS+= ${PYPKGPREFIX}-flakes-[0-9]*:../../devel/py-flakes
+DEPENDS+= ${PYPKGPREFIX}-mccabe-[0-9]*:../../devel/py-mccabe
+DEPENDS+= ${PYPKGPREFIX}-codestyle-[0-9]*:../../devel/py-codestyle
+DEPENDS+= ${PYPKGPREFIX}-docstyle-[0-9]*:../../devel/py-docstyle
+DEPENDS+= ${PYPKGPREFIX}-autopep8-[0-9]*:../../devel/py-autopep8
+DEPENDS+= ${PYPKGPREFIX}-yapf-[0-9]*:../../devel/py-yapf
+DEPENDS+= ${PYPKGPREFIX}-jedi>=0.17:../../editors/py-jedi
+DEPENDS+= ${PYPKGPREFIX}-jsonrpc-server-[0-9]*:../../textproc/py-jsonrpc-server
+DEPENDS+= ${PYPKGPREFIX}-pylint-[0-9]*:../../devel/py-pylint
+DEPENDS+= ${PYPKGPREFIX}-pluggy-[0-9]*:../../devel/py-pluggy
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+
+PYTHON_VERSIONED_DEPENDENCIES= test:test
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-pylint
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && ${MV} pyls pyls-${PYVERSSUFFIX}
+
+.include "../../lang/python/versioned_dependencies.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/py-python-language-server/PLIST b/lang/py-python-language-server/PLIST
new file mode 100644
index 00000000000..15545b4fb58
--- /dev/null
+++ b/lang/py-python-language-server/PLIST
@@ -0,0 +1,113 @@
+@comment $NetBSD: PLIST,v 1.1 2020/05/18 13:36:49 wiz Exp $
+bin/pyls-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pyls/__init__.py
+${PYSITELIB}/pyls/__init__.pyc
+${PYSITELIB}/pyls/__init__.pyo
+${PYSITELIB}/pyls/__main__.py
+${PYSITELIB}/pyls/__main__.pyc
+${PYSITELIB}/pyls/__main__.pyo
+${PYSITELIB}/pyls/_utils.py
+${PYSITELIB}/pyls/_utils.pyc
+${PYSITELIB}/pyls/_utils.pyo
+${PYSITELIB}/pyls/_version.py
+${PYSITELIB}/pyls/_version.pyc
+${PYSITELIB}/pyls/_version.pyo
+${PYSITELIB}/pyls/config/__init__.py
+${PYSITELIB}/pyls/config/__init__.pyc
+${PYSITELIB}/pyls/config/__init__.pyo
+${PYSITELIB}/pyls/config/config.py
+${PYSITELIB}/pyls/config/config.pyc
+${PYSITELIB}/pyls/config/config.pyo
+${PYSITELIB}/pyls/config/flake8_conf.py
+${PYSITELIB}/pyls/config/flake8_conf.pyc
+${PYSITELIB}/pyls/config/flake8_conf.pyo
+${PYSITELIB}/pyls/config/pycodestyle_conf.py
+${PYSITELIB}/pyls/config/pycodestyle_conf.pyc
+${PYSITELIB}/pyls/config/pycodestyle_conf.pyo
+${PYSITELIB}/pyls/config/source.py
+${PYSITELIB}/pyls/config/source.pyc
+${PYSITELIB}/pyls/config/source.pyo
+${PYSITELIB}/pyls/hookspecs.py
+${PYSITELIB}/pyls/hookspecs.pyc
+${PYSITELIB}/pyls/hookspecs.pyo
+${PYSITELIB}/pyls/lsp.py
+${PYSITELIB}/pyls/lsp.pyc
+${PYSITELIB}/pyls/lsp.pyo
+${PYSITELIB}/pyls/plugins/__init__.py
+${PYSITELIB}/pyls/plugins/__init__.pyc
+${PYSITELIB}/pyls/plugins/__init__.pyo
+${PYSITELIB}/pyls/plugins/autopep8_format.py
+${PYSITELIB}/pyls/plugins/autopep8_format.pyc
+${PYSITELIB}/pyls/plugins/autopep8_format.pyo
+${PYSITELIB}/pyls/plugins/definition.py
+${PYSITELIB}/pyls/plugins/definition.pyc
+${PYSITELIB}/pyls/plugins/definition.pyo
+${PYSITELIB}/pyls/plugins/flake8_lint.py
+${PYSITELIB}/pyls/plugins/flake8_lint.pyc
+${PYSITELIB}/pyls/plugins/flake8_lint.pyo
+${PYSITELIB}/pyls/plugins/folding.py
+${PYSITELIB}/pyls/plugins/folding.pyc
+${PYSITELIB}/pyls/plugins/folding.pyo
+${PYSITELIB}/pyls/plugins/highlight.py
+${PYSITELIB}/pyls/plugins/highlight.pyc
+${PYSITELIB}/pyls/plugins/highlight.pyo
+${PYSITELIB}/pyls/plugins/hover.py
+${PYSITELIB}/pyls/plugins/hover.pyc
+${PYSITELIB}/pyls/plugins/hover.pyo
+${PYSITELIB}/pyls/plugins/jedi_completion.py
+${PYSITELIB}/pyls/plugins/jedi_completion.pyc
+${PYSITELIB}/pyls/plugins/jedi_completion.pyo
+${PYSITELIB}/pyls/plugins/jedi_rename.py
+${PYSITELIB}/pyls/plugins/jedi_rename.pyc
+${PYSITELIB}/pyls/plugins/jedi_rename.pyo
+${PYSITELIB}/pyls/plugins/mccabe_lint.py
+${PYSITELIB}/pyls/plugins/mccabe_lint.pyc
+${PYSITELIB}/pyls/plugins/mccabe_lint.pyo
+${PYSITELIB}/pyls/plugins/preload_imports.py
+${PYSITELIB}/pyls/plugins/preload_imports.pyc
+${PYSITELIB}/pyls/plugins/preload_imports.pyo
+${PYSITELIB}/pyls/plugins/pycodestyle_lint.py
+${PYSITELIB}/pyls/plugins/pycodestyle_lint.pyc
+${PYSITELIB}/pyls/plugins/pycodestyle_lint.pyo
+${PYSITELIB}/pyls/plugins/pydocstyle_lint.py
+${PYSITELIB}/pyls/plugins/pydocstyle_lint.pyc
+${PYSITELIB}/pyls/plugins/pydocstyle_lint.pyo
+${PYSITELIB}/pyls/plugins/pyflakes_lint.py
+${PYSITELIB}/pyls/plugins/pyflakes_lint.pyc
+${PYSITELIB}/pyls/plugins/pyflakes_lint.pyo
+${PYSITELIB}/pyls/plugins/pylint_lint.py
+${PYSITELIB}/pyls/plugins/pylint_lint.pyc
+${PYSITELIB}/pyls/plugins/pylint_lint.pyo
+${PYSITELIB}/pyls/plugins/references.py
+${PYSITELIB}/pyls/plugins/references.pyc
+${PYSITELIB}/pyls/plugins/references.pyo
+${PYSITELIB}/pyls/plugins/rope_completion.py
+${PYSITELIB}/pyls/plugins/rope_completion.pyc
+${PYSITELIB}/pyls/plugins/rope_completion.pyo
+${PYSITELIB}/pyls/plugins/rope_rename.py
+${PYSITELIB}/pyls/plugins/rope_rename.pyc
+${PYSITELIB}/pyls/plugins/rope_rename.pyo
+${PYSITELIB}/pyls/plugins/signature.py
+${PYSITELIB}/pyls/plugins/signature.pyc
+${PYSITELIB}/pyls/plugins/signature.pyo
+${PYSITELIB}/pyls/plugins/symbols.py
+${PYSITELIB}/pyls/plugins/symbols.pyc
+${PYSITELIB}/pyls/plugins/symbols.pyo
+${PYSITELIB}/pyls/plugins/yapf_format.py
+${PYSITELIB}/pyls/plugins/yapf_format.pyc
+${PYSITELIB}/pyls/plugins/yapf_format.pyo
+${PYSITELIB}/pyls/python_ls.py
+${PYSITELIB}/pyls/python_ls.pyc
+${PYSITELIB}/pyls/python_ls.pyo
+${PYSITELIB}/pyls/uris.py
+${PYSITELIB}/pyls/uris.pyc
+${PYSITELIB}/pyls/uris.pyo
+${PYSITELIB}/pyls/workspace.py
+${PYSITELIB}/pyls/workspace.pyc
+${PYSITELIB}/pyls/workspace.pyo
diff --git a/lang/py-python-language-server/distinfo b/lang/py-python-language-server/distinfo
new file mode 100644
index 00000000000..2e63a49e74a
--- /dev/null
+++ b/lang/py-python-language-server/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/05/18 13:36:49 wiz Exp $
+
+SHA1 (python-language-server-0.32.0.tar.gz) = 7d99ff73ba5427ee93a1bc7cbc02439766fc64c0
+RMD160 (python-language-server-0.32.0.tar.gz) = a3f739c2099ffc038bd11b868c58839953394b24
+SHA512 (python-language-server-0.32.0.tar.gz) = 7c4a6de3998f7a09cca18530e0803629924b26eaec4f1a1a4001996c680fcf35195052013f390569b0f79da94000ec86f92e9d68215dff53018080567e28ca0f
+Size (python-language-server-0.32.0.tar.gz) = 67137 bytes
+SHA1 (patch-setup.py) = b2facb324413b2ce39a5dd753a4dbb122307c726
diff --git a/lang/py-python-language-server/patches/patch-setup.py b/lang/py-python-language-server/patches/patch-setup.py
new file mode 100644
index 00000000000..0575a51c313
--- /dev/null
+++ b/lang/py-python-language-server/patches/patch-setup.py
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2020/05/18 13:36:49 wiz Exp $
+
+Accept any ujson.
+
+--- setup.py.orig 2020-05-13 20:39:42.000000000 +0000
++++ setup.py
+@@ -38,7 +38,7 @@ setup(
+ 'jedi>=0.17.0,<0.18.0',
+ 'python-jsonrpc-server>=0.3.2',
+ 'pluggy',
+- 'ujson<=1.35; platform_system!="Windows"'
++ 'ujson'
+ ],
+
+ # List additional groups of dependencies here (e.g. development