From cd4480362f692621bb93127c2d5f8666ef153a2e Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Sun, 7 Apr 2024 17:05:29 +0200 Subject: app-emacs/lsp-docker: new package; add 1.0.0_p20240327 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- app-emacs/lsp-docker/Manifest | 1 + app-emacs/lsp-docker/files/50lsp-docker-gentoo.el | 2 + .../lsp-docker/lsp-docker-1.0.0_p20240327.ebuild | 47 ++++++++++++++++++++++ app-emacs/lsp-docker/metadata.xml | 12 ++++++ 4 files changed, 62 insertions(+) create mode 100644 app-emacs/lsp-docker/Manifest create mode 100644 app-emacs/lsp-docker/files/50lsp-docker-gentoo.el create mode 100644 app-emacs/lsp-docker/lsp-docker-1.0.0_p20240327.ebuild create mode 100644 app-emacs/lsp-docker/metadata.xml (limited to 'app-emacs') diff --git a/app-emacs/lsp-docker/Manifest b/app-emacs/lsp-docker/Manifest new file mode 100644 index 000000000000..ea901bf143fd --- /dev/null +++ b/app-emacs/lsp-docker/Manifest @@ -0,0 +1 @@ +DIST lsp-docker-1.0.0_p20240327.tar.gz 88408 BLAKE2B 93dd752786c0c7093efb5a89b99c4dd87419832aaeb8281dcdea3c611e3e16fd80e4c7b519ddf5608c741fd356f8cc66355ac1868f16fb1693dc08236ba53787 SHA512 02d599bf6d0ea95806533218be039f9c5cda54638893adab219d60eeb4a9942ae05b2dab2a9384449d9cd9c6ed85eada99c34e380d679223afd93dc661d492d3 diff --git a/app-emacs/lsp-docker/files/50lsp-docker-gentoo.el b/app-emacs/lsp-docker/files/50lsp-docker-gentoo.el new file mode 100644 index 000000000000..0321d39bd3bd --- /dev/null +++ b/app-emacs/lsp-docker/files/50lsp-docker-gentoo.el @@ -0,0 +1,2 @@ +(add-to-list 'load-path "@SITELISP@") +(load "lsp-docker-autoloads" nil t) diff --git a/app-emacs/lsp-docker/lsp-docker-1.0.0_p20240327.ebuild b/app-emacs/lsp-docker/lsp-docker-1.0.0_p20240327.ebuild new file mode 100644 index 000000000000..ce2d199e3bbb --- /dev/null +++ b/app-emacs/lsp-docker/lsp-docker-1.0.0_p20240327.ebuild @@ -0,0 +1,47 @@ +# 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 library to leverage lsp-mode in the Docker environment" +HOMEPAGE="https://github.com/emacs-lsp/lsp-docker/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/emacs-lsp/${PN}.git" +else + COMMIT_SHA=bf99b65791ce8736b2756bf42cae67d7bc5294b7 + SRC_URI="https://github.com/emacs-lsp/${PN}/archive/${COMMIT_SHA}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT_SHA}" + + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3+" +SLOT="0" + +RDEPEND=" + app-emacs/dash + app-emacs/f + app-emacs/ht + app-emacs/lsp-mode + app-emacs/s + app-emacs/yaml +" +BDEPEND=" + ${RDEPEND} +" + +DOCS=( README.org ) +SITEFILE="50${PN}-gentoo.el" + +src_compile() { + elisp_src_compile + elisp-make-autoload-file +} diff --git a/app-emacs/lsp-docker/metadata.xml b/app-emacs/lsp-docker/metadata.xml new file mode 100644 index 000000000000..75a2e5515257 --- /dev/null +++ b/app-emacs/lsp-docker/metadata.xml @@ -0,0 +1,12 @@ + + + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + + + emacs-lsp/lsp-mode + + -- cgit v1.2.3-65-gdbad