Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/py-python-language-server lang/py-python-language...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5179a7c76a61
branches:  trunk
changeset: 432061:5179a7c76a61
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon May 18 13:36:49 2020 +0000

description:
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:

 lang/py-python-language-server/ALTERNATIVES           |    1 +
 lang/py-python-language-server/DESCR                  |    1 +
 lang/py-python-language-server/Makefile               |   36 +++++
 lang/py-python-language-server/PLIST                  |  113 ++++++++++++++++++
 lang/py-python-language-server/distinfo               |    7 +
 lang/py-python-language-server/patches/patch-setup.py |   15 ++
 6 files changed, 173 insertions(+), 0 deletions(-)

diffs (197 lines):

diff -r 4e43a4c9fb7f -r 5179a7c76a61 lang/py-python-language-server/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-python-language-server/ALTERNATIVES       Mon May 18 13:36:49 2020 +0000
@@ -0,0 +1,1 @@
+bin/pyls @PREFIX@/bin/pyls-@PYVERSSUFFIX@
diff -r 4e43a4c9fb7f -r 5179a7c76a61 lang/py-python-language-server/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-python-language-server/DESCR      Mon May 18 13:36:49 2020 +0000
@@ -0,0 +1,1 @@
+A Python 2.7 and 3.5+ implementation of the Language Server Protocol.
diff -r 4e43a4c9fb7f -r 5179a7c76a61 lang/py-python-language-server/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-python-language-server/Makefile   Mon May 18 13:36:49 2020 +0000
@@ -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@localhost
+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 -r 4e43a4c9fb7f -r 5179a7c76a61 lang/py-python-language-server/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-python-language-server/PLIST      Mon May 18 13:36:49 2020 +0000
@@ -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 -r 4e43a4c9fb7f -r 5179a7c76a61 lang/py-python-language-server/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-python-language-server/distinfo   Mon May 18 13:36:49 2020 +0000
@@ -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 -r 4e43a4c9fb7f -r 5179a7c76a61 lang/py-python-language-server/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-python-language-server/patches/patch-setup.py     Mon May 18 13:36:49 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index