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: Thu, 27 Aug 2020 18:47:39
Message-Id: 1598554050.19af25195a039819d46b142dce21db35dd1c8237.ulm@gentoo
1 commit: 19af25195a039819d46b142dce21db35dd1c8237
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 27 18:44:21 2020 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 27 18:47:30 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19af2519
7
8 gnuconfig.eclass: Remove deprecation warnings.
9
10 As discussed in #gentoo-qa. These were added in 2006, but the eclass
11 is still used by prominent packages. For example, it is inherited by
12 toolchain and toolchain-glibc.
13
14 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
15
16 eclass/gnuconfig.eclass | 10 +---------
17 1 file changed, 1 insertion(+), 9 deletions(-)
18
19 diff --git a/eclass/gnuconfig.eclass b/eclass/gnuconfig.eclass
20 index f43647ef6fd..3433837787c 100644
21 --- a/eclass/gnuconfig.eclass
22 +++ b/eclass/gnuconfig.eclass
23 @@ -1,8 +1,6 @@
24 -# Copyright 1999-2012 Gentoo Foundation
25 +# Copyright 1999-2020 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27 #
28 -# THIS ECLASS IS DEAD: It has been integrated into portage
29 -#
30 # Author: Will Woods <wwoods@g.o>
31 #
32 # This eclass is used to automatically update files that typically come with
33 @@ -26,12 +24,6 @@ DEPEND="sys-devel/gnuconfig"
34 # config.sub and config.guess (old default behavior), otherwise update the
35 # named files.
36 gnuconfig_update() {
37 -
38 -# hmm some packages (like binutils gcc glibc) still use this ...
39 -# echo
40 -# ewarn "QA Notice: Please stop using me, portage updates files for you."
41 -# echo
42 -
43 local startdir # declared here ... used in gnuconfig_do_update
44
45 if [[ $1 == /* ]] ; then