Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Apr 2021 14:22:13 GMT
From:      Rainer Hurling <rhurlin@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3a7eb11ce932 - main - textproc/py-python-language-server: Allow jedi >= v0.18.0
Message-ID:  <202104081422.138EMDRs044808@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rhurlin:

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

commit 3a7eb11ce93254b42a76a55cdaefd50be910f765
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2021-04-08 14:19:00 +0000
Commit:     Rainer Hurling <rhurlin@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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104081422.138EMDRs044808>