commit:     5e8cdd27c8030bffc5ce92872cbb3e8595aa3d6a
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 11 21:47:32 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Jun 11 21:47:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e8cdd27

eclass/ada.eclass: removing support for gnat_2016

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

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

diff --git a/eclass/ada.eclass b/eclass/ada.eclass
index 1876a963496..683417c6afe 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_2016 gnat_2017 gnat_2018 gnat_2019 gnat_2020 gnat_2021
+       gnat_2017 gnat_2018 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[6789])
+               gnat_201[789])
                        return 0
                        ;;
                gnat_202[01])
@@ -180,7 +180,7 @@ ada_export() {
        local impl var
 
        case "${1}" in
-               gnat_201[6789])
+               gnat_201[789])
                        impl=${1}
                        shift
                        ;;
@@ -200,10 +200,6 @@ ada_export() {
        local gcc_pv
        local slot
        case "${impl}" in
-               gnat_2016)
-                       gcc_pv=4.9.4
-                       slot=4.9.4
-                       ;;
                gnat_2017)
                        gcc_pv=6.3.0
                        slot=6.3.0

Reply via email to