1 |
commit: f76be09dbadda42a4ace10ac39f53871ee6f10b2 |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 30 16:56:13 2023 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 30 17:00:51 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f76be09d |
7 |
|
8 |
app-emacs/diff-hl: set H for correct PV |
9 |
|
10 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
11 |
|
12 |
app-emacs/diff-hl/diff-hl-1.8.8_p20220405.ebuild | 7 ++++--- |
13 |
app-emacs/diff-hl/diff-hl-1.9.0.ebuild | 7 ++++--- |
14 |
app-emacs/diff-hl/diff-hl-1.9.1.ebuild | 5 +++-- |
15 |
3 files changed, 11 insertions(+), 8 deletions(-) |
16 |
|
17 |
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 |
18 |
index 6c4bd522d0a7..7dcd28497ed3 100644 |
19 |
--- a/app-emacs/diff-hl/diff-hl-1.8.8_p20220405.ebuild |
20 |
+++ b/app-emacs/diff-hl/diff-hl-1.8.8_p20220405.ebuild |
21 |
@@ -1,16 +1,17 @@ |
22 |
-# Copyright 1999-2022 Gentoo Authors |
23 |
+# Copyright 1999-2023 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=8 |
27 |
|
28 |
-H=9d5dc2ffa1e4c7b43734b03dccb5ae6a80800569 |
29 |
+[[ ${PV} == *_p20220405 ]] && H=9d5dc2ffa1e4c7b43734b03dccb5ae6a80800569 |
30 |
NEED_EMACS=25.1 |
31 |
|
32 |
inherit elisp |
33 |
|
34 |
DESCRIPTION="Highlight uncommitted changes, jump between and revert them selectively" |
35 |
HOMEPAGE="https://github.com/dgutov/diff-hl/" |
36 |
-SRC_URI="https://github.com/dgutov/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz" |
37 |
+SRC_URI="https://github.com/dgutov/${PN}/archive/${H}.tar.gz |
38 |
+ -> ${P}.tar.gz" |
39 |
S="${WORKDIR}"/${PN}-${H} |
40 |
|
41 |
LICENSE="GPL-3+" |
42 |
|
43 |
diff --git a/app-emacs/diff-hl/diff-hl-1.9.0.ebuild b/app-emacs/diff-hl/diff-hl-1.9.0.ebuild |
44 |
index 47285b4a8942..e4beffabbc8c 100644 |
45 |
--- a/app-emacs/diff-hl/diff-hl-1.9.0.ebuild |
46 |
+++ b/app-emacs/diff-hl/diff-hl-1.9.0.ebuild |
47 |
@@ -1,16 +1,17 @@ |
48 |
-# Copyright 1999-2022 Gentoo Authors |
49 |
+# Copyright 1999-2023 Gentoo Authors |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
|
52 |
EAPI=8 |
53 |
|
54 |
-H=37b00f3bad841e131d69442a89cbebc3041d996b |
55 |
+[[ ${PV} == 1.9.0 ]] && H=37b00f3bad841e131d69442a89cbebc3041d996b |
56 |
NEED_EMACS=25.1 |
57 |
|
58 |
inherit elisp |
59 |
|
60 |
DESCRIPTION="Highlight uncommitted changes, jump between and revert them selectively" |
61 |
HOMEPAGE="https://github.com/dgutov/diff-hl/" |
62 |
-SRC_URI="https://github.com/dgutov/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz" |
63 |
+SRC_URI="https://github.com/dgutov/${PN}/archive/${H}.tar.gz |
64 |
+ -> ${P}.tar.gz" |
65 |
S="${WORKDIR}"/${PN}-${H} |
66 |
|
67 |
LICENSE="GPL-3+" |
68 |
|
69 |
diff --git a/app-emacs/diff-hl/diff-hl-1.9.1.ebuild b/app-emacs/diff-hl/diff-hl-1.9.1.ebuild |
70 |
index 5b323cff93f5..81e8d69966ae 100644 |
71 |
--- a/app-emacs/diff-hl/diff-hl-1.9.1.ebuild |
72 |
+++ b/app-emacs/diff-hl/diff-hl-1.9.1.ebuild |
73 |
@@ -3,14 +3,15 @@ |
74 |
|
75 |
EAPI=8 |
76 |
|
77 |
-H=8f2e4eb345f0639c8fc41e3f7576f77ba6987655 |
78 |
+[[ ${PV} == 1.9.1 ]] && H=8f2e4eb345f0639c8fc41e3f7576f77ba6987655 |
79 |
NEED_EMACS=25.1 |
80 |
|
81 |
inherit elisp |
82 |
|
83 |
DESCRIPTION="Highlight uncommitted changes, jump between and revert them selectively" |
84 |
HOMEPAGE="https://github.com/dgutov/diff-hl/" |
85 |
-SRC_URI="https://github.com/dgutov/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz" |
86 |
+SRC_URI="https://github.com/dgutov/${PN}/archive/${H}.tar.gz |
87 |
+ -> ${P}.tar.gz" |
88 |
S="${WORKDIR}"/${PN}-${H} |
89 |
|
90 |
LICENSE="GPL-3+" |