From: Michał Górny Date: Tue, 6 Mar 2018 17:23:16 +0000 (+0100) Subject: versionator.eclass: Ban in EAPI 7 (in favor of built-in funcs) X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=886be91c3059bff491055aff3b01eb3fa23b33ec;p=gentoo.git versionator.eclass: Ban in EAPI 7 (in favor of built-in funcs) --- diff --git a/eclass/versionator.eclass b/eclass/versionator.eclass index 54d77a30b015..bf3f6a2a77b6 100644 --- a/eclass/versionator.eclass +++ b/eclass/versionator.eclass @@ -28,6 +28,13 @@ if [[ -z ${_VERSIONATOR_ECLASS} ]]; then _VERSIONATOR_ECLASS=1 +case ${EAPI:-0} in + 0|1|2|3|4|5|6) + ;; + *) + die "${ECLASS}: banned in EAPI=${EAPI}; use ver_* instead";; +esac + inherit estack # @FUNCTION: get_all_version_components