app-emacs/cape: add 2.0

Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
This commit is contained in:
Arsen Arsenović
2025-03-15 15:38:58 +01:00
parent d6a4945997
commit af3c3965a8
2 changed files with 41 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST cape-1.9.tar.gz 41648 BLAKE2B 949c36ee2aa7c18a83038b368e9d3709d2ad958d7b8ffe515569c2c9780e627be486be7a4bc50ecea1712eaa4c41e8aad71a588dfe3c2be4d60eba8dcde97fad SHA512 d358d10c7b6fc3ab9f9dc1c015d35e2d826c1f4c7faed74170fb7fa8f9fad85f933736c903a6d3a615df56e7a5792672a61df2d4174dae17588e78744c8a5f6a
DIST cape-2.0.tar.gz 41787 BLAKE2B de53bc40c867995d245d22743ac85f85ead64b75f914e8c9e672f8b31c082075de254a1d6141c440ad9351abe5860f008ac571d637f83378404dc3b9d65bda9d SHA512 725473591e982782f5a3501e36022845ae767588e8747c849db8c348ed5b6a499338b594f7a1189bb3dab8aef3b2b33725ac46e0ca6a824f65708473327e69fa

View File

@@ -0,0 +1,40 @@
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
NEED_EMACS=28.1
inherit elisp
DESCRIPTION="Completion At Point Extensions"
HOMEPAGE="https://github.com/minad/cape/"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/minad/${PN}.git"
else
SRC_URI="https://github.com/minad/${PN}/archive/refs/tags/${PV}.tar.gz
-> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3+"
SLOT="0"
RDEPEND="
>=app-emacs/compat-29.1.4.0
"
DEPEND="
${RDEPEND}
"
DOCS=( CHANGELOG.org README.org )
ELISP_TEXINFO="${PN}.texi"
SITEFILE="50${PN}-gentoo.el"
src_compile() {
elisp-org-export-to texinfo README.org
elisp_src_compile
elisp-make-autoload-file
}