commit:     71f3ef048cb1a572d4a14d2d5b39744b87e64bbc
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 23 11:56:26 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Dec 23 11:59:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71f3ef04

app-emacs/compat: require Emacs >=29.1

Closes: https://bugs.gentoo.org/946803
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 .../{compat-30.0.1.0.ebuild => compat-30.0.1.0-r1.ebuild}    | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/app-emacs/compat/compat-30.0.1.0.ebuild 
b/app-emacs/compat/compat-30.0.1.0-r1.ebuild
similarity index 92%
rename from app-emacs/compat/compat-30.0.1.0.ebuild
rename to app-emacs/compat/compat-30.0.1.0-r1.ebuild
index 0de9f6e50e90..8438dd49ae05 100644
--- a/app-emacs/compat/compat-30.0.1.0.ebuild
+++ b/app-emacs/compat/compat-30.0.1.0-r1.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+NEED_EMACS="29.1"
+
 inherit elisp
 
 DESCRIPTION="Compatibility libraries for Emacs"
@@ -29,10 +31,6 @@ BDEPEND="
 
 ELISP_TEXINFO="${PN}.texi"
 
-src_compile() {
-       emake compile "${PN}.info"
-}
-
 src_test() {
        local has_json="$("${EMACS}" ${EMACSFLAGS} --eval "(princ (fboundp 
'json-parse-string))")"
        if [[ "${has_json}" != t ]] ; then
@@ -49,3 +47,9 @@ src_test() {
                emake test
        fi
 }
+
+src_install() {
+       rm ./compat-tests.el || die
+
+       elisp_src_install
+}

Reply via email to