---
 eclass/distutils-r1.eclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index e632202..e55e2e4 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -583,6 +583,8 @@ distutils-r1_python_install_all() {
        einstalldocs
 
        if declare -p EXAMPLES &>/dev/null; then
+               [[ ${EAPI} == [45] ]] && die "EXAMPLES are banned in EAPI 
${EAPI}"
+
                local INSDESTTREE=/usr/share/doc/${PF}/examples
                doins -r "${EXAMPLES[@]}"
                docompress -x "${INSDESTTREE}"
-- 
2.6.3


Reply via email to