commit: 5c2c9f507cd17a4b701571425ac76c61bf672cb8 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Nov 13 18:45:16 2015 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Nov 13 23:52:53 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c2c9f50
git-2.eclass: Ban for EAPI=6 Ban deprecated git-2.eclass to avoid it being accidentally enabled for EAPI=6. eclass/git-2.eclass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eclass/git-2.eclass b/eclass/git-2.eclass index 3cb6079..6101ad4 100644 --- a/eclass/git-2.eclass +++ b/eclass/git-2.eclass @@ -13,6 +13,10 @@ # # This eclass is DEPRECATED. Please use git-r3 instead. +if [[ ${EAPI} == 6 ]]; then + die "${ECLASS}.eclass is banned in EAPI ${EAPI}" +fi + # This eclass support all EAPIs EXPORT_FUNCTIONS src_unpack