diff --git a/textproc/py-pyls-spyder/Makefile b/textproc/py-pyls-spyder/Makefile index fdcb05780b2e..6588e07c76e2 100644 --- a/textproc/py-pyls-spyder/Makefile +++ b/textproc/py-pyls-spyder/Makefile @@ -1,22 +1,22 @@ # Created by: Rainer Hurling PORTNAME= pyls-spyder -PORTVERSION= 0.3.2 +PORTVERSION= 0.4.0 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= rhurlin@FreeBSD.org COMMENT= Spyder extensions for the python-language-server (pyls) LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-language-server>0:textproc/py-python-language-server@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-lsp-server>0:textproc/py-python-lsp-server@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/textproc/py-pyls-spyder/distinfo b/textproc/py-pyls-spyder/distinfo index 6862d3426054..6841298e0373 100644 --- a/textproc/py-pyls-spyder/distinfo +++ b/textproc/py-pyls-spyder/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1614413190 -SHA256 (pyls-spyder-0.3.2.tar.gz) = f2be1b05f2c7a72565b28de7289d2c2b16052b88e46914279a2d631e074ed158 -SIZE (pyls-spyder-0.3.2.tar.gz) = 7357 +TIMESTAMP = 1619798220 +SHA256 (pyls-spyder-0.4.0.tar.gz) = 45a321c83f64267d82907492c55199fccabda45bc872dd23bf1efd08edac1b0b +SIZE (pyls-spyder-0.4.0.tar.gz) = 7427 diff --git a/textproc/py-pyls-spyder/files/patch-setup.py b/textproc/py-pyls-spyder/files/patch-setup.py new file mode 100644 index 000000000000..74dd38bd1565 --- /dev/null +++ b/textproc/py-pyls-spyder/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2021-04-29 20:01:20 UTC ++++ setup.py +@@ -33,7 +33,7 @@ def get_version(module='pyls_spyder'): + + def get_description(): + """Get long description.""" +- with open(os.path.join(HERE, 'README.md'), 'r') as f: ++ with open(os.path.join(HERE, 'README.md'), 'r', encoding='utf8') as f: + data = f.read() + return data +