You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
670 B
29 lines
670 B
# 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
|
|
}
|