app-emacs/lsp-mode: sync live 9999

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2026-04-22 19:35:39 +02:00
parent 50e954319a
commit a0b34cd164

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
EAPI=9
NEED_EMACS=27.1
NEED_EMACS="28.1"
inherit elisp
@@ -14,7 +14,7 @@ HOMEPAGE="https://emacs-lsp.github.io/lsp-mode/
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/emacs-lsp/${PN}.git"
EGIT_REPO_URI="https://github.com/emacs-lsp/${PN}"
else
SRC_URI="https://github.com/emacs-lsp/${PN}/archive/${PV}.tar.gz
-> ${P}.tar.gz"
@@ -28,10 +28,10 @@ SLOT="0"
RDEPEND="
>=app-emacs/dash-2.18.0
>=app-emacs/f-0.20.0
app-emacs/ht
app-emacs/lv
app-emacs/markdown-mode
app-emacs/spinner
>=app-emacs/ht-2.3
>=app-emacs/lv-0.15.0
>=app-emacs/markdown-mode-2.3
>=app-emacs/spinner-1.7.3
"
BDEPEND="
${RDEPEND}
@@ -46,11 +46,14 @@ BDEPEND="
"
BYTECOMPFLAGS="-L . -L clients"
# Remove failing tests.
ELISP_REMOVE="
test/lsp-clangd-test.el
test/lsp-common-test.el
test/lsp-integration-test.el
" # Remove failing tests.
test/lsp-mock-server-test.el
"
DOCS=( AUTHORS CHANGELOG.org README.md refcard )
SITEFILE="50${PN}-gentoo.el"
@@ -59,10 +62,10 @@ elisp-enable-tests ert-runner "${S}" -t "!no-win" -t "!org"
src_compile() {
elisp_src_compile
elisp-compile clients/*.el
elisp-compile ./clients/*.el
}
src_install() {
elisp_src_install
elisp-install "${PN}/clients" clients/*
elisp-install "${PN}/clients" ./clients/*
}