diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-04-07 17:05:29 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-04-07 18:20:05 +0200 |
commit | cd4480362f692621bb93127c2d5f8666ef153a2e (patch) | |
tree | 4f127383787997ea3e25009355097c6f8d89a31f /app-emacs | |
parent | dev-dotnet/dotnet-sdk: also apply runtime-64.patch to 102 (diff) | |
download | gentoo-cd4480362f692621bb93127c2d5f8666ef153a2e.tar.gz gentoo-cd4480362f692621bb93127c2d5f8666ef153a2e.tar.bz2 gentoo-cd4480362f692621bb93127c2d5f8666ef153a2e.zip |
app-emacs/lsp-docker: new package; add 1.0.0_p20240327
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/lsp-docker/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/lsp-docker/files/50lsp-docker-gentoo.el | 2 | ||||
-rw-r--r-- | app-emacs/lsp-docker/lsp-docker-1.0.0_p20240327.ebuild | 47 | ||||
-rw-r--r-- | app-emacs/lsp-docker/metadata.xml | 12 |
4 files changed, 62 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> +</maintainer> +<stabilize-allarches/> +<upstream> + <remote-id type="github">emacs-lsp/lsp-mode</remote-id> +</upstream> +</pkgmetadata> |