Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/diff-hl/
Date: Wed, 31 Aug 2022 15:09:57
Message-Id: 1661958591.24727f79192003a8cf60308f1701d081117b9032.xgqt@gentoo
1 commit: 24727f79192003a8cf60308f1701d081117b9032
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 31 14:58:46 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 31 15:09:51 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24727f79
7
8 app-emacs/diff-hl: bump to 1.9.0
9
10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
11
12 app-emacs/diff-hl/Manifest | 1 +
13 app-emacs/diff-hl/diff-hl-1.9.0.ebuild | 36 ++++++++++++++++++++++++++++++++++
14 2 files changed, 37 insertions(+)
15
16 diff --git a/app-emacs/diff-hl/Manifest b/app-emacs/diff-hl/Manifest
17 index f44ab5402701..b9cd6350eeac 100644
18 --- a/app-emacs/diff-hl/Manifest
19 +++ b/app-emacs/diff-hl/Manifest
20 @@ -1 +1,2 @@
21 DIST diff-hl-1.8.8_p20220405.tar.gz 241924 BLAKE2B 316326eaca5e37155665436e923b9c8fa2a05cee6cf37bdb4c8538dc2ca8575fa7eff736e125b063c92abc0365c42743907f01edcfb7df2837f58bb2cad2a62e SHA512 4055699146f4244863c2be05a2196db7c51de16c9403ddad926b93b6be87b704efba1b578c2570d25a6e4da2d73863f8298691e26d270513558200169da02e04
22 +DIST diff-hl-1.9.0.tar.gz 242125 BLAKE2B 1dff9d601ba0dd8e117dc22de95dbdfa05ab14c0efecdcb7168061f760fa00b61c936fd1b3f0208d325336e3f7eb4f4c081e8b3b6db84799b45a56a73f3e8542 SHA512 fd82e22e685d2c51048acd3e339f0d7da9a1dc7ba49f64437b66dccaaf5b7bd93b9832eb37c56c0e9cbbe6dc058968e9a53c6e5dec398471fc79615ccce828fb
23
24 diff --git a/app-emacs/diff-hl/diff-hl-1.9.0.ebuild b/app-emacs/diff-hl/diff-hl-1.9.0.ebuild
25 new file mode 100644
26 index 000000000000..47285b4a8942
27 --- /dev/null
28 +++ b/app-emacs/diff-hl/diff-hl-1.9.0.ebuild
29 @@ -0,0 +1,36 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +H=37b00f3bad841e131d69442a89cbebc3041d996b
36 +NEED_EMACS=25.1
37 +
38 +inherit elisp
39 +
40 +DESCRIPTION="Highlight uncommitted changes, jump between and revert them selectively"
41 +HOMEPAGE="https://github.com/dgutov/diff-hl/"
42 +SRC_URI="https://github.com/dgutov/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
43 +S="${WORKDIR}"/${PN}-${H}
44 +
45 +LICENSE="GPL-3+"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="test"
49 +RESTRICT="!test? ( test )"
50 +
51 +BDEPEND="test? ( dev-vcs/git )"
52 +
53 +DOCS=( README.md screenshot{,-dired,-margin}.png )
54 +SITEFILE="50${PN}-gentoo.el"
55 +
56 +src_test() {
57 + ebegin "Creating a git repository for tests"
58 + git init "${S}" --initial-branch="master" &&
59 + git add "${S}" &&
60 + git config --local user.email "test@test" &&
61 + git config --local user.name "test" &&
62 + git commit --message "test" --quiet
63 + eend $? || die
64 + emake EMACS="${EMACS} ${EMACSFLAGS}" test
65 +}