Gentoo Archives: gentoo-dev

From: Mike Pagano <mpagano@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] PATCH 1/1] Remove deprecated eclass function after warning period expiration
Date: Sat, 06 Aug 2022 18:49:23
Message-Id: ec081f7f-4e6a-89fb-bd09-92be38472a2f@gentoo.org
1 Remove deprecated eclass function after warning period expiration
2
3 Signed-off-by: Mike Pagano <mpagano@g.o>
4 ---
5 eclass/linux-info.eclass | 15 ---------------
6 1 file changed, 15 deletions(-)
7
8 diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass
9 index 7e130062a..0fa96e70f 100644
10 --- a/eclass/linux-info.eclass
11 +++ b/eclass/linux-info.eclass
12 @@ -149,21 +149,6 @@ esac
13 # Set the env ARCH to match what the kernel expects.
14 set_arch_to_kernel() { export ARCH=$(tc-arch-kernel); }
15
16 -# @FUNCTION: set_arch_to_portage
17 -# @DESCRIPTION:
18 -# Set the env ARCH to match what portage expects.
19 -set_arch_to_portage() {
20 -
21 - ewarn "The function name: set_arch_to_portage is being deprecated and"
22 - ewarn "being changed to: set_arch_to_pkgmgr to comply with pms policy."
23 - ewarn "See bug #843686"
24 - ewarn "The old function name will be removed on or about July 1st, 2022."
25 - ewarn "Please update your ebuild or eclass before this date."
26 - ewarn ""
27 -
28 - export ARCH=$(tc-arch);
29 -}
30 -
31 # @FUNCTION: set_arch_to_pkgmgr
32 # @DESCRIPTION:
33 # Set the env ARCH to match what the package manager expects.
34 --
35 2.35.1
36
37
38
39
40 --
41 Mike Pagano
42 Gentoo Developer - Kernel Project
43 Gentoo Sources - Lead
44 E-Mail : mpagano@g.o
45 GnuPG FP : 52CC A0B0 F631 0B17 0142 F83F 92A6 DBEC 81F2 B137
46 Public Key : http://http://pgp.mit.edu/pks/lookup?search=0x92A6DBEC81F2B137&op=index

Attachments

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

Replies