diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-02-20 01:42:03 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-02-20 01:53:40 +0100 |
commit | 00bd7a6b0a62a96672e5e956df26558e17955f54 (patch) | |
tree | 9526084edc616e2aaa3078b21f10930c206697b0 /app-emacs | |
parent | app-emacs/diff-hl: drop old 1.8.8_p20220405 (diff) | |
download | gentoo-00bd7a6b0a62a96672e5e956df26558e17955f54.tar.gz gentoo-00bd7a6b0a62a96672e5e956df26558e17955f54.tar.bz2 gentoo-00bd7a6b0a62a96672e5e956df26558e17955f54.zip |
app-emacs/diff-hl: bump to 1.9.2
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/diff-hl/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/diff-hl/diff-hl-1.9.2.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/app-emacs/diff-hl/Manifest b/app-emacs/diff-hl/Manifest index e0f1a834c8e3..c79fe964b706 100644 --- a/app-emacs/diff-hl/Manifest +++ b/app-emacs/diff-hl/Manifest @@ -1,2 +1,3 @@ DIST diff-hl-1.9.0.tar.gz 242125 BLAKE2B 1dff9d601ba0dd8e117dc22de95dbdfa05ab14c0efecdcb7168061f760fa00b61c936fd1b3f0208d325336e3f7eb4f4c081e8b3b6db84799b45a56a73f3e8542 SHA512 fd82e22e685d2c51048acd3e339f0d7da9a1dc7ba49f64437b66dccaaf5b7bd93b9832eb37c56c0e9cbbe6dc058968e9a53c6e5dec398471fc79615ccce828fb DIST diff-hl-1.9.1.tar.gz 242182 BLAKE2B 5d4c718c9b1da142304687401589581147e4653e8adbf285a31cfd9369a9da8509129673a8d29cd4a14c7f6ba0c1cdc4a4e2635a57ae9357528672fd19b76be8 SHA512 f5090e0de5528ab4676c6710c9c758fce1d0a4075d18a62f00597d3d0d12690ef8e62b6e31f56f0ed87f9145dc0805b5854531179f3398f5f561e2dc66d78cdf +DIST diff-hl-1.9.2.tar.gz 242052 BLAKE2B 03a4daa14d0a80dbbe61b3e2ef853416750eb59806da2c2c7ba07fd5403f78a7566c124e9559733a78ab751562cf462db7702985f36d6375765efcc3fa6b5697 SHA512 067c902632bc70f10b201f9be38ee14c87a9026a1ac7076642d63ca421de287bf47ccee2e47a323c164672a718a5964e940b86f8330f5be35cfd90bff3ecf1a1 diff --git a/app-emacs/diff-hl/diff-hl-1.9.2.ebuild b/app-emacs/diff-hl/diff-hl-1.9.2.ebuild new file mode 100644 index 000000000000..dd39684a4320 --- /dev/null +++ b/app-emacs/diff-hl/diff-hl-1.9.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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/${PV}.tar.gz + -> ${P}.tar.gz" + +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 +} |