commit:     4114a70032673881623334b3b2cf043742abc0ce
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 19 12:27:55 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Mar 19 13:53:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4114a700

app-emacs/elpher: guard COMMIT hash for correct snapshots

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/elpher/elpher-3.3.3.ebuild | 4 ++--
 app-emacs/elpher/elpher-3.4.1.ebuild | 4 ++--
 app-emacs/elpher/elpher-3.4.2.ebuild | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/app-emacs/elpher/elpher-3.3.3.ebuild 
b/app-emacs/elpher/elpher-3.3.3.ebuild
index 944e4efca3e3..40280aceb7f3 100644
--- a/app-emacs/elpher/elpher-3.3.3.ebuild
+++ b/app-emacs/elpher/elpher-3.3.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-COMMIT=ab75cff
+[[ ${PV} == 3.3.3 ]] && COMMIT=ab75cff
 NEED_EMACS=27.1
 
 inherit elisp
@@ -11,7 +11,7 @@ inherit elisp
 DESCRIPTION="Practical and friendly Gopher and Gemini client for GNU Emacs"
 HOMEPAGE="https://thelambdalab.xyz/elpher/";
 
SRC_URI="https://thelambdalab.xyz/gitweb/index.cgi?p=${PN}.git;a=snapshot;h=${COMMIT};sf=tgz
-                       -> ${P}.tar.gz"
+       -> ${P}.tar.gz"
 S="${WORKDIR}"/${PN}-${COMMIT}
 
 LICENSE="GPL-3+"

diff --git a/app-emacs/elpher/elpher-3.4.1.ebuild 
b/app-emacs/elpher/elpher-3.4.1.ebuild
index b483395d707d..e0d169a965f4 100644
--- a/app-emacs/elpher/elpher-3.4.1.ebuild
+++ b/app-emacs/elpher/elpher-3.4.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-COMMIT=bf0dd36
+[[ ${PV} == 3.4.1 ]] && COMMIT=bf0dd36
 NEED_EMACS=27.1
 
 inherit elisp
@@ -11,7 +11,7 @@ inherit elisp
 DESCRIPTION="Practical and friendly Gopher and Gemini client for GNU Emacs"
 HOMEPAGE="https://thelambdalab.xyz/elpher/";
 
SRC_URI="https://thelambdalab.xyz/gitweb/index.cgi?p=${PN}.git;a=snapshot;h=${COMMIT};sf=tgz
-                       -> ${P}.tar.gz"
+       -> ${P}.tar.gz"
 S="${WORKDIR}"/${PN}-${COMMIT}
 
 LICENSE="GPL-3+"

diff --git a/app-emacs/elpher/elpher-3.4.2.ebuild 
b/app-emacs/elpher/elpher-3.4.2.ebuild
index e063d45937f0..48c35ad2cc84 100644
--- a/app-emacs/elpher/elpher-3.4.2.ebuild
+++ b/app-emacs/elpher/elpher-3.4.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-COMMIT=f117f2f
+[[ ${PV} == 3.4.2 ]] && COMMIT=f117f2f
 NEED_EMACS=27.1
 
 inherit elisp
@@ -11,7 +11,7 @@ inherit elisp
 DESCRIPTION="Practical and friendly Gopher and Gemini client for GNU Emacs"
 HOMEPAGE="https://thelambdalab.xyz/elpher/";
 
SRC_URI="https://thelambdalab.xyz/gitweb/index.cgi?p=${PN}.git;a=snapshot;h=${COMMIT};sf=tgz
-                       -> ${P}.tar.gz"
+       -> ${P}.tar.gz"
 S="${WORKDIR}"/${PN}-${COMMIT}
 
 LICENSE="GPL-3+"

Reply via email to