Gentoo Archives: gentoo-dev

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-dev@l.g.o
Cc: "Ulrich Müller" <ulm@g.o>
Subject: [gentoo-dev] [PATCH 3/8] python*-r1.eclass: Add missing inherit for eqawarn
Date: Sat, 23 Jul 2022 19:21:31
Message-Id: 20220723191945.29962-4-ulm@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/8] Deprecate eutils.eclass by "Ulrich Müller"
1 Signed-off-by: Ulrich Müller <ulm@g.o>
2 ---
3 eclass/python-r1.eclass | 1 +
4 eclass/python-utils-r1.eclass | 1 +
5 2 files changed, 2 insertions(+)
6
7 diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
8 index 3471e17bdde6..2fd5c70120e9 100644
9 --- a/eclass/python-r1.eclass
10 +++ b/eclass/python-r1.eclass
11 @@ -49,6 +49,7 @@ elif [[ ${_PYTHON_ANY_R1} ]]; then
12 die 'python-r1.eclass can not be used with python-any-r1.eclass.'
13 fi
14
15 +[[ ${EAPI} == 6 ]] && inherit eqawarn
16 inherit multibuild python-utils-r1
17
18 fi
19 diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
20 index e54f943f94f6..b793a1f13e0f 100644
21 --- a/eclass/python-utils-r1.eclass
22 +++ b/eclass/python-utils-r1.eclass
23 @@ -35,6 +35,7 @@ fi
24 if [[ ! ${_PYTHON_UTILS_R1} ]]; then
25
26 [[ ${EAPI} == [67] ]] && inherit eapi8-dosym
27 +[[ ${EAPI} == 6 ]] && inherit eqawarn
28 inherit multiprocessing toolchain-funcs
29
30 # @ECLASS_VARIABLE: _PYTHON_ALL_IMPLS
31 --
32 2.35.1