summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-10-20 09:53:11 +0200
committerUlrich Müller <ulm@gentoo.org>2022-10-20 10:05:04 +0200
commite1dcb02f09ff0b52a783e67bc4aa868c246c4ba4 (patch)
tree40fbdb05f2532f3b9550076df9603166dca3425a
parentelisp-common.eclass: fix for Emacs 29 (explicitly require autoload) (diff)
downloademacs-e1dcb02f09ff0b52a783e67bc4aa868c246c4ba4.tar.gz
emacs-e1dcb02f09ff0b52a783e67bc4aa868c246c4ba4.tar.bz2
emacs-e1dcb02f09ff0b52a783e67bc4aa868c246c4ba4.zip
elisp.eclass: Drop EAPI 6 support
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--eclass/elisp.eclass9
1 files changed, 3 insertions, 6 deletions
diff --git a/eclass/elisp.eclass b/eclass/elisp.eclass
index 6b6679d..7c05948 100644
--- a/eclass/elisp.eclass
+++ b/eclass/elisp.eclass
@@ -9,7 +9,7 @@
# Jeremy Maitin-Shepard <jbms@attbi.com>
# Christian Faulhammer <fauli@gentoo.org>
# Ulrich Müller <ulm@gentoo.org>
-# @SUPPORTED_EAPIS: 6 7 8
+# @SUPPORTED_EAPIS: 7 8
# @PROVIDES: elisp-common
# @BLURB: Eclass for Emacs Lisp packages
# @DESCRIPTION:
@@ -65,7 +65,7 @@
inherit elisp-common
case ${EAPI} in
- 6|7|8) ;;
+ 7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
@@ -73,10 +73,7 @@ EXPORT_FUNCTIONS src_{unpack,prepare,configure,compile,install} \
pkg_{setup,postinst,postrm}
RDEPEND=">=app-editors/emacs-${NEED_EMACS}:*"
-case ${EAPI} in
- 6) DEPEND="${RDEPEND}" ;;
- *) BDEPEND="${RDEPEND}" ;;
-esac
+BDEPEND="${RDEPEND}"
# @FUNCTION: elisp_pkg_setup
# @DESCRIPTION: