projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93ad7dd
)
versionator.eclass: Ban in EAPI 7 (in favor of built-in funcs)
author
Michał Górny
<mgorny@gentoo.org>
Tue, 6 Mar 2018 17:23:16 +0000
(18:23 +0100)
committer
Michał Górny
<mgorny@gentoo.org>
Mon, 23 Apr 2018 18:00:53 +0000
(20:00 +0200)
eclass/versionator.eclass
patch
|
blob
|
history
diff --git
a/eclass/versionator.eclass
b/eclass/versionator.eclass
index 54d77a30b015a0f445299c924dc2d7186eb1fc80..bf3f6a2a77b6898e479c31f6fb8dbcf0f8e9ca33 100644
(file)
--- 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