summaryrefslogtreecommitdiff
path: root/app-emacs/eglot/eglot-1.7.ebuild
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa+gentoo@gmail.com>2021-11-03 13:50:11 -0400
committerJohn Turner <jturner.usa+gentoo@gmail.com>2021-11-03 13:50:11 -0400
commit8ee45bde6f34d5aaa5fe77ea9945990739598c01 (patch)
tree26c926126215fe86693bbb63581ead2c299538d7 /app-emacs/eglot/eglot-1.7.ebuild
parent470e013142daf49ab3e3831826b216c4855df2fa (diff)
downloadebuilds-8ee45bde6f34d5aaa5fe77ea9945990739598c01.tar.gz
app-emacs/eglot: added live ebuild and merged 1.6 and 1.7 with the live build
Diffstat (limited to 'app-emacs/eglot/eglot-1.7.ebuild')
-rw-r--r--app-emacs/eglot/eglot-1.7.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/app-emacs/eglot/eglot-1.7.ebuild b/app-emacs/eglot/eglot-1.7.ebuild
index 913bb95..17a70f5 100644
--- a/app-emacs/eglot/eglot-1.7.ebuild
+++ b/app-emacs/eglot/eglot-1.7.ebuild
@@ -7,13 +7,22 @@ NEED_EMACS="26.1"
inherit elisp
+if [[ ${PV} = 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/joaotavora/eglot"
+ EGIT_BRANCH="master"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${P}"
+ S="${EGIT_CHECKOUT_DIR}"
+else
+ SRC_URI="https://github.com/joaotavora/eglot/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
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"