From d3d3d43c559aed18b0ccb9c71ec1b6c100e944e6 Mon Sep 17 00:00:00 2001 From: John Turner Date: Fri, 21 Nov 2025 00:18:03 -0500 Subject: add eglot-9999 --- app-emacs/eglot/Manifest | 1 + app-emacs/eglot/eglot-9999.ebuild | 39 ++++++++++++++++++++++++++++++ app-emacs/eglot/files/50eglot-gentoo-r1.el | 2 ++ app-emacs/eglot/files/50eglot-gentoo.el | 2 ++ app-emacs/eglot/metadata.xml | 20 +++++++++++++++ 5 files changed, 64 insertions(+) create mode 100644 app-emacs/eglot/Manifest create mode 100644 app-emacs/eglot/eglot-9999.ebuild create mode 100644 app-emacs/eglot/files/50eglot-gentoo-r1.el create mode 100644 app-emacs/eglot/files/50eglot-gentoo.el create mode 100644 app-emacs/eglot/metadata.xml 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 @@ + + + + + jturner.usa+gentoo@gmail.com + John Turner + + + proxy-maint@gentoo.org + Proxy Maintainers + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + + joaotavora/eglot + https://github.com/joaotavora/eglot/blob/master/README.md + + -- cgit v1.2.3