public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/lsp-docker/files/, app-emacs/lsp-docker/
@ 2024-04-07 16:20 Maciej Barć
  0 siblings, 0 replies; only message in thread
From: Maciej Barć @ 2024-04-07 16:20 UTC (permalink / raw
  To: gentoo-commits

commit:     cd4480362f692621bb93127c2d5f8666ef153a2e
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  7 15:05:29 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Apr  7 16:20:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd448036

app-emacs/lsp-docker: new package; add 1.0.0_p20240327

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 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(+)

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>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-07 16:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-07 16:20 [gentoo-commits] repo/gentoo:master commit in: app-emacs/lsp-docker/files/, app-emacs/lsp-docker/ Maciej Barć

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox