commit: 1434d8dc853a9cc4dd67eef51a63b9641955f9f4 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> AuthorDate: Fri Sep 30 22:21:46 2016 +0000 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Fri Sep 30 22:22:47 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1434d8dc
depend.apache.eclass: output a fat warning if used with EAPI=6 We would really need a PMS-supplied eqawarn here... eclass/depend.apache.eclass | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/eclass/depend.apache.eclass b/eclass/depend.apache.eclass index 22a8216..5fd9071 100644 --- a/eclass/depend.apache.eclass +++ b/eclass/depend.apache.eclass @@ -42,6 +42,21 @@ inherit multilib +case ${EAPI:-0} in + 0|1|2|3|4|5) + ;; + 6) + ewarn + ewarn "EAPI=${EAPI} is not supported by depend.apache.eclass." + ewarn "This means that ${CATEGORY}/${PVR} is most likely buggy." + ewarn "Please file a report on https://bugs.gentoo.org/" + ewarn + ;; + *) + die "EAPI=${EAPI} is not supported by depend.apache.eclass" + ;; +esac + # ============================================================================== # INTERNAL VARIABLES # ==============================================================================