commit:     e9e69683de2a169a0ebba4790c50d7256257ee84
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 27 21:05:49 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Nov 27 21:06:20 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9e69683

ada.eclass: drop gnat_2020 from ada.eclass

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 eclass/ada.eclass | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/eclass/ada.eclass b/eclass/ada.eclass
index 9139d5820a93..d8a456a96951 100644
--- a/eclass/ada.eclass
+++ b/eclass/ada.eclass
@@ -58,7 +58,7 @@ EXPORT_FUNCTIONS pkg_setup
 # @DESCRIPTION:
 # All supported Ada implementations, most preferred last.
 _ADA_ALL_IMPLS=(
-       gnat_2020 gnat_2021 gcc_12_2_0
+       gnat_2021 gcc_12_2_0
 )
 readonly _ADA_ALL_IMPLS
 
@@ -83,7 +83,7 @@ _ada_impl_supported() {
        # keep in sync with _ADA_ALL_IMPLS!
        # (not using that list because inline patterns shall be faster)
        case "${impl}" in
-               gnat_202[01])
+               gnat_2021)
                        return 0
                        ;;
                gcc_12_2_0)
@@ -180,7 +180,7 @@ ada_export() {
        local impl var
 
        case "${1}" in
-               gnat_202[01])
+               gnat_2021)
                        impl=${1}
                        shift
                        ;;
@@ -200,10 +200,6 @@ ada_export() {
        local gcc_pv
        local slot
        case "${impl}" in
-               gnat_2020)
-                       gcc_pv=9.3.1
-                       slot=9.3.1
-                       ;;
                gnat_2021)
                        gcc_pv=10
                        slot=10
@@ -258,7 +254,7 @@ ada_export() {
                                ;;
                        ADA_PKG_DEP)
                                case "${impl}" in
-                                       gnat_202[01])
+                                       gnat_2021)
                                                
ADA_PKG_DEP="dev-lang/gnat-gpl:${slot}[ada]"
                                                ;;
                                        *)

Reply via email to