commit: 9c920ccdbadaf80ba18b634ed779af1e9e7abff6 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Fri Mar 28 19:58:03 2025 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Fri Mar 28 20:42:17 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c920ccd
app-emacs/corfu: bump to 2.0 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> app-emacs/corfu/Manifest | 1 + app-emacs/corfu/corfu-2.0.ebuild | 46 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/app-emacs/corfu/Manifest b/app-emacs/corfu/Manifest index af3ed851d804..bd72122ad0d3 100644 --- a/app-emacs/corfu/Manifest +++ b/app-emacs/corfu/Manifest @@ -1 +1,2 @@ DIST corfu-1.7.gh.tar.gz 51084 BLAKE2B 1dbbe13706dca042ba9c585ac03bf8fe8b458ee89910a6a2e824a8999d2b37db6c0f195bc84c6ca96377aa00e1563f94d1ba1f943f21f6b30a79c8e40832086d SHA512 470940655b24b95f010dee9d12313cf3772a72b0ce8c1e9e2f081cc01350e5089b1680049ccddd5a8abca346e686b024729d9018a36856617987a88f32abfde1 +DIST corfu-2.0.gh.tar.gz 51005 BLAKE2B f0a679ed111bfe47e68ffdf3ae4552bdd8ee1ef56d2ce4fa4f9ae846fc9c0b1eda590453b8c1d660fb01d6b8b2d0ba4f11bab8d4d547793a95fc37e9bd365daa SHA512 9a0082d7fb91aca90108d0930868c2443e80894dbf78397540167e1f985eb3ab0061fe4ff4b533b8f509970bc9c94e8d035a77091cfa3743d1b3357b388b57c9 diff --git a/app-emacs/corfu/corfu-2.0.ebuild b/app-emacs/corfu/corfu-2.0.ebuild new file mode 100644 index 000000000000..e41321580543 --- /dev/null +++ b/app-emacs/corfu/corfu-2.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS="28.1" + +inherit elisp + +DESCRIPTION="Completion Overlay Region FUnction" +HOMEPAGE="https://github.com/minad/corfu/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/minad/${PN}" +else + SRC_URI="https://github.com/minad/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +RDEPEND=" + >=app-emacs/compat-30.0.2.0 +" +BDEPEND=" + ${RDEPEND} +" + +DOCS=( README.org ) +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + default + + mv ./extensions/*.el . || die +} + +src_compile() { + elisp_src_compile + elisp-make-autoload-file +}
