summaryrefslogtreecommitdiff
path: root/app-emacs/flycheck
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa+gentoo@gmail.com>2022-03-28 22:49:10 -0400
committerJohn Turner <jturner.usa+gentoo@gmail.com>2022-03-28 22:49:10 -0400
commit1dd79b5d958f8df6624aeeb9d4f8c669a484560f (patch)
tree61bd52712fb3b930b73bf34d705bff00d09f1907 /app-emacs/flycheck
parenta5d738462df57d1efbe05d9b5781dd709638d309 (diff)
downloadebuilds-1dd79b5d958f8df6624aeeb9d4f8c669a484560f.tar.gz
app-emacs/flycheck: added live and non-prerelease ebuild paths, updated
to EAPI 8 and added indent in the dependencies variable
Diffstat (limited to 'app-emacs/flycheck')
-rw-r--r--app-emacs/flycheck/flycheck-32_p20210825.ebuild24
1 files changed, 19 insertions, 5 deletions
diff --git a/app-emacs/flycheck/flycheck-32_p20210825.ebuild b/app-emacs/flycheck/flycheck-32_p20210825.ebuild
index 2f6ead3..2513b79 100644
--- a/app-emacs/flycheck/flycheck-32_p20210825.ebuild
+++ b/app-emacs/flycheck/flycheck-32_p20210825.ebuild
@@ -1,17 +1,31 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
NEED_EMACS="24.3"
inherit elisp
+if [[ ${PV} = "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/flycheck/flycheck"
+ EGIT_BRANCH="master"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}"
+ S="${EGIT_CHECKOUT_DIR}"
+else
+ if [[ ${PV} = *_p* ]]; then
+ COMMIT="784f184cdd9f9cb4e3dbb997c09d93e954142842"
+ SRC_URI="https://github.com/flycheck/flycheck/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${COMMIT}"
+ else
+ SRC_URI="https://github.com/flycheck/flycheck/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+ fi
+ KEYWORDS="~amd64"
+fi
+
DESCRIPTION="Modern on-the-fly syntax checking extension for GNU Emacs"
HOMEPAGE="https://www.flycheck.org/"
-COMMIT="784f184cdd9f9cb4e3dbb997c09d93e954142842"
-SRC_URI="https://github.com/flycheck/flycheck/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="GPL-3"
SLOT="0"
@@ -19,7 +33,7 @@ KEYWORDS="~amd64"
RESTRICT="test" # test requires cask and ert-runner which are not packaged yet
RDEPEND=">=app-emacs/dash-2.12.1
->=app-emacs/pkg-info-0.4"
+ >=app-emacs/pkg-info-0.4"
SITEFILE="50${PN}-gentoo.el"
DOCS=( README.md )