]> jturnerusa.dev Git - ebuilds/commitdiff
app-emacs/eglot: added ebuild for eglot 1.7
authorJohn Turner <jturner.usa+gentoo@gmail.com>
Wed, 20 Oct 2021 22:39:39 +0000 (18:39 -0400)
committerJohn Turner <jturner.usa+gentoo@gmail.com>
Wed, 20 Oct 2021 22:39:39 +0000 (18:39 -0400)
app-emacs/eglot/Manifest
app-emacs/eglot/eglot-1.7.ebuild [new file with mode: 0644]

index 1c18d5f83751a8e70f7c88c97ce25a2a91689d42..09d9f0197fa919dbccb80fe409095908fe106a7b 100644 (file)
@@ -1 +1,2 @@
 DIST eglot-1.6.tar.gz 288078 BLAKE2B a2214d216d0eeaca32d974c6686696dfcf141b3384741bc8cce0d02abb508eb5713933bc227d12a07f4b87fc34601431845b1b8e519538ae04ecc74b24db4004 SHA512 51227c8e2b0a1dd9a63ededbea592f01616ff728c34c330400c078212fef3f3e747e6dd30ba312523cbe60c7ea663a7af9d83300210cf331ea6162d2db5c7e41
+DIST eglot-1.7.tar.gz 290961 BLAKE2B e0cbd42e478d4c8c2aa4b5a9fccdd8b93e89c0de4e9f2704652dfa2030f0401038bca67295612d5260c15d834937b9d343ed1f35e5271cf938342da1e6d62641 SHA512 7464c5f04242929ee876a9d329f0524e72a509da2dff160a3776dc5546dafbcb718192f4abd957c927cfbca1c2cd72a6ac3607baaca624e43eb97222693d907b
diff --git a/app-emacs/eglot/eglot-1.7.ebuild b/app-emacs/eglot/eglot-1.7.ebuild
new file mode 100644 (file)
index 0000000..913bb95
--- /dev/null
@@ -0,0 +1,28 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS="26.1"
+
+inherit elisp
+
+DESCRIPTION="A minimal Emacs LSP client"
+HOMEPAGE="https://github.com/joaotavora/eglot"
+SRC_URI="https://github.com/joaotavora/eglot/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+# test requires internet connection to install several language servers, one of which
+# is not packaged
+RESTRICT="test"
+
+SITEFILE="50${PN}-gentoo.el"
+ELISP_REMOVE="eglot-tests.el"
+DOCS=( README.md NEWS.md )
+
+src_install() {
+       elisp-make-autoload-file "${S}"/${PN}-autoload.el "${S}"/
+       elisp_src_install
+}