commit: cfd46152d82ca8b026e8c6df45557d36a27d8bbc Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Mon Apr 28 12:11:22 2025 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Mon Apr 28 13:40:42 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfd46152
app-emacs/corfu: bump to 2.1 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> app-emacs/corfu/Manifest | 1 + app-emacs/corfu/corfu-2.1.ebuild | 46 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/app-emacs/corfu/Manifest b/app-emacs/corfu/Manifest index bd72122ad0d3..5a40446864be 100644 --- a/app-emacs/corfu/Manifest +++ b/app-emacs/corfu/Manifest @@ -1,2 +1,3 @@ DIST corfu-1.7.gh.tar.gz 51084 BLAKE2B 1dbbe13706dca042ba9c585ac03bf8fe8b458ee89910a6a2e824a8999d2b37db6c0f195bc84c6ca96377aa00e1563f94d1ba1f943f21f6b30a79c8e40832086d SHA512 470940655b24b95f010dee9d12313cf3772a72b0ce8c1e9e2f081cc01350e5089b1680049ccddd5a8abca346e686b024729d9018a36856617987a88f32abfde1 DIST corfu-2.0.gh.tar.gz 51005 BLAKE2B f0a679ed111bfe47e68ffdf3ae4552bdd8ee1ef56d2ce4fa4f9ae846fc9c0b1eda590453b8c1d660fb01d6b8b2d0ba4f11bab8d4d547793a95fc37e9bd365daa SHA512 9a0082d7fb91aca90108d0930868c2443e80894dbf78397540167e1f985eb3ab0061fe4ff4b533b8f509970bc9c94e8d035a77091cfa3743d1b3357b388b57c9 +DIST corfu-2.1.gh.tar.gz 51522 BLAKE2B 4c9dcc18d707d706e28074c2cc389d47fad79175cb2d45ceb51e8cbef03af4009a2e25a02f177cb786b4b3de7fcd9e56a077eb6f4a0d02457de9534c3d00ccf9 SHA512 5a94feeafaa5cbf40abf664fbea89895ef685ca5b6a68db961348f308b3a932c1aafba785fa3fc2fe3cb643a5c1c45555e1bdd1cde4600f3e5f841084ec2d509 diff --git a/app-emacs/corfu/corfu-2.1.ebuild b/app-emacs/corfu/corfu-2.1.ebuild new file mode 100644 index 000000000000..e41321580543 --- /dev/null +++ b/app-emacs/corfu/corfu-2.1.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 +}
