Diff lsp-mode-8.0.0-r1 with a lsp-mode-8.0.0_p20220620
/usr/portage/app-emacs/lsp-mode/lsp-mode-8.0.0_p20220620.ebuild 2023-10-09 14:52:28.696368330 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
COMMIT=9957623d93b13fabaca8ba35b85da8fcceaeef69 |
|
6 | 7 |
NEED_EMACS=26.1 |
7 | 8 | |
8 | 9 |
inherit elisp |
9 | 10 | |
10 | 11 |
DESCRIPTION="Emacs client/library for the Language Server Protocol" |
11 | 12 |
HOMEPAGE="https://emacs-lsp.github.io/lsp-mode/" |
12 |
SRC_URI="https://github.com/emacs-lsp/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
|
13 |
SRC_URI="https://github.com/emacs-lsp/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
|
14 |
S="${WORKDIR}"/${PN}-${COMMIT} |
|
13 | 15 | |
14 | 16 |
LICENSE="GPL-3+" |
15 |
KEYWORDS="~amd64" |
|
17 |
KEYWORDS="amd64" |
|
16 | 18 |
SLOT="0" |
17 |
IUSE="test" |
|
18 |
RESTRICT="!test? ( test )" |
|
19 | 19 | |
20 | 20 |
RDEPEND=" |
21 | 21 |
>=app-emacs/dash-2.18.0 |
... | ... | |
31 | 31 |
app-emacs/deferred |
32 | 32 |
app-emacs/ecukes |
33 | 33 |
app-emacs/el-mock |
34 |
app-emacs/ert-runner |
|
35 | 34 |
app-emacs/espuds |
36 | 35 |
app-emacs/flycheck |
37 | 36 |
app-emacs/undercover |
... | ... | |
44 | 43 |
test/lsp-integration-test.el" # Remove failing tests |
45 | 44 |
SITEFILE="50${PN}-gentoo.el" |
46 | 45 | |
46 |
elisp-enable-tests ert-runner "${S}" -t "!no-win" -t "!org" |
|
47 | ||
47 | 48 |
src_compile() { |
48 | 49 |
elisp_src_compile |
49 | 50 |
elisp-compile clients/*.el |
50 | 51 |
} |
51 | 52 | |
52 |
src_test() { |
|
53 |
ert-runner -L clients --reporter ert+duration -t "!no-win" -t "!org" || die |
|
54 |
} |
|
55 | ||
56 | 53 |
src_install() { |
57 | 54 |
elisp_src_install |
58 | 55 |
elisp-install ${PN}/clients clients/* |