Gentoo Archives: gentoo-dev

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH] elisp.eclass: Inherit epatch rather than eutils.
Date: Mon, 25 Dec 2017 16:39:51
Message-Id: 23105.10698.181387.327610@a1i15.kph.uni-mainz.de
1 The only function needed from eutils was epatch() which has been split
2 off into its own eclass.
3 ---
4 eclass/elisp.eclass | 6 +++---
5 1 file changed, 3 insertions(+), 3 deletions(-)
6
7 diff --git a/eclass/elisp.eclass b/eclass/elisp.eclass
8 index 078a7994d00c..67459730aa61 100644
9 --- a/eclass/elisp.eclass
10 +++ b/eclass/elisp.eclass
11 @@ -1,4 +1,4 @@
12 -# Copyright 1999-2015 Gentoo Foundation
13 +# Copyright 1999-2017 Gentoo Foundation
14 # Distributed under the terms of the GNU General Public License v2
15
16 # @ECLASS: elisp.eclass
17 @@ -68,11 +68,11 @@ inherit elisp-common
18
19 case ${EAPI:-0} in
20 0|1)
21 - inherit eutils
22 + inherit epatch
23 EXPORT_FUNCTIONS src_{unpack,compile,install} \
24 pkg_{setup,postinst,postrm} ;;
25 2|3|4|5)
26 - inherit eutils
27 + inherit epatch
28 EXPORT_FUNCTIONS src_{unpack,prepare,configure,compile,install} \
29 pkg_{setup,postinst,postrm} ;;
30 6)
31 --
32 2.15.1