git: 3a7eb11ce932 - main - textproc/py-python-language-server: Allow jedi >= v0.18.0

Rainer Hurling rhurlin at FreeBSD.org
Thu Apr 8 14:22:13 UTC 2021


The branch main has been updated by rhurlin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3a7eb11ce93254b42a76a55cdaefd50be910f765

commit 3a7eb11ce93254b42a76a55cdaefd50be910f765
Author:     Rainer Hurling <rhurlin at FreeBSD.org>
AuthorDate: 2021-04-08 14:19:00 +0000
Commit:     Rainer Hurling <rhurlin at FreeBSD.org>
CommitDate: 2021-04-08 14:22:02 +0000

    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 <arrowd at freebsd.org>
---
 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 <bsd.port.mk>


More information about the dev-commits-ports-all mailing list