1 |
The EAPIs before '5' have USE_EXPAND flags in implicit IUSE, therefore |
2 |
making it impossible to use '(+)' and '(-)' deps on them. This problem |
3 |
can be noticed in Paludis (bug #447524) [1]. |
4 |
|
5 |
[1]:https://bugs.gentoo.org/show_bug.cgi?id=447524 |
6 |
--- |
7 |
gx86/eclass/python-single-r1.eclass | 8 +++++--- |
8 |
1 file changed, 5 insertions(+), 3 deletions(-) |
9 |
|
10 |
diff --git a/gx86/eclass/python-single-r1.eclass b/gx86/eclass/python-single-r1.eclass |
11 |
index 51807f2..d9800e1 100644 |
12 |
--- a/gx86/eclass/python-single-r1.eclass |
13 |
+++ b/gx86/eclass/python-single-r1.eclass |
14 |
@@ -32,11 +32,13 @@ |
15 |
# http://www.gentoo.org/proj/en/Python/python-r1/dev-guide.xml |
16 |
|
17 |
case "${EAPI:-0}" in |
18 |
- 0|1|2|3) |
19 |
+ 0|1|2|3|4) |
20 |
die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" |
21 |
;; |
22 |
- 4|5) |
23 |
- # EAPI=4 needed by python-r1 |
24 |
+ 5) |
25 |
+ # EAPIs before '5' have implicit USE flags for USE_EXPAND |
26 |
+ # making the '(+)' use-deps useless in paludis. |
27 |
+ # Bug #447524. |
28 |
;; |
29 |
*) |
30 |
die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" |
31 |
-- |
32 |
1.8.0.2 |