summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-07-23 21:19:40 +0200
committerUlrich Müller <ulm@gentoo.org>2022-07-24 19:49:44 +0200
commit0de2f3288d94a78711fe4d5d23ebbc4b40d739aa (patch)
treee9c966e651a3c475e8ebc990405d04a9917cf664
parenteutils.eclass: Add @DEPRECATED tag (diff)
downloadgentoo-0de2f3288d94a78711fe4d5d23ebbc4b40d739aa.tar.gz
gentoo-0de2f3288d94a78711fe4d5d23ebbc4b40d739aa.tar.bz2
gentoo-0de2f3288d94a78711fe4d5d23ebbc4b40d739aa.zip
python*-r1.eclass: Add missing inherit for eqawarn
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--eclass/python-r1.eclass1
-rw-r--r--eclass/python-utils-r1.eclass1
2 files changed, 2 insertions, 0 deletions
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
index 3471e17bdde6..2fd5c70120e9 100644
--- a/eclass/python-r1.eclass
+++ b/eclass/python-r1.eclass
@@ -49,6 +49,7 @@ elif [[ ${_PYTHON_ANY_R1} ]]; then
die 'python-r1.eclass can not be used with python-any-r1.eclass.'
fi
+[[ ${EAPI} == 6 ]] && inherit eqawarn
inherit multibuild python-utils-r1
fi
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index e54f943f94f6..b793a1f13e0f 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -35,6 +35,7 @@ fi
if [[ ! ${_PYTHON_UTILS_R1} ]]; then
[[ ${EAPI} == [67] ]] && inherit eapi8-dosym
+[[ ${EAPI} == 6 ]] && inherit eqawarn
inherit multiprocessing toolchain-funcs
# @ECLASS_VARIABLE: _PYTHON_ALL_IMPLS