diff options
| author | John Turner <jturner.usa+gentoo@gmail.com> | 2025-11-21 00:18:03 -0500 |
|---|---|---|
| committer | John Turner <jturner.usa+gentoo@gmail.com> | 2025-11-21 00:18:03 -0500 |
| commit | d3d3d43c559aed18b0ccb9c71ec1b6c100e944e6 (patch) | |
| tree | d05311cbb44f8cfba06a8ea81b49cddf8221d8ec /app-emacs | |
| parent | 9a159c126305621b70da0874f296b567a713fe68 (diff) | |
| download | ebuilds-d3d3d43c559aed18b0ccb9c71ec1b6c100e944e6.tar.gz | |
add eglot-9999
Diffstat (limited to 'app-emacs')
| -rw-r--r-- | app-emacs/eglot/Manifest | 1 | ||||
| -rw-r--r-- | app-emacs/eglot/eglot-9999.ebuild | 39 | ||||
| -rw-r--r-- | app-emacs/eglot/files/50eglot-gentoo-r1.el | 2 | ||||
| -rw-r--r-- | app-emacs/eglot/files/50eglot-gentoo.el | 2 | ||||
| -rw-r--r-- | app-emacs/eglot/metadata.xml | 20 |
5 files changed, 64 insertions, 0 deletions
diff --git a/app-emacs/eglot/Manifest b/app-emacs/eglot/Manifest new file mode 100644 index 0000000..9939a80 --- /dev/null +++ b/app-emacs/eglot/Manifest @@ -0,0 +1 @@ +DIST eglot-1.17.tar.xz 73488 BLAKE2B 291b9a79691839d7415ed7fb2af4317decb0e9d451a52fea688a56c590750142777a8cee3adc8dab3e227188a2c3c605089ea87adae107286cdc857a52372900 SHA512 3aa6b77431b8d313e16ac2b56615b759479125faf194c12f5d624733183220b1791b40596c29d9395182edf3380b4f5b217d6feaeaf334f8a633a295a3418f65 diff --git a/app-emacs/eglot/eglot-9999.ebuild b/app-emacs/eglot/eglot-9999.ebuild new file mode 100644 index 0000000..20a85cc --- /dev/null +++ b/app-emacs/eglot/eglot-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS="26.3" + +inherit elisp + +DESCRIPTION="A minimal Emacs LSP client for GNU Emacs" +HOMEPAGE="https://github.com/joaotavora/eglot/ + https://elpa.gnu.org/packages/eglot.html" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/joaotavora/${PN}.git" +else + SRC_URI="https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}.tar.xz" + + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3+" +SLOT="0" + +RDEPEND=" + app-emacs/external-completion +" +BDEPEND=" + ${RDEPEND} +" + +SITEFILE="50${PN}-gentoo-r1.el" + +src_install() { + elisp-make-autoload-file + elisp_src_install +} diff --git a/app-emacs/eglot/files/50eglot-gentoo-r1.el b/app-emacs/eglot/files/50eglot-gentoo-r1.el new file mode 100644 index 0000000..b12b269 --- /dev/null +++ b/app-emacs/eglot/files/50eglot-gentoo-r1.el @@ -0,0 +1,2 @@ +(add-to-list 'load-path "@SITELISP@") +(load "@SITELISP@/eglot-autoloads.el" nil t) diff --git a/app-emacs/eglot/files/50eglot-gentoo.el b/app-emacs/eglot/files/50eglot-gentoo.el new file mode 100644 index 0000000..c3b894c --- /dev/null +++ b/app-emacs/eglot/files/50eglot-gentoo.el @@ -0,0 +1,2 @@ +(add-to-list 'load-path "@SITELISP@") +(load "@SITELISP@/eglot-autoload.el" nil t) diff --git a/app-emacs/eglot/metadata.xml b/app-emacs/eglot/metadata.xml new file mode 100644 index 0000000..d9638f7 --- /dev/null +++ b/app-emacs/eglot/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>jturner.usa+gentoo@gmail.com</email> + <name>John Turner</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> + </maintainer> + <upstream> + <remote-id type="github">joaotavora/eglot</remote-id> + <doc>https://github.com/joaotavora/eglot/blob/master/README.md</doc> + </upstream> +</pkgmetadata> |
