diff options
-rw-r--r-- | eclass/python-r1.eclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index 1531442caff..de83bb5d6ac 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1.eclass @@ -603,6 +603,8 @@ python_setup() { python_export_best() { debug-print-function ${FUNCNAME} "${@}" + [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI ${EAPI}" + eqawarn "python_export_best() is deprecated. Please use python_setup instead," eqawarn "combined with python_export if necessary." |