commit:     af3c3965a80c697a7dcf11fd55b4ff2829236ee7
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 15 14:38:58 2025 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Sat Mar 15 15:42:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af3c3965

app-emacs/cape: add 2.0

Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

 app-emacs/cape/Manifest        |  1 +
 app-emacs/cape/cape-2.0.ebuild | 40 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/app-emacs/cape/Manifest b/app-emacs/cape/Manifest
index d5633b148e37..240744c368d5 100644
--- a/app-emacs/cape/Manifest
+++ b/app-emacs/cape/Manifest
@@ -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

diff --git a/app-emacs/cape/cape-2.0.ebuild b/app-emacs/cape/cape-2.0.ebuild
new file mode 100644
index 000000000000..5023daeea86e
--- /dev/null
+++ b/app-emacs/cape/cape-2.0.ebuild
@@ -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
+}

Reply via email to