commit: f76be09dbadda42a4ace10ac39f53871ee6f10b2
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 30 16:56:13 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Jan 30 17:00:51 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f76be09d
app-emacs/diff-hl: set H for correct PV
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
app-emacs/diff-hl/diff-hl-1.8.8_p20220405.ebuild | 7 ++++---
app-emacs/diff-hl/diff-hl-1.9.0.ebuild | 7 ++++---
app-emacs/diff-hl/diff-hl-1.9.1.ebuild | 5 +++--
3 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/app-emacs/diff-hl/diff-hl-1.8.8_p20220405.ebuild
b/app-emacs/diff-hl/diff-hl-1.8.8_p20220405.ebuild
index 6c4bd522d0a7..7dcd28497ed3 100644
--- a/app-emacs/diff-hl/diff-hl-1.8.8_p20220405.ebuild
+++ b/app-emacs/diff-hl/diff-hl-1.8.8_p20220405.ebuild
@@ -1,16 +1,17 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-H=9d5dc2ffa1e4c7b43734b03dccb5ae6a80800569
+[[ ${PV} == *_p20220405 ]] && H=9d5dc2ffa1e4c7b43734b03dccb5ae6a80800569
NEED_EMACS=25.1
inherit elisp
DESCRIPTION="Highlight uncommitted changes, jump between and revert them
selectively"
HOMEPAGE="https://github.com/dgutov/diff-hl/"
-SRC_URI="https://github.com/dgutov/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/dgutov/${PN}/archive/${H}.tar.gz
+ -> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${H}
LICENSE="GPL-3+"
diff --git a/app-emacs/diff-hl/diff-hl-1.9.0.ebuild
b/app-emacs/diff-hl/diff-hl-1.9.0.ebuild
index 47285b4a8942..e4beffabbc8c 100644
--- a/app-emacs/diff-hl/diff-hl-1.9.0.ebuild
+++ b/app-emacs/diff-hl/diff-hl-1.9.0.ebuild
@@ -1,16 +1,17 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-H=37b00f3bad841e131d69442a89cbebc3041d996b
+[[ ${PV} == 1.9.0 ]] && H=37b00f3bad841e131d69442a89cbebc3041d996b
NEED_EMACS=25.1
inherit elisp
DESCRIPTION="Highlight uncommitted changes, jump between and revert them
selectively"
HOMEPAGE="https://github.com/dgutov/diff-hl/"
-SRC_URI="https://github.com/dgutov/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/dgutov/${PN}/archive/${H}.tar.gz
+ -> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${H}
LICENSE="GPL-3+"
diff --git a/app-emacs/diff-hl/diff-hl-1.9.1.ebuild
b/app-emacs/diff-hl/diff-hl-1.9.1.ebuild
index 5b323cff93f5..81e8d69966ae 100644
--- a/app-emacs/diff-hl/diff-hl-1.9.1.ebuild
+++ b/app-emacs/diff-hl/diff-hl-1.9.1.ebuild
@@ -3,14 +3,15 @@
EAPI=8
-H=8f2e4eb345f0639c8fc41e3f7576f77ba6987655
+[[ ${PV} == 1.9.1 ]] && H=8f2e4eb345f0639c8fc41e3f7576f77ba6987655
NEED_EMACS=25.1
inherit elisp
DESCRIPTION="Highlight uncommitted changes, jump between and revert them
selectively"
HOMEPAGE="https://github.com/dgutov/diff-hl/"
-SRC_URI="https://github.com/dgutov/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/dgutov/${PN}/archive/${H}.tar.gz
+ -> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${H}
LICENSE="GPL-3+"