commit: 148c6f146df14321409649720213f1b26bcf8be7 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Thu Jan 8 20:20:46 2026 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Thu Jan 8 21:19:41 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=148c6f14
app-emacs/magit: bump to 4.5.0 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> app-emacs/magit/Manifest | 1 + app-emacs/magit/magit-4.5.0.ebuild | 54 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/app-emacs/magit/Manifest b/app-emacs/magit/Manifest index 92248d2147d9..fa93a45aded0 100644 --- a/app-emacs/magit/Manifest +++ b/app-emacs/magit/Manifest @@ -1 +1,2 @@ DIST magit-4.4.2.tar.gz 701346 BLAKE2B c87f880215c017eb73702be57331213857f59f62bf521cd22027f4fc46c006270f862b32b837715b4a5a3d7a9cf1a8ae5da0056b2f059187057f9e9d80b50986 SHA512 7d686cc1c7b9613c39a5565d7f911e4e783941a26c75a80c2a49ca4463d1dc55839034177d1cee3a781f4ac3a8184a87b42fe3bab56e7d88d6372f4ccf43654c +DIST magit-4.5.0.gh.tar.gz 702733 BLAKE2B 90413027a5f3b12dd80083e7bee506a0212b06df2ff79ca5792d8cc3e88bf59b2d8e56deee03a4df32ed8790d9c08103a3b2f1bfb1140e566f6cd4677c575647 SHA512 929edfc31f4e2a8c60510227cf9b448534173ecd22c010b71df5a4a2204906345d49b12ef254deace53c2b2a400d6067c325bab838efe1766be024e353f05486 diff --git a/app-emacs/magit/magit-4.5.0.ebuild b/app-emacs/magit/magit-4.5.0.ebuild new file mode 100644 index 000000000000..544dbd2d657f --- /dev/null +++ b/app-emacs/magit/magit-4.5.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS="29.2" + +inherit elisp + +DESCRIPTION="A Git porcelain inside Emacs" +HOMEPAGE="https://magit.vc/ + https://github.com/magit/magit/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/${PN}/${PN}" +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +fi + +S="${WORKDIR}/${P}/lisp" + +LICENSE="GPL-3+" +SLOT="0" + +RDEPEND=" + app-emacs/compat + app-emacs/cond-let + app-emacs/dash + app-emacs/llama + app-emacs/transient + app-emacs/with-editor +" +BDEPEND=" + ${RDEPEND} + sys-apps/texinfo +" +RDEPEND+=" + >=dev-vcs/git-2.44.2 +" + +DOCS=( ../README.md ../docs/AUTHORS.md ../docs/RelNotes ) +ELISP_TEXINFO="../docs/*.texi" +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + default + + echo "(setq ${PN}-version \"${PV}\")" > "./${PN}-version.el" || die +}
