diff options
author | Michał Górny <mgorny@gentoo.org> | 2015-11-13 19:45:16 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2015-11-14 00:52:53 +0100 |
commit | 5c2c9f507cd17a4b701571425ac76c61bf672cb8 (patch) | |
tree | e494fc48c2ca797a654a958c0eeb7f2aef015e67 /eclass/git-2.eclass | |
parent | python.eclass, distutils.eclass: Ban for EAPI=6 (diff) | |
download | gentoo-5c2c9f507cd17a4b701571425ac76c61bf672cb8.tar.gz gentoo-5c2c9f507cd17a4b701571425ac76c61bf672cb8.tar.bz2 gentoo-5c2c9f507cd17a4b701571425ac76c61bf672cb8.zip |
git-2.eclass: Ban for EAPI=6
Ban deprecated git-2.eclass to avoid it being accidentally enabled for
EAPI=6.
Diffstat (limited to 'eclass/git-2.eclass')
-rw-r--r-- | eclass/git-2.eclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eclass/git-2.eclass b/eclass/git-2.eclass index 3cb60790dd4c..6101ad410345 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 |