summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-08-31 16:58:46 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-08-31 17:09:51 +0200
commit24727f79192003a8cf60308f1701d081117b9032 (patch)
tree7d23657ea68134ff8b9669b2378e69f4f4675266 /app-emacs/diff-hl
parentapp-emacs/vertico: bump to 0.26 (diff)
downloadgentoo-24727f79192003a8cf60308f1701d081117b9032.tar.gz
gentoo-24727f79192003a8cf60308f1701d081117b9032.tar.bz2
gentoo-24727f79192003a8cf60308f1701d081117b9032.zip
app-emacs/diff-hl: bump to 1.9.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/diff-hl')
-rw-r--r--app-emacs/diff-hl/Manifest1
-rw-r--r--app-emacs/diff-hl/diff-hl-1.9.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/app-emacs/diff-hl/Manifest b/app-emacs/diff-hl/Manifest
index f44ab5402701..b9cd6350eeac 100644
--- a/app-emacs/diff-hl/Manifest
+++ b/app-emacs/diff-hl/Manifest
@@ -1 +1,2 @@
DIST diff-hl-1.8.8_p20220405.tar.gz 241924 BLAKE2B 316326eaca5e37155665436e923b9c8fa2a05cee6cf37bdb4c8538dc2ca8575fa7eff736e125b063c92abc0365c42743907f01edcfb7df2837f58bb2cad2a62e SHA512 4055699146f4244863c2be05a2196db7c51de16c9403ddad926b93b6be87b704efba1b578c2570d25a6e4da2d73863f8298691e26d270513558200169da02e04
+DIST diff-hl-1.9.0.tar.gz 242125 BLAKE2B 1dff9d601ba0dd8e117dc22de95dbdfa05ab14c0efecdcb7168061f760fa00b61c936fd1b3f0208d325336e3f7eb4f4c081e8b3b6db84799b45a56a73f3e8542 SHA512 fd82e22e685d2c51048acd3e339f0d7da9a1dc7ba49f64437b66dccaaf5b7bd93b9832eb37c56c0e9cbbe6dc058968e9a53c6e5dec398471fc79615ccce828fb
diff --git a/app-emacs/diff-hl/diff-hl-1.9.0.ebuild b/app-emacs/diff-hl/diff-hl-1.9.0.ebuild
new file mode 100644
index 000000000000..47285b4a8942
--- /dev/null
+++ b/app-emacs/diff-hl/diff-hl-1.9.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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"
+S="${WORKDIR}"/${PN}-${H}
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( dev-vcs/git )"
+
+DOCS=( README.md screenshot{,-dired,-margin}.png )
+SITEFILE="50${PN}-gentoo.el"
+
+src_test() {
+ ebegin "Creating a git repository for tests"
+ git init "${S}" --initial-branch="master" &&
+ git add "${S}" &&
+ git config --local user.email "test@test" &&
+ git config --local user.name "test" &&
+ git commit --message "test" --quiet
+ eend $? || die
+ emake EMACS="${EMACS} ${EMACSFLAGS}" test
+}