pkgsrc-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 py-python-language-serv...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/94dc5cfe063f
branches:  trunk
changeset: 768953:94dc5cfe063f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Nov 05 11:01:47 2021 +0000

description:
py-python-language-server: update to 0.36.2.

0.36.2

    Flatten folding regions
    Enable code folding results aggregation

0.36.1

    Add code in front of the diagnostic message for flake8.
    Pass document path to jedi_names when a file is not placed in a module.

0.36.0

    Allow passing explicit environment variables to Jedi environment
    Add document path to Jedi's sys_path
    Resolve flake8_executable allowing ~/${HOME} paths
    Pass server settings to new workspaces
    Synchronize document text updates
    Correct method and attribute detection on document/symbols call
    Specify relevant document path when retrieving some plugin settings

0.35.1

    Fix ujson dependency for Python 2.

0.35.0

    Allow usage of Pylint via stdin.
    Require python-jsonrpc-server >= 0.4.0
    Update ujson dependency to work with its latest release.
    Move CI to Github Actions.

0.34.1

    Make flake8 plugin use stdin.
    Fix error when formatting if continuation lines are incorrectly indented when using autopep8.

0.34.0

    Add option to configure flake8 executable.
    Read pycodestyle and flake8 configurations per workspace.
    Parse ignore arguments in flake8 to avoid issues with Atom.

0.33.3

    Do not start shutdown sequence on TCP when not checking parent process

0.33.2

    Do not create documents from a textDocument/rename
    Fix some code quality and bug-risk issues

0.33.1

    Add support for autopep8 aggressive option from config file

0.33.0

    Add optional class objects to completion list.
    Fix completions with one arg.
    Remove pycodestyle plugin's dependency on autopep8.

diffstat:

 lang/py-python-language-server/DESCR                  |   2 +-
 lang/py-python-language-server/Makefile               |  20 +++++++++-------
 lang/py-python-language-server/distinfo               |  10 ++++----
 lang/py-python-language-server/patches/patch-setup.py |  22 +++++++++---------
 4 files changed, 28 insertions(+), 26 deletions(-)

diffs (91 lines):

diff -r 9e240c36c279 -r 94dc5cfe063f lang/py-python-language-server/DESCR
--- a/lang/py-python-language-server/DESCR      Fri Nov 05 09:14:28 2021 +0000
+++ b/lang/py-python-language-server/DESCR      Fri Nov 05 11:01:47 2021 +0000
@@ -1,1 +1,1 @@
-A Python 2.7 and 3.5+ implementation of the Language Server Protocol.
+A Python 3.5+ implementation of the Language Server Protocol.
diff -r 9e240c36c279 -r 94dc5cfe063f lang/py-python-language-server/Makefile
--- a/lang/py-python-language-server/Makefile   Fri Nov 05 09:14:28 2021 +0000
+++ b/lang/py-python-language-server/Makefile   Fri Nov 05 11:01:47 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2020/08/24 08:32:43 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2021/11/05 11:01:47 wiz Exp $
 
-DISTNAME=      python-language-server-0.32.0
+DISTNAME=      python-language-server-0.36.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    lang python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-language-server/}
@@ -10,18 +10,20 @@
 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}-rope>=0.10.5:../../devel/py-rope
+DEPENDS+=      ${PYPKGPREFIX}-flakes>=2.2.0:../../devel/py-flakes
+DEPENDS+=      ${PYPKGPREFIX}-flake8>=3.8.0:../../devel/py-flake8
+DEPENDS+=      ${PYPKGPREFIX}-mccabe>=0.6.0:../../devel/py-mccabe
+DEPENDS+=      ${PYPKGPREFIX}-codestyle>=2.6.0:../../devel/py-codestyle
+DEPENDS+=      ${PYPKGPREFIX}-docstyle>=2.0.0:../../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}-jsonrpc-server>=0.4.0:../../textproc/py-jsonrpc-server
+DEPENDS+=      ${PYPKGPREFIX}-pylint>=2.5.0:../../devel/py-pylint
 DEPENDS+=      ${PYPKGPREFIX}-pluggy-[0-9]*:../../devel/py-pluggy
 
+TEST_DEPENDS+= ${PYPKGPREFIX}-flaky-[0-9]*:../../devel/py-flaky
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 
 PYTHON_VERSIONED_DEPENDENCIES= test:test
diff -r 9e240c36c279 -r 94dc5cfe063f lang/py-python-language-server/distinfo
--- a/lang/py-python-language-server/distinfo   Fri Nov 05 09:14:28 2021 +0000
+++ b/lang/py-python-language-server/distinfo   Fri Nov 05 11:01:47 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:51:50 nia Exp $
+$NetBSD: distinfo,v 1.4 2021/11/05 11:01:47 wiz Exp $
 
-BLAKE2s (python-language-server-0.32.0.tar.gz) = b7e7dfa8516549ab6957ac123b4166f9c03eacbade9ee24fded813076f9880ef
-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
+BLAKE2s (python-language-server-0.36.2.tar.gz) = fa1077e464b3e66290e5809fc577b3560ccb38a7341231d5a9941e1d3e369576
+SHA512 (python-language-server-0.36.2.tar.gz) = ee909d9332ef76c616d727ebfa36e80fd03ab57df8fc57265de21f0105cc0b64a518b2a8a582f88364d03a7d2a66e1030bcf5b3452ad3a891a3141da9b338373
+Size (python-language-server-0.36.2.tar.gz) = 74499 bytes
+SHA1 (patch-setup.py) = 0b0753461cdf0cd3cb34775f175d2f4e03566324
diff -r 9e240c36c279 -r 94dc5cfe063f lang/py-python-language-server/patches/patch-setup.py
--- a/lang/py-python-language-server/patches/patch-setup.py     Fri Nov 05 09:14:28 2021 +0000
+++ b/lang/py-python-language-server/patches/patch-setup.py     Fri Nov 05 11:01:47 2021 +0000
@@ -1,15 +1,15 @@
-$NetBSD: patch-setup.py,v 1.1 2020/05/18 13:36:49 wiz Exp $
+$NetBSD: patch-setup.py,v 1.2 2021/11/05 11:01:47 wiz Exp $
 
-Accept any ujson.
+Remove upper bound on jedi.
 
---- setup.py.orig      2020-05-13 20:39:42.000000000 +0000
+--- setup.py.orig      2020-12-11 19:24:55.000000000 +0000
 +++ setup.py
-@@ -38,7 +38,7 @@ setup(
-         'jedi>=0.17.0,<0.18.0',
-         'python-jsonrpc-server>=0.3.2',
+@@ -10,7 +10,7 @@ install_requires = [
+         'configparser; python_version<"3.0"',
+         'future>=0.14.0; python_version<"3"',
+         'backports.functools_lru_cache; python_version<"3.2"',
+-        'jedi>=0.17.2,<0.18.0',
++        'jedi>=0.17.2',
+         'python-jsonrpc-server>=0.4.0',
          'pluggy',
--        'ujson<=1.35; platform_system!="Windows"'
-+        'ujson'
-     ],
- 
-     # List additional groups of dependencies here (e.g. development
+         'ujson<=2.0.3 ; platform_system!="Windows" and python_version<"3.0"',



Home | Main Index | Thread Index | Old Index