diff options
author | John Turner <jturner.usa+gentoo@gmail.com> | 2021-10-17 15:07:17 -0400 |
---|---|---|
committer | John Turner <jturner.usa+gentoo@gmail.com> | 2021-10-17 15:07:17 -0400 |
commit | dfc7c3cb3c123af93fe762c4b7dc3ddae6dd2059 (patch) | |
tree | 59d94933a6e4c253df8e2fe7e6207e2d0b270600 /app-emacs/eglot/eglot-1.6.ebuild | |
parent | 0da33c90a0a220da0cdcbafc2003add898bff92c (diff) | |
download | ebuilds-dfc7c3cb3c123af93fe762c4b7dc3ddae6dd2059.tar.gz |
app-emacs/eglot: prepared eglot for PR to include into gentoo
Diffstat (limited to 'app-emacs/eglot/eglot-1.6.ebuild')
-rw-r--r-- | app-emacs/eglot/eglot-1.6.ebuild | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/app-emacs/eglot/eglot-1.6.ebuild b/app-emacs/eglot/eglot-1.6.ebuild index c9ebccb..913bb95 100644 --- a/app-emacs/eglot/eglot-1.6.ebuild +++ b/app-emacs/eglot/eglot-1.6.ebuild @@ -1,16 +1,28 @@ -EAPI=7 +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS="26.1" inherit elisp -DESCRIPTION="Minimal Emacs LSP client" +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" -RESTRICT="test mirror" +# 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" +DOCS=( README.md NEWS.md ) + +src_install() { + elisp-make-autoload-file "${S}"/${PN}-autoload.el "${S}"/ + elisp_src_install +} |