[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: [gentoo-dev] [PATCH 6/9] check-reqs.eclass: Ban obsolete functions in newer EAPIs
From: Justin Lecher <jlec () gentoo ! org>
Date: 2015-12-28 8:43:52
Message-ID: 1451292235-25265-7-git-send-email-jlec () gentoo ! org
[Download RAW message or body]
Signed-off-by: Justin Lecher <jlec@gentoo.org>
---
eclass/check-reqs.eclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass
index a32f8f8..ad032b9 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."
--
2.6.4
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic