projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a21ab63
)
check-reqs.eclass: Ban obsolete functions in newer EAPIs
author
Justin Lecher
<jlec@gentoo.org>
Sun, 27 Dec 2015 09:30:42 +0000
(10:30 +0100)
committer
Justin Lecher
<jlec@gentoo.org>
Sat, 2 Jan 2016 10:41:26 +0000
(11:41 +0100)
Signed-off-by: Justin Lecher <jlec@gentoo.org>
eclass/check-reqs.eclass
patch
|
blob
|
history
diff --git
a/eclass/check-reqs.eclass
b/eclass/check-reqs.eclass
index 204bcc35749250c826f450b348dd6c2d083696b0..e16e7c43f76f9dfd109e9fbd093a05b264e5f129 100644
(file)
--- a/
eclass/check-reqs.eclass
+++ b/
eclass/check-reqs.eclass
@@
-75,6
+75,8
@@
esac
check_reqs() {
debug-print-function ${FUNCNAME} "$@"
+ [[ ${EAPI:-0} == [012345] ]] || die "${FUNCNAME} is banned in EAPI > 5"
+
echo
eqawarn "Package calling old ${FUNCNAME} function."
eqawarn "Please file a bug against the package."