Gentoo Archives: gentoo-commits

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