From: Michał Górny Date: Wed, 18 Nov 2015 21:27:52 +0000 (+0100) Subject: python-r1.eclass: Ban python_export_best in EAPI 6 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=5b5467e4795a1a1d9cc2ed2e83802621caada549;p=gentoo.git python-r1.eclass: Ban python_export_best in EAPI 6 --- diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index 1531442caff8..de83bb5d6ac9 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."