From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 489DE1581D3 for ; Tue, 14 May 2024 22:21:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12A11E2A2C; Tue, 14 May 2024 22:21:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B722BE2A2E for ; Tue, 14 May 2024 22:21:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E3D10341214 for ; Tue, 14 May 2024 22:21:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8928D1AE0 for ; Tue, 14 May 2024 22:21:06 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1715725259.84969d77a3e29ac73f9af4ed52bec08be10662b7.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/lsp-mode/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/lsp-mode/lsp-mode-9999.ebuild X-VCS-Directories: app-emacs/lsp-mode/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 84969d77a3e29ac73f9af4ed52bec08be10662b7 X-VCS-Branch: master Date: Tue, 14 May 2024 22:21:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 777f66a9-3799-4e59-8af1-dce93255c6f5 X-Archives-Hash: cde2999a0ffa89ea7d94ad09bacbb0a7 commit: 84969d77a3e29ac73f9af4ed52bec08be10662b7 Author: Maciej Barć gentoo org> AuthorDate: Tue May 14 22:16:55 2024 +0000 Commit: Maciej Barć gentoo org> CommitDate: Tue May 14 22:20:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84969d77 app-emacs/lsp-mode: add live 9999 version Signed-off-by: Maciej Barć gentoo.org> app-emacs/lsp-mode/lsp-mode-9999.ebuild | 68 +++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/app-emacs/lsp-mode/lsp-mode-9999.ebuild b/app-emacs/lsp-mode/lsp-mode-9999.ebuild new file mode 100644 index 000000000000..a9d91c1ecc48 --- /dev/null +++ b/app-emacs/lsp-mode/lsp-mode-9999.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS=27.1 + +inherit elisp + +DESCRIPTION="Emacs client/library for the Language Server Protocol" +HOMEPAGE="https://emacs-lsp.github.io/lsp-mode/ + https://github.com/emacs-lsp/lsp-mode/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/emacs-lsp/${PN}.git" +else + SRC_URI="https://github.com/emacs-lsp/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64 ~arm64" +fi + +LICENSE="GPL-3+" +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 +" +BDEPEND=" + ${RDEPEND} + test? ( + app-emacs/deferred + app-emacs/ecukes + app-emacs/el-mock + app-emacs/espuds + app-emacs/flycheck + app-emacs/undercover + ) +" + +BYTECOMPFLAGS="-L . -L clients" +ELISP_REMOVE=" + test/lsp-clangd-test.el + test/lsp-common-test.el + test/lsp-integration-test.el +" # Remove failing tests. + +DOCS=( AUTHORS CHANGELOG.org README.md refcard ) +SITEFILE="50${PN}-gentoo.el" + +elisp-enable-tests ert-runner "${S}" -t "!no-win" -t "!org" + +src_compile() { + elisp_src_compile + elisp-compile clients/*.el +} + +src_install() { + elisp_src_install + elisp-install "${PN}/clients" clients/* +}