Gentoo Archives: gentoo-dev

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-dev@l.g.o
Cc: "Ulrich Müller" <ulm@g.o>
Subject: [gentoo-dev] [PATCH 5/8] libtool.eclass: Support EAPI 8
Date: Mon, 21 Jun 2021 16:51:29
Message-Id: 20210621164934.18023-5-ulm@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/8] gnuconfig.eclass: Support EAPI 8 by "Ulrich Müller"
1 Drop support for EAPIs 0 to 4.
2 Remove uclibctoolize and darwintoolize (after 10+ years).
3
4 Signed-off-by: Ulrich Müller <ulm@g.o>
5 ---
6 eclass/libtool.eclass | 11 ++++-------
7 1 file changed, 4 insertions(+), 7 deletions(-)
8
9 diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass
10 index 4565c8a8f6f8..a38f41588289 100644
11 --- a/eclass/libtool.eclass
12 +++ b/eclass/libtool.eclass
13 @@ -1,10 +1,10 @@
14 -# Copyright 1999-2018 Gentoo Foundation
15 +# Copyright 1999-2021 Gentoo Authors
16 # Distributed under the terms of the GNU General Public License v2
17
18 # @ECLASS: libtool.eclass
19 # @MAINTAINER:
20 # base-system@g.o
21 -# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7
22 +# @SUPPORTED_EAPIS: 5 6 7 8
23 # @BLURB: quickly update bundled libtool code
24 # @DESCRIPTION:
25 # This eclass patches ltmain.sh distributed with libtoolized packages with the
26 @@ -18,8 +18,8 @@ if [[ -z ${_LIBTOOL_ECLASS} ]]; then
27 _LIBTOOL_ECLASS=1
28
29 case ${EAPI:-0} in
30 - 0|1|2|3|4|5|6) DEPEND=">=app-portage/elt-patches-20170815" ;;
31 - 7) BDEPEND=">=app-portage/elt-patches-20170815" ;;
32 + 5|6) DEPEND=">=app-portage/elt-patches-20170815" ;;
33 + 7|8) BDEPEND=">=app-portage/elt-patches-20170815" ;;
34 *) die "${ECLASS}: EAPI ${EAPI} not supported" ;;
35 esac
36
37 @@ -43,7 +43,4 @@ elibtoolize() {
38 eltpatch "${@}" || die "eltpatch failed"
39 }
40
41 -uclibctoolize() { die "Use elibtoolize"; }
42 -darwintoolize() { die "Use elibtoolize"; }
43 -
44 fi
45 --
46 2.32.0