summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-01-30 17:56:13 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-01-30 18:00:51 +0100
commitf76be09dbadda42a4ace10ac39f53871ee6f10b2 (patch)
tree82c8db7fe0b22a12c3ab0c3ab87aa99b909de2f5 /app-emacs/diff-hl/diff-hl-1.9.0.ebuild
parentapp-emacs/all-the-icons: set H for correct PV; format (diff)
downloadgentoo-f76be09dbadda42a4ace10ac39f53871ee6f10b2.tar.gz
gentoo-f76be09dbadda42a4ace10ac39f53871ee6f10b2.tar.bz2
gentoo-f76be09dbadda42a4ace10ac39f53871ee6f10b2.zip
app-emacs/diff-hl: set H for correct PV
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/diff-hl/diff-hl-1.9.0.ebuild')
-rw-r--r--app-emacs/diff-hl/diff-hl-1.9.0.ebuild7
1 files changed, 4 insertions, 3 deletions
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+"