Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/, profiles/desc/
Date: Thu, 25 Nov 2021 07:38:02
Message-Id: 1637825841.58de4e13ba72c240be6c25238f68af1aebd79107.tupone@gentoo
1 commit: 58de4e13ba72c240be6c25238f68af1aebd79107
2 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 25 07:37:21 2021 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 25 07:37:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58de4e13
7
8 drop gnat_2019 support
9
10 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
11
12 eclass/ada.eclass | 13 +------------
13 profiles/desc/ada_target.desc | 1 -
14 2 files changed, 1 insertion(+), 13 deletions(-)
15
16 diff --git a/eclass/ada.eclass b/eclass/ada.eclass
17 index 6089ed6e737f..fe28142e94ae 100644
18 --- a/eclass/ada.eclass
19 +++ b/eclass/ada.eclass
20 @@ -58,7 +58,7 @@ EXPORT_FUNCTIONS pkg_setup
21 # @DESCRIPTION:
22 # All supported Ada implementations, most preferred last.
23 _ADA_ALL_IMPLS=(
24 - gnat_2019 gnat_2020 gnat_2021
25 + gnat_2020 gnat_2021
26 )
27 readonly _ADA_ALL_IMPLS
28
29 @@ -83,9 +83,6 @@ _ada_impl_supported() {
30 # keep in sync with _ADA_ALL_IMPLS!
31 # (not using that list because inline patterns shall be faster)
32 case "${impl}" in
33 - gnat_2019)
34 - return 0
35 - ;;
36 gnat_202[01])
37 return 0
38 ;;
39 @@ -180,10 +177,6 @@ ada_export() {
40 local impl var
41
42 case "${1}" in
43 - gnat_201[789])
44 - impl=${1}
45 - shift
46 - ;;
47 gnat_202[01])
48 impl=${1}
49 shift
50 @@ -200,10 +193,6 @@ ada_export() {
51 local gcc_pv
52 local slot
53 case "${impl}" in
54 - gnat_2019)
55 - gcc_pv=8.3.1
56 - slot=8.3.1
57 - ;;
58 gnat_2020)
59 gcc_pv=9.3.1
60 slot=9.3.1
61
62 diff --git a/profiles/desc/ada_target.desc b/profiles/desc/ada_target.desc
63 index b4a38a397104..eeabf1ffaed1 100644
64 --- a/profiles/desc/ada_target.desc
65 +++ b/profiles/desc/ada_target.desc
66 @@ -1,6 +1,5 @@
67 # Copyright 1999-2021 Gentoo Authors
68 # Distributed under the terms of the GNU General Public License v2
69
70 -gnat_2019 - Compile with dev-lang/gnat-gpl-2019
71 gnat_2020 - Compile with dev-lang/gnat-gpl-2020
72 gnat_2021 - Compile with dev-lang/gnat-gpl-2021