1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

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>
This commit is contained in:
Rainer Hurling 2021-04-08 16:19:00 +02:00
parent 3c3ce68d71
commit 3a7eb11ce9

View File

@ -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>