1 |
mgorny 13/01/30 10:42:26 |
2 |
|
3 |
Modified: ChangeLog python-r1.eclass python-single-r1.eclass |
4 |
Log: |
5 |
Use (-) USE-defaults to reduce issues from removing flags. |
6 |
|
7 |
Revision Changes Path |
8 |
1.654 eclass/ChangeLog |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.654&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.654&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.653&r2=1.654 |
13 |
|
14 |
Index: ChangeLog |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v |
17 |
retrieving revision 1.653 |
18 |
retrieving revision 1.654 |
19 |
diff -u -r1.653 -r1.654 |
20 |
--- ChangeLog 29 Jan 2013 21:12:33 -0000 1.653 |
21 |
+++ ChangeLog 30 Jan 2013 10:42:25 -0000 1.654 |
22 |
@@ -1,6 +1,10 @@ |
23 |
# ChangeLog for eclass directory |
24 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.653 2013/01/29 21:12:33 mgorny Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.654 2013/01/30 10:42:25 mgorny Exp $ |
27 |
+ |
28 |
+ 30 Jan 2013; Michał Górny <mgorny@g.o> python-r1.eclass, |
29 |
+ python-single-r1.eclass: |
30 |
+ Use (-) USE-defaults to reduce issues from removing flags. |
31 |
|
32 |
29 Jan 2013; Michał Górny <mgorny@g.o> python-utils-r1.eclass: |
33 |
Disable pypy1.8 globally. |
34 |
|
35 |
|
36 |
|
37 |
1.40 eclass/python-r1.eclass |
38 |
|
39 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python-r1.eclass?rev=1.40&view=markup |
40 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python-r1.eclass?rev=1.40&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python-r1.eclass?r1=1.39&r2=1.40 |
42 |
|
43 |
Index: python-r1.eclass |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/eclass/python-r1.eclass,v |
46 |
retrieving revision 1.39 |
47 |
retrieving revision 1.40 |
48 |
diff -u -r1.39 -r1.40 |
49 |
--- python-r1.eclass 27 Jan 2013 16:40:15 -0000 1.39 |
50 |
+++ python-r1.eclass 30 Jan 2013 10:42:25 -0000 1.40 |
51 |
@@ -1,6 +1,6 @@ |
52 |
# Copyright 1999-2013 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/python-r1.eclass,v 1.39 2013/01/27 16:40:15 mgorny Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/python-r1.eclass,v 1.40 2013/01/30 10:42:25 mgorny Exp $ |
56 |
|
57 |
# @ECLASS: python-r1 |
58 |
# @MAINTAINER: |
59 |
@@ -128,7 +128,7 @@ |
60 |
# |
61 |
# Example value: |
62 |
# @CODE |
63 |
-# python_targets_python2_6?,python_targets_python2_7? |
64 |
+# python_targets_python2_6(-)?,python_targets_python2_7(-)? |
65 |
# @CODE |
66 |
|
67 |
_python_set_globals() { |
68 |
@@ -150,7 +150,7 @@ |
69 |
fi |
70 |
|
71 |
local flags=( "${impls[@]/#/python_targets_}" ) |
72 |
- local optflags=${flags[@]/%/?} |
73 |
+ local optflags=${flags[@]/%/(-)?} |
74 |
|
75 |
# A nice QA trick here. Since a python-single-r1 package has to have |
76 |
# at least one PYTHON_SINGLE_TARGET enabled (REQUIRED_USE), |
77 |
@@ -229,7 +229,7 @@ |
78 |
for pattern; do |
79 |
if [[ ${impl} == ${pattern} ]]; then |
80 |
matches+=( |
81 |
- "python_targets_${impl}?" |
82 |
+ "python_targets_${impl}(-)?" |
83 |
"-python_single_target_${impl}(-)" |
84 |
) |
85 |
break |
86 |
|
87 |
|
88 |
|
89 |
1.15 eclass/python-single-r1.eclass |
90 |
|
91 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python-single-r1.eclass?rev=1.15&view=markup |
92 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python-single-r1.eclass?rev=1.15&content-type=text/plain |
93 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python-single-r1.eclass?r1=1.14&r2=1.15 |
94 |
|
95 |
Index: python-single-r1.eclass |
96 |
=================================================================== |
97 |
RCS file: /var/cvsroot/gentoo-x86/eclass/python-single-r1.eclass,v |
98 |
retrieving revision 1.14 |
99 |
retrieving revision 1.15 |
100 |
diff -u -r1.14 -r1.15 |
101 |
--- python-single-r1.eclass 21 Jan 2013 19:28:16 -0000 1.14 |
102 |
+++ python-single-r1.eclass 30 Jan 2013 10:42:25 -0000 1.15 |
103 |
@@ -1,6 +1,6 @@ |
104 |
# Copyright 1999-2013 Gentoo Foundation |
105 |
# Distributed under the terms of the GNU General Public License v2 |
106 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/python-single-r1.eclass,v 1.14 2013/01/21 19:28:16 mgorny Exp $ |
107 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/python-single-r1.eclass,v 1.15 2013/01/30 10:42:25 mgorny Exp $ |
108 |
|
109 |
# @ECLASS: python-single-r1 |
110 |
# @MAINTAINER: |
111 |
@@ -130,7 +130,7 @@ |
112 |
# |
113 |
# Example value: |
114 |
# @CODE |
115 |
-# python_targets_python2_7?,python_single_target_python2_7(+)? |
116 |
+# python_targets_python2_7(-)?,python_single_target_python2_7(+)? |
117 |
# @CODE |
118 |
|
119 |
_python_single_set_globals() { |
120 |
@@ -159,7 +159,7 @@ |
121 |
local flags_mt=( "${impls[@]/#/python_targets_}" ) |
122 |
local flags=( "${impls[@]/#/python_single_target_}" ) |
123 |
|
124 |
- local optflags=${flags_mt[@]/%/?} |
125 |
+ local optflags=${flags_mt[@]/%/(-)?} |
126 |
optflags+=,${flags[@]/%/(+)?} |
127 |
|
128 |
IUSE="${flags_mt[*]} ${flags[*]}" |