diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-03-06 18:23:16 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-04-23 20:00:53 +0200 |
commit | 886be91c3059bff491055aff3b01eb3fa23b33ec (patch) | |
tree | 1c215a5bc48f98cc1713cd99ade190d9fb3e08ed /eclass/versionator.eclass | |
parent | ltprune.eclass: Ban discouraged eclass in EAPI 7 (diff) | |
download | gentoo-886be91c3059bff491055aff3b01eb3fa23b33ec.tar.gz gentoo-886be91c3059bff491055aff3b01eb3fa23b33ec.tar.bz2 gentoo-886be91c3059bff491055aff3b01eb3fa23b33ec.zip |
versionator.eclass: Ban in EAPI 7 (in favor of built-in funcs)
Diffstat (limited to 'eclass/versionator.eclass')
-rw-r--r-- | eclass/versionator.eclass | 7 |
1 files changed, 7 insertions, 0 deletions
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 |