summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-01-30 21:29:45 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-01-30 21:31:30 +0100
commitff7d89fb05372a559134e51f6dee5de3ab45b488 (patch)
tree3cb905e4ddc81a11feeeff36f9609ae19eff7d59 /app-emacs/lean-mode
parentgames-util/antimicrox: drop old 3.2.5 (diff)
downloadgentoo-ff7d89fb05372a559134e51f6dee5de3ab45b488.tar.gz
gentoo-ff7d89fb05372a559134e51f6dee5de3ab45b488.tar.bz2
gentoo-ff7d89fb05372a559134e51f6dee5de3ab45b488.zip
app-emacs: H -> COMMIT
Bug: https://github.com/pkgcore/pkgcheck/issues/536 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/lean-mode')
-rw-r--r--app-emacs/lean-mode/lean-mode-20211220-r1.ebuild9
-rw-r--r--app-emacs/lean-mode/lean-mode-20220124-r1.ebuild9
-rw-r--r--app-emacs/lean-mode/lean-mode-20220501.ebuild9
3 files changed, 15 insertions, 12 deletions
diff --git a/app-emacs/lean-mode/lean-mode-20211220-r1.ebuild b/app-emacs/lean-mode/lean-mode-20211220-r1.ebuild
index d91061721bf4..0f6432320d6c 100644
--- a/app-emacs/lean-mode/lean-mode-20211220-r1.ebuild
+++ b/app-emacs/lean-mode/lean-mode-20211220-r1.ebuild
@@ -1,17 +1,18 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-H=a4205749d20a09871f0951c34f919d4ee5fbdb55
+[[ ${PV} == 20211220 ]] && COMMIT=a4205749d20a09871f0951c34f919d4ee5fbdb55
NEED_EMACS=24.3
inherit elisp
DESCRIPTION="Emacs mode for the Lean 3 theorem prover"
HOMEPAGE="https://github.com/leanprover/lean-mode/"
-SRC_URI="https://github.com/leanprover/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${H}"
+SRC_URI="https://github.com/leanprover/${PN}/archive/${COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${COMMIT}
LICENSE="GPL-2+"
SLOT="0"
diff --git a/app-emacs/lean-mode/lean-mode-20220124-r1.ebuild b/app-emacs/lean-mode/lean-mode-20220124-r1.ebuild
index b24391f06ca8..96741d7f7878 100644
--- a/app-emacs/lean-mode/lean-mode-20220124-r1.ebuild
+++ b/app-emacs/lean-mode/lean-mode-20220124-r1.ebuild
@@ -1,17 +1,18 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-H=c1c68cc946eb31b6ba8faefdceffce1f77ca52df
+[[ ${PV} == 20220124 ]] && COMMIT=c1c68cc946eb31b6ba8faefdceffce1f77ca52df
NEED_EMACS=24.3
inherit elisp
DESCRIPTION="Emacs mode for the Lean 3 theorem prover"
HOMEPAGE="https://github.com/leanprover/lean-mode/"
-SRC_URI="https://github.com/leanprover/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${H}"
+SRC_URI="https://github.com/leanprover/${PN}/archive/${COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${COMMIT}
LICENSE="GPL-2+"
SLOT="0"
diff --git a/app-emacs/lean-mode/lean-mode-20220501.ebuild b/app-emacs/lean-mode/lean-mode-20220501.ebuild
index 34d78fe6a7fc..4e7256d4f3e9 100644
--- a/app-emacs/lean-mode/lean-mode-20220501.ebuild
+++ b/app-emacs/lean-mode/lean-mode-20220501.ebuild
@@ -1,17 +1,18 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-H=362bc6fa3efb1874c525ed6b4b6f24f76af22596
+[[ ${PV} == 20220501 ]] && COMMIT=362bc6fa3efb1874c525ed6b4b6f24f76af22596
NEED_EMACS=24.3
inherit elisp
DESCRIPTION="Emacs mode for the Lean 3 theorem prover"
HOMEPAGE="https://github.com/leanprover/lean-mode/"
-SRC_URI="https://github.com/leanprover/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}"/${PN}-${H}
+SRC_URI="https://github.com/leanprover/${PN}/archive/${COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${COMMIT}
LICENSE="GPL-2+"
SLOT="0"