Gentoo Archives: gentoo-dev

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH 0/3] elisp{,-common}.eclass update for emacs-vcs consolidation
Date: Wed, 18 Dec 2019 11:08:34
Message-Id: cover.1576663643.git.ulm@gentoo.org
1 The package split between app-editors/emacs for regular ebuilds and
2 app-editors/emacs-vcs for live ebuilds has outlived its usefulness, and
3 it entails additional maintenance effort to keep the two packages (e.g.,
4 the list of their use flags in metadata.xml) synchronised.
5
6 Therefore, consolidate all GNU Emacs ebuilds in a single package. Now is
7 a good time to do this change, because no further releases of Emacs 26
8 are to be expected, and the release cycle of Emacs 27 hasn't started
9 yet.
10
11 So, the plan is:
12
13 - Copy the live ebuilds into separate slots of app-editors/emacs (done).
14
15 - Update all reverse dependencies to depend on app-editors/emacs:*
16 directly, instead of virtual/emacs. Since we allow switching the
17 version with eselect, this includes a ":*" type slot dependency.
18 No revbumps will be done for this (and virtual/emacs will be simply
19 removed without prior masking). See patches 2 and 3 of this series.
20
21 - This allows NEED_EMACS to be more fine-grained and include the minor
22 version. Therefore, elisp-need-emacs() from elisp-common.eclass
23 switches to ver_test() for version comparison, instead of comparing
24 the major version only. See patch 1 of this series.
25
26 - Package mask app-editors/emacs-vcs (but not the virtual) for removal.
27
28 Ulrich Müller (3):
29 elisp-common.eclass: Allow full versions in elisp-need-emacs().
30 elisp-common.eclass: Update documentation.
31 elisp.eclass: Depend on app-editors/emacs directly.
32
33 eclass/elisp-common.eclass | 36 +++++++++++++++++++-----------------
34 eclass/elisp.eclass | 4 ++--
35 2 files changed, 21 insertions(+), 19 deletions(-)
36
37 --
38 2.24.1

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies