diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-01-30 17:56:13 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-01-30 18:00:51 +0100 |
commit | f76be09dbadda42a4ace10ac39f53871ee6f10b2 (patch) | |
tree | 82c8db7fe0b22a12c3ab0c3ab87aa99b909de2f5 /app-emacs/diff-hl | |
parent | app-emacs/all-the-icons: set H for correct PV; format (diff) | |
download | gentoo-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')
-rw-r--r-- | app-emacs/diff-hl/diff-hl-1.8.8_p20220405.ebuild | 7 | ||||
-rw-r--r-- | app-emacs/diff-hl/diff-hl-1.9.0.ebuild | 7 | ||||
-rw-r--r-- | 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+" |