1 |
commit: e7dcb0835c0fe8b1927d5d5c6f4a181d861e3e87 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 20 08:39:37 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 23 21:44:19 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7dcb083 |
7 |
|
8 |
python-r1.eclass: Ban python_gen_usedep in EAPI 8 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
eclass/python-r1.eclass | 1 + |
13 |
1 file changed, 1 insertion(+) |
14 |
|
15 |
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass |
16 |
index 539076b5f74..d464d3ef8f8 100644 |
17 |
--- a/eclass/python-r1.eclass |
18 |
+++ b/eclass/python-r1.eclass |
19 |
@@ -358,6 +358,7 @@ python_gen_usedep() { |
20 |
if [[ ${EBUILD_PHASE} == setup ]]; then |
21 |
eqawarn "python_gen_usedep() is deprecated. Please use python_gen_cond_dep instead." |
22 |
fi |
23 |
+ [[ ${EAPI} == [67] ]] || die "${FUNCNAME} banned in EAPI ${EAPI}" |
24 |
_python_gen_usedep "${@}" |
25 |
} |