pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/py-python-language-server



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon May 18 13:36:49 UTC 2020

Added Files:
        pkgsrc/lang/py-python-language-server: ALTERNATIVES DESCR Makefile
            PLIST distinfo
        pkgsrc/lang/py-python-language-server/patches: patch-setup.py

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/py-python-language-server/ALTERNATIVES \
    pkgsrc/lang/py-python-language-server/DESCR \
    pkgsrc/lang/py-python-language-server/Makefile \
    pkgsrc/lang/py-python-language-server/PLIST \
    pkgsrc/lang/py-python-language-server/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/py-python-language-server/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/lang/py-python-language-server/ALTERNATIVES
diff -u /dev/null pkgsrc/lang/py-python-language-server/ALTERNATIVES:1.1
--- /dev/null   Mon May 18 13:36:49 2020
+++ pkgsrc/lang/py-python-language-server/ALTERNATIVES  Mon May 18 13:36:49 2020
@@ -0,0 +1 @@
+bin/pyls @PREFIX@/bin/pyls-@PYVERSSUFFIX@
Index: pkgsrc/lang/py-python-language-server/DESCR
diff -u /dev/null pkgsrc/lang/py-python-language-server/DESCR:1.1
--- /dev/null   Mon May 18 13:36:49 2020
+++ pkgsrc/lang/py-python-language-server/DESCR Mon May 18 13:36:49 2020
@@ -0,0 +1 @@
+A Python 2.7 and 3.5+ implementation of the Language Server Protocol.
Index: pkgsrc/lang/py-python-language-server/Makefile
diff -u /dev/null pkgsrc/lang/py-python-language-server/Makefile:1.1
--- /dev/null   Mon May 18 13:36:49 2020
+++ pkgsrc/lang/py-python-language-server/Makefile      Mon May 18 13:36:49 2020
@@ -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"
Index: pkgsrc/lang/py-python-language-server/PLIST
diff -u /dev/null pkgsrc/lang/py-python-language-server/PLIST:1.1
--- /dev/null   Mon May 18 13:36:49 2020
+++ pkgsrc/lang/py-python-language-server/PLIST Mon May 18 13:36:49 2020
@@ -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
Index: pkgsrc/lang/py-python-language-server/distinfo
diff -u /dev/null pkgsrc/lang/py-python-language-server/distinfo:1.1
--- /dev/null   Mon May 18 13:36:49 2020
+++ pkgsrc/lang/py-python-language-server/distinfo      Mon May 18 13:36:49 2020
@@ -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

Index: pkgsrc/lang/py-python-language-server/patches/patch-setup.py
diff -u /dev/null pkgsrc/lang/py-python-language-server/patches/patch-setup.py:1.1
--- /dev/null   Mon May 18 13:36:49 2020
+++ pkgsrc/lang/py-python-language-server/patches/patch-setup.py        Mon May 18 13:36:49 2020
@@ -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