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/
Date: Fri, 11 Jun 2021 21:48:25
Message-Id: 1623448052.5e8cdd27c8030bffc5ce92872cbb3e8595aa3d6a.tupone@gentoo
1 commit: 5e8cdd27c8030bffc5ce92872cbb3e8595aa3d6a
2 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 11 21:47:32 2021 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 11 21:47:32 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e8cdd27
7
8 eclass/ada.eclass: removing support for gnat_2016
9
10 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
11
12 eclass/ada.eclass | 10 +++-------
13 1 file changed, 3 insertions(+), 7 deletions(-)
14
15 diff --git a/eclass/ada.eclass b/eclass/ada.eclass
16 index 1876a963496..683417c6afe 100644
17 --- a/eclass/ada.eclass
18 +++ b/eclass/ada.eclass
19 @@ -58,7 +58,7 @@ EXPORT_FUNCTIONS pkg_setup
20 # @DESCRIPTION:
21 # All supported Ada implementations, most preferred last.
22 _ADA_ALL_IMPLS=(
23 - gnat_2016 gnat_2017 gnat_2018 gnat_2019 gnat_2020 gnat_2021
24 + gnat_2017 gnat_2018 gnat_2019 gnat_2020 gnat_2021
25 )
26 readonly _ADA_ALL_IMPLS
27
28 @@ -83,7 +83,7 @@ _ada_impl_supported() {
29 # keep in sync with _ADA_ALL_IMPLS!
30 # (not using that list because inline patterns shall be faster)
31 case "${impl}" in
32 - gnat_201[6789])
33 + gnat_201[789])
34 return 0
35 ;;
36 gnat_202[01])
37 @@ -180,7 +180,7 @@ ada_export() {
38 local impl var
39
40 case "${1}" in
41 - gnat_201[6789])
42 + gnat_201[789])
43 impl=${1}
44 shift
45 ;;
46 @@ -200,10 +200,6 @@ ada_export() {
47 local gcc_pv
48 local slot
49 case "${impl}" in
50 - gnat_2016)
51 - gcc_pv=4.9.4
52 - slot=4.9.4
53 - ;;
54 gnat_2017)
55 gcc_pv=6.3.0
56 slot=6.3.0