commit: 776c77bf7d8f46760b347baa3420f44d7734b4d1 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Thu Jul 15 09:29:50 2021 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Thu Jul 15 09:52:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=776c77bf
toolchain.eclass: standardize unsupported EAPI error message Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> eclass/toolchain.eclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index c07d483fd1f..2ac7a2da55e 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -30,10 +30,9 @@ fi FEATURES=${FEATURES/multilib-strict/} case ${EAPI:-0} in - 0|1|2|3|4*) die "Need to upgrade to at least EAPI=5" ;; 5*|6) inherit eapi7-ver ;; 7) ;; - *) die "I don't speak EAPI ${EAPI}." ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac EXPORT_FUNCTIONS pkg_pretend pkg_setup src_unpack src_prepare src_configure \