1 |
--- |
2 |
eclass/python-r1.eclass | 2 ++ |
3 |
1 file changed, 2 insertions(+) |
4 |
|
5 |
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass |
6 |
index 1531442..de83bb5 100644 |
7 |
--- a/eclass/python-r1.eclass |
8 |
+++ b/eclass/python-r1.eclass |
9 |
@@ -603,6 +603,8 @@ python_setup() { |
10 |
python_export_best() { |
11 |
debug-print-function ${FUNCNAME} "${@}" |
12 |
|
13 |
+ [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI ${EAPI}" |
14 |
+ |
15 |
eqawarn "python_export_best() is deprecated. Please use python_setup instead," |
16 |
eqawarn "combined with python_export if necessary." |
17 |
|
18 |
-- |
19 |
2.6.3 |