Skip to content

Commit

Permalink
textproc/py-python-language-server: Allow jedi >= v0.18.0
Browse files Browse the repository at this point in the history
Until this is merged upstream [1], do it here.

[1] palantir/python-language-server#918

Reported by:	Gleb Popov <[email protected]>
  • Loading branch information
rhurlin committed Apr 8, 2021
1 parent 3c3ce68 commit 3a7eb11
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion textproc/py-python-language-server/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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>

0 comments on commit 3a7eb11

Please sign in to comment.