summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-03-19 13:22:19 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-03-19 14:53:08 +0100
commit426a0fdd33772628b5166ab81ebbdc964706bb91 (patch)
treec787a8dc1eade706fb540caa5181c2ca1d352152 /app-emacs/company-coq
parentapp-office/ledger: keyword 3.3.1 for ~ppc64 (diff)
downloadgentoo-426a0fdd33772628b5166ab81ebbdc964706bb91.tar.gz
gentoo-426a0fdd33772628b5166ab81ebbdc964706bb91.tar.bz2
gentoo-426a0fdd33772628b5166ab81ebbdc964706bb91.zip
app-emacs/company-coq: guard COMMIT hash for correct snapshots
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/company-coq')
-rw-r--r--app-emacs/company-coq/company-coq-1.0.1_p20210708-r1.ebuild4
-rw-r--r--app-emacs/company-coq/company-coq-1.0.1_p20220314.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/app-emacs/company-coq/company-coq-1.0.1_p20210708-r1.ebuild b/app-emacs/company-coq/company-coq-1.0.1_p20210708-r1.ebuild
index e03ba27d4576..4d43b44f080d 100644
--- a/app-emacs/company-coq/company-coq-1.0.1_p20210708-r1.ebuild
+++ b/app-emacs/company-coq/company-coq-1.0.1_p20210708-r1.ebuild
@@ -3,14 +3,14 @@
EAPI=8
-COMMIT=382db93374380e5db56f02934ee32bbe39159019
+[[ ${PV} == *_p20210708 ]] && COMMIT=382db93374380e5db56f02934ee32bbe39159019
inherit elisp
DESCRIPTION="Collection of extensions for Proof General's Coq mode"
HOMEPAGE="https://github.com/cpitclaudel/company-coq/"
SRC_URI="https://github.com/cpitclaudel/${PN}/archive/${COMMIT}.tar.gz
- -> ${P}.tar.gz"
+ -> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${COMMIT}
LICENSE="GPL-3+"
diff --git a/app-emacs/company-coq/company-coq-1.0.1_p20220314.ebuild b/app-emacs/company-coq/company-coq-1.0.1_p20220314.ebuild
index f6cf92448147..f1c8a7e4b396 100644
--- a/app-emacs/company-coq/company-coq-1.0.1_p20220314.ebuild
+++ b/app-emacs/company-coq/company-coq-1.0.1_p20220314.ebuild
@@ -3,14 +3,14 @@
EAPI=8
-COMMIT=a6e349e0131f676a885bd14c908fd26054b2df42
+[[ ${PV} == *_p20220314 ]] && COMMIT=a6e349e0131f676a885bd14c908fd26054b2df42
inherit elisp
DESCRIPTION="Collection of extensions for Proof General's Coq mode"
HOMEPAGE="https://github.com/cpitclaudel/company-coq/"
SRC_URI="https://github.com/cpitclaudel/${PN}/archive/${COMMIT}.tar.gz
- -> ${P}.tar.gz"
+ -> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${COMMIT}
LICENSE="GPL-3+"