commit:     acb00b12b7fab3cae2d3b73f9004a00ca057aa36
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 19 13:32:56 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Sep 19 13:32:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acb00b12

ada.eclass: drop support for <gnat_2019

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

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

diff --git a/eclass/ada.eclass b/eclass/ada.eclass
index 683417c6afe..fd2a125300c 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_2017 gnat_2018 gnat_2019 gnat_2020 gnat_2021
+       gnat_2019 gnat_2020 gnat_2021
 )
 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_201[789])
+               gnat_2019)
                        return 0
                        ;;
                gnat_202[01])
@@ -200,14 +200,6 @@ ada_export() {
        local gcc_pv
        local slot
        case "${impl}" in
-               gnat_2017)
-                       gcc_pv=6.3.0
-                       slot=6.3.0
-                       ;;
-               gnat_2018)
-                       gcc_pv=7.3.1
-                       slot=7.3.1
-                       ;;
                gnat_2019)
                        gcc_pv=8.3.1
                        slot=8.3.1

Reply via email to