From 3a7eb11ce93254b42a76a55cdaefd50be910f765 Mon Sep 17 00:00:00 2001 From: Rainer Hurling Date: Thu, 8 Apr 2021 16:19:00 +0200 Subject: textproc/py-python-language-server: Allow jedi >= v0.18.0 Until this is merged upstream [1], do it here. [1] https://github.com/palantir/python-language-server/pull/918 Reported by: Gleb Popov --- textproc/py-python-language-server/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/textproc/py-python-language-server/Makefile b/textproc/py-python-language-server/Makefile index c3de263d8b1a..53ec10196f1b 100644 --- a/textproc/py-python-language-server/Makefile +++ b/textproc/py-python-language-server/Makefile @@ -2,7 +2,7 @@ PORTNAME= python-language-server PORTVERSION= 0.36.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -30,4 +30,12 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +# Until upstream is merged, do it here +# https://github.com/palantir/python-language-server/pull/918 +post-patch: + @${REINPLACE_CMD} -e 's|<0.18.0,||g' \ + ${WRKSRC}/python_language_server.egg-info/requires.txt + @${REINPLACE_CMD} -e 's|,<0.18.0||g' \ + ${WRKSRC}/setup.py + .include -- cgit v1.2.3