commit:     58de4e13ba72c240be6c25238f68af1aebd79107
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 25 07:37:21 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Nov 25 07:37:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58de4e13

drop gnat_2019 support

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

 eclass/ada.eclass             | 13 +------------
 profiles/desc/ada_target.desc |  1 -
 2 files changed, 1 insertion(+), 13 deletions(-)

diff --git a/eclass/ada.eclass b/eclass/ada.eclass
index 6089ed6e737f..fe28142e94ae 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_2019 gnat_2020 gnat_2021
+       gnat_2020 gnat_2021
 )
 readonly _ADA_ALL_IMPLS
 
@@ -83,9 +83,6 @@ _ada_impl_supported() {
        # keep in sync with _ADA_ALL_IMPLS!
        # (not using that list because inline patterns shall be faster)
        case "${impl}" in
-               gnat_2019)
-                       return 0
-                       ;;
                gnat_202[01])
                        return 0
                        ;;
@@ -180,10 +177,6 @@ ada_export() {
        local impl var
 
        case "${1}" in
-               gnat_201[789])
-                       impl=${1}
-                       shift
-                       ;;
                gnat_202[01])
                        impl=${1}
                        shift
@@ -200,10 +193,6 @@ ada_export() {
        local gcc_pv
        local slot
        case "${impl}" in
-               gnat_2019)
-                       gcc_pv=8.3.1
-                       slot=8.3.1
-                       ;;
                gnat_2020)
                        gcc_pv=9.3.1
                        slot=9.3.1

diff --git a/profiles/desc/ada_target.desc b/profiles/desc/ada_target.desc
index b4a38a397104..eeabf1ffaed1 100644
--- a/profiles/desc/ada_target.desc
+++ b/profiles/desc/ada_target.desc
@@ -1,6 +1,5 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-gnat_2019 - Compile with dev-lang/gnat-gpl-2019
 gnat_2020 - Compile with dev-lang/gnat-gpl-2020
 gnat_2021 - Compile with dev-lang/gnat-gpl-2021

Reply via email to