summaryrefslogtreecommitdiff
path: root/app-emacs/diff-hl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-07 12:37:21 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-07 12:37:21 +0100
commitb8c7370a682e4e29cda623222d17a790c01c3642 (patch)
treef6caa14689bd00a5760eadaa381ff41e50ef3c1b /app-emacs/diff-hl
parent8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff)
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'app-emacs/diff-hl')
-rw-r--r--app-emacs/diff-hl/Manifest2
-rw-r--r--app-emacs/diff-hl/diff-hl-1.10.0.ebuild44
2 files changed, 46 insertions, 0 deletions
diff --git a/app-emacs/diff-hl/Manifest b/app-emacs/diff-hl/Manifest
index 428bcc030bfc..a48a5340bbf5 100644
--- a/app-emacs/diff-hl/Manifest
+++ b/app-emacs/diff-hl/Manifest
@@ -1,4 +1,6 @@
AUX 50diff-hl-gentoo.el 1736 BLAKE2B c743490ef717dcc1ec72fc44a2c2a05792ff60cee702ac06b105a39d5fb088ee2816d23cf9a54d8686d3db5af6649f5793738273bd054e2f486da949eb3cf9c7 SHA512 ac3c8d3f1566515fe8be749619764febe3fdf24820d5e7a95f1eb9eff8329cb5e4fa7da848e867ece8772b5d7a1e75e159091da5194ec16bd2724febeacb6f8b
+DIST diff-hl-1.10.0.tar.gz 243449 BLAKE2B 64d091f3d9a1c6956f3d1d579299fd5ca3863053990cc03ae0318acc70ce88018fc4721f48abd18a30abfc410bf63f5154993d07d35fad431f0ea48892407ed0 SHA512 686d424fccec19bce4880e967a2ad3f27c8ea457a0e5f0d56eae0c46bd4c8df9951443115a2ee2614301cf5dbbc862f8233f00d3c8be0aa3c8335d1f5bbc7432
DIST diff-hl-1.9.2.tar.gz 242052 BLAKE2B 03a4daa14d0a80dbbe61b3e2ef853416750eb59806da2c2c7ba07fd5403f78a7566c124e9559733a78ab751562cf462db7702985f36d6375765efcc3fa6b5697 SHA512 067c902632bc70f10b201f9be38ee14c87a9026a1ac7076642d63ca421de287bf47ccee2e47a323c164672a718a5964e940b86f8330f5be35cfd90bff3ecf1a1
+EBUILD diff-hl-1.10.0.ebuild 980 BLAKE2B 8011487a03d0c06ff35db239bfc019847a8ecc7bf07889a94304ca01ca8785d9f18fabe5edeb93bd5cfe4a9befafa1167a82ff2a84c259ebcb9a8dd5c231dc2a SHA512 2e7537b32d5f29f84818a48fba74abc876ee326cb0eaf9fba26fee70a71517390de15789f0f06206513a383069c73fa90f780d18b35cbef97b9356bd2699e765
EBUILD diff-hl-1.9.2.ebuild 859 BLAKE2B ee7f7c2d338c4f33542363ec167128ad0c95841d8fb8d43b5cc66736d3b73787ba015ae30171ace97b0b995329a267a9025f125a96100ad3b5c285cccfd1cee6 SHA512 a34c91121492c1f222f10c7c22555e792a3a7ba8e9a448b3ccb45f61e56a167d82aa7de810c76a43f5c545b535f2bd61c9bb42ba63673f027e2e641a3262e687
MISC metadata.xml 417 BLAKE2B 8008d30c29065e61bd3fe0188f6c882993cfcb3021ed3dc650f9a12e7ef625e1f743ab6e405ce63d7d29a49f54f2987b7dee73025cc936e5356b09a5e0fb7038 SHA512 eaccfd63d897f54a6d2426028eaa1eb47f80fd63136446b5344dcdb599727680a81a13faa917a07d4899ed92f233dd247a161bf8610a701e29270955d3975209
diff --git a/app-emacs/diff-hl/diff-hl-1.10.0.ebuild b/app-emacs/diff-hl/diff-hl-1.10.0.ebuild
new file mode 100644
index 000000000000..841fee81ceca
--- /dev/null
+++ b/app-emacs/diff-hl/diff-hl-1.10.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Highlight uncommitted changes, jump between and revert them selectively"
+HOMEPAGE="https://github.com/dgutov/diff-hl/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/dgutov/${PN}.git"
+else
+ SRC_URI="https://github.com/dgutov/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+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
+}