Skip to content

Commit

Permalink
textproc/py-pyls-spyder: Update to 0.4.0
Browse files Browse the repository at this point in the history
- Use python-lsp-server instead of python-language-server
- Make utf-8 ready for python36

Reported by:	Repology
  • Loading branch information
rhurlin committed May 6, 2021
1 parent 67fba01 commit 5041f74
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
4 changes: 2 additions & 2 deletions textproc/py-pyls-spyder/Makefile
@@ -1,7 +1,7 @@
# Created by: Rainer Hurling <rhurlin@gwdg.de>

PORTNAME= pyls-spyder
PORTVERSION= 0.3.2
PORTVERSION= 0.4.0
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -12,7 +12,7 @@ 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
Expand Down
6 changes: 3 additions & 3 deletions 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
11 changes: 11 additions & 0 deletions 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

0 comments on commit 5041f74

Please sign in to comment.