Skip to content

Commit

Permalink
py-language-server: deprecate port
Browse files Browse the repository at this point in the history
Deprecated in favor of py-python-lsp-server.
  • Loading branch information
gpanders authored and reneeotten committed Jul 22, 2021
1 parent b8ee1bd commit f1beb51
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions python/py-language-server/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ PortSystem 1.0
PortGroup github 1.0
PortGroup python 1.0
PortGroup select 1.0
PortGroup deprecated 1.0

# palantir/python-language-server is unmaintained and has been forked
# to python-lsp/python-lsp-server
deprecated.upstream_support no

name py-language-server
github.setup palantir python-language-server 0.36.2
Expand Down Expand Up @@ -90,11 +95,13 @@ if {${subport} ne ${name}} {
select.file ${filespath}/py${python.version}-pyls

notes "
To make the Python ${python.branch} version of python language server the one \
that is run when you execute the commands without a version suffix, e.g. \
To make the Python ${python.branch} version of python language server the one\
that is run when you execute the commands without a version suffix, e.g.\
'pyls', run:
port select --set ${select.group} [file tail ${select.file}]
This port is deprecated. Please consider using py${python.version}-python-lsp-server instead.
"

livecheck.type none
Expand Down

0 comments on commit f1beb51

Please sign in to comment.