diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-12-27 10:30:42 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2016-01-02 11:41:26 +0100 |
commit | 05e71d17c90c2020f0b98c24eb0de46039fba181 (patch) | |
tree | fad42f5092b9f1ec11ce5d4f69e3ae443c3b9e13 /eclass | |
parent | check-reqs.eclass: Replace obsolete df option -m with -k (diff) | |
download | gentoo-05e71d17c90c2020f0b98c24eb0de46039fba181.tar.gz gentoo-05e71d17c90c2020f0b98c24eb0de46039fba181.tar.bz2 gentoo-05e71d17c90c2020f0b98c24eb0de46039fba181.zip |
check-reqs.eclass: Ban obsolete functions in newer EAPIs
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/check-reqs.eclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass index 204bcc357492..e16e7c43f76f 100644 --- 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." |