summaryrefslogtreecommitdiff
path: root/app-emacs/flycheck/flycheck-32_p20220328-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-24 18:48:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-24 18:48:11 +0000
commit61148529b1734102fa937560847f47719bbd9bd4 (patch)
treef169e37b56408076bbedc9caca2c42a4c49e3d3d /app-emacs/flycheck/flycheck-32_p20220328-r1.ebuild
parent8754edd0ec2acb9adff6949db1f80e7fe51bd7e4 (diff)
gentoo auto-resync : 24:03:2023 - 18:48:11
Diffstat (limited to 'app-emacs/flycheck/flycheck-32_p20220328-r1.ebuild')
-rw-r--r--app-emacs/flycheck/flycheck-32_p20220328-r1.ebuild23
1 files changed, 18 insertions, 5 deletions
diff --git a/app-emacs/flycheck/flycheck-32_p20220328-r1.ebuild b/app-emacs/flycheck/flycheck-32_p20220328-r1.ebuild
index 68d7c5475c23..38acdbd6ab11 100644
--- a/app-emacs/flycheck/flycheck-32_p20220328-r1.ebuild
+++ b/app-emacs/flycheck/flycheck-32_p20220328-r1.ebuild
@@ -8,14 +8,27 @@ NEED_EMACS="24.3"
inherit elisp
DESCRIPTION="Modern on-the-fly syntax checking extension for GNU Emacs"
-HOMEPAGE="https://www.flycheck.org/"
-COMMIT="3b5b4248074f016922c2674789d4a242528cf4c7"
-SRC_URI="https://github.com/flycheck/flycheck/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${COMMIT}"
+HOMEPAGE="https://www.flycheck.org/
+ https://github.com/flycheck/flycheck/"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
+else
+ if [[ ${PV} == *_p20220328 ]] ; then
+ COMMIT=3b5b4248074f016922c2674789d4a242528cf4c7
+ SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}"/${PN}-${COMMIT}
+ else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ fi
+ KEYWORDS="~alpha amd64 ~arm arm64 ~ppc64 ~riscv ~x64-macos"
+fi
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ppc64 ~riscv ~x64-macos"
RESTRICT="test" # test requires cask and ert-runner which are not packaged yet
RDEPEND=">=app-emacs/dash-2.12.1