Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/emacs:master commit in: eclass/
Date: Sat, 07 Jun 2014 10:32:35
Message-Id: 1402137154.2dccd92ace00253911b517e2adbd41fe99eeea57.ulm@gentoo
1 commit: 2dccd92ace00253911b517e2adbd41fe99eeea57
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 7 10:32:34 2014 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 7 10:32:34 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=2dccd92a
7
8 Increase minimum Emacs version to 23, versions 21 and 22 have been removed.
9
10 ---
11 eclass/ChangeLog | 5 +++++
12 eclass/elisp.eclass | 8 ++++----
13 2 files changed, 9 insertions(+), 4 deletions(-)
14
15 diff --git a/eclass/ChangeLog b/eclass/ChangeLog
16 index a246178..0664efe 100644
17 --- a/eclass/ChangeLog
18 +++ b/eclass/ChangeLog
19 @@ -1,3 +1,8 @@
20 +2014-06-07 Ulrich Müller <ulm@g.o>
21 +
22 + * elisp.eclass (DEPEND): Increase minimum Emacs version to 23.
23 + (elisp_pkg_setup): Ditto.
24 +
25 2014-05-18 Ulrich Müller <ulm@g.o>
26
27 * elisp-common.eclass (elisp-site-regen): Die on errors.
28
29 diff --git a/eclass/elisp.eclass b/eclass/elisp.eclass
30 index 2919f26..61d7288 100644
31 --- a/eclass/elisp.eclass
32 +++ b/eclass/elisp.eclass
33 @@ -1,4 +1,4 @@
34 -# Copyright 1999-2013 Gentoo Foundation
35 +# Copyright 1999-2014 Gentoo Foundation
36 # Distributed under the terms of the GNU General Public License v2
37 # $Header: $
38 #
39 @@ -29,7 +29,7 @@
40 # @ECLASS-VARIABLE: NEED_EMACS
41 # @DEFAULT_UNSET
42 # @DESCRIPTION:
43 -# If you need anything different from Emacs 21, use the NEED_EMACS
44 +# If you need anything different from Emacs 23, use the NEED_EMACS
45 # variable before inheriting elisp.eclass. Set it to the major version
46 # your package uses and the dependency will be adjusted.
47
48 @@ -74,7 +74,7 @@ case "${EAPI:-0}" in
49 pkg_{setup,postinst,postrm} ;;
50 esac
51
52 -DEPEND=">=virtual/emacs-${NEED_EMACS:-21}"
53 +DEPEND=">=virtual/emacs-${NEED_EMACS:-23}"
54 RDEPEND="${DEPEND}"
55
56 # @FUNCTION: elisp_pkg_setup
57 @@ -83,7 +83,7 @@ RDEPEND="${DEPEND}"
58 # version requirement of the NEED_EMACS variable.
59
60 elisp_pkg_setup() {
61 - elisp-need-emacs "${NEED_EMACS:-21}"
62 + elisp-need-emacs "${NEED_EMACS:-23}"
63 case $? in
64 0) ;;
65 1) die "Emacs version too low" ;;