Skip to content
This repository was archived by the owner on Aug 27, 2024. It is now read-only.

Commit ab4f4c4

Browse files
rhurlinarrowd
authored andcommitted
textproc/py-python-language-server: Allow jedi >= v0.18.0
Until this is merged upstream [1], do it here. [1] palantir/python-language-server#918 Reported by: Gleb Popov <arrowd@freebsd.org>
1 parent a0279c1 commit ab4f4c4

File tree

1 file changed

+9
-1
lines changed
  • textproc/py-python-language-server

1 file changed

+9
-1
lines changed

textproc/py-python-language-server/Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
PORTNAME= python-language-server
44
PORTVERSION= 0.36.2
5-
PORTREVISION= 1
5+
PORTREVISION= 2
66
CATEGORIES= textproc python
77
MASTER_SITES= CHEESESHOP
88
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -30,4 +30,12 @@ USE_PYTHON= autoplist concurrent distutils
3030

3131
NO_ARCH= yes
3232

33+
# Until upstream is merged, do it here
34+
# https://github.com/palantir/python-language-server/pull/918
35+
post-patch:
36+
@${REINPLACE_CMD} -e 's|<0.18.0,||g' \
37+
${WRKSRC}/python_language_server.egg-info/requires.txt
38+
@${REINPLACE_CMD} -e 's|,<0.18.0||g' \
39+
${WRKSRC}/setup.py
40+
3341
.include <bsd.port.mk>

0 commit comments

Comments
 (0)