1 |
Some people want that repoman print warnings for ebuilds, whose effective IUSE contains deprecated |
2 |
USE flags (e.g. USE flags corresponding to old versions of Python/Ruby). I suggest that deprecation |
3 |
of USE flags be specified by " (DEPRECATED)" suffix in descriptions of given flags in profiles/use.desc |
4 |
and profiles/desc/*.desc files. |
5 |
|
6 |
Any opinions about syntax? |
7 |
|
8 |
Example: |
9 |
|
10 |
Index: profiles/desc/python_single_target.desc |
11 |
=================================================================== |
12 |
RCS file: /var/cvsroot/gentoo-x86/profiles/desc/python_single_target.desc,v |
13 |
retrieving revision 1.5 |
14 |
diff -u -r1.5 python_single_target.desc |
15 |
--- profiles/desc/python_single_target.desc 5 Aug 2013 14:20:47 -0000 1.5 |
16 |
+++ profiles/desc/python_single_target.desc 9 Aug 2013 16:27:37 -0000 |
17 |
@@ -4,14 +4,14 @@ |
18 |
|
19 |
# This file contains descriptions of PYTHON_SINGLE_TARGET USE_EXPAND flags. |
20 |
|
21 |
-python2_5 - Build for Python 2.5 only |
22 |
+python2_5 - Build for Python 2.5 only (DEPRECATED) |
23 |
python2_6 - Build for Python 2.6 only |
24 |
python2_7 - Build for Python 2.7 only |
25 |
-python3_1 - Build for Python 3.1 only |
26 |
+python3_1 - Build for Python 3.1 only (DEPRECATED) |
27 |
python3_2 - Build for Python 3.2 only |
28 |
python3_3 - Build for Python 3.3 only |
29 |
-jython2_5 - Build for Jython 2.5 only |
30 |
+jython2_5 - Build for Jython 2.5 only (DEPRECATED) |
31 |
jython2_7 - Build for Jython 2.7 only |
32 |
-pypy1_9 - Build for PyPy 1.9 only |
33 |
+pypy1_9 - Build for PyPy 1.9 only (DEPRECATED) |
34 |
pypy2_0 - Build for PyPy 2.0 only |
35 |
pypy2_1 - Build for PyPy 2.1 only |
36 |
Index: profiles/desc/python_targets.desc |
37 |
=================================================================== |
38 |
RCS file: /var/cvsroot/gentoo-x86/profiles/desc/python_targets.desc,v |
39 |
retrieving revision 1.9 |
40 |
diff -u -r1.9 python_targets.desc |
41 |
--- profiles/desc/python_targets.desc 5 Aug 2013 14:20:47 -0000 1.9 |
42 |
+++ profiles/desc/python_targets.desc 9 Aug 2013 16:27:37 -0000 |
43 |
@@ -4,15 +4,15 @@ |
44 |
|
45 |
# This file contains descriptions of PYTHON_TARGETS USE_EXPAND flags. |
46 |
|
47 |
-python2_5 - Build with Python 2.5 |
48 |
+python2_5 - Build with Python 2.5 (DEPRECATED) |
49 |
python2_6 - Build with Python 2.6 |
50 |
python2_7 - Build with Python 2.7 |
51 |
-python3_1 - Build with Python 3.1 |
52 |
+python3_1 - Build with Python 3.1 (DEPRECATED) |
53 |
python3_2 - Build with Python 3.2 |
54 |
python3_3 - Build with Python 3.3 |
55 |
python3_4 - Build with Python 3.4 |
56 |
-jython2_5 - Build with Jython 2.5 |
57 |
+jython2_5 - Build with Jython 2.5 (DEPRECATED) |
58 |
jython2_7 - Build with Jython 2.7 |
59 |
-pypy1_9 - Build with PyPy 1.9 |
60 |
+pypy1_9 - Build with PyPy 1.9 (DEPRECATED) |
61 |
pypy2_0 - Build with PyPy 2.0 |
62 |
pypy2_1 - Build with PyPy 2.1 |
63 |
Index: profiles/desc/ruby_targets.desc |
64 |
=================================================================== |
65 |
RCS file: /var/cvsroot/gentoo-x86/profiles/desc/ruby_targets.desc,v |
66 |
retrieving revision 1.3 |
67 |
diff -u -r1.3 ruby_targets.desc |
68 |
--- profiles/desc/ruby_targets.desc 23 Jun 2013 12:31:14 -0000 1.3 |
69 |
+++ profiles/desc/ruby_targets.desc 9 Aug 2013 16:27:37 -0000 |
70 |
@@ -6,7 +6,7 @@ |
71 |
|
72 |
rbx - Build with Rubinius |
73 |
jruby - Build with JRuby |
74 |
-ree18 - Build with Ruby Enterprise Edition 1.8.x |
75 |
+ree18 - Build with Ruby Enterprise Edition 1.8.x (DEPRECATED) |
76 |
ruby18 - Build with MRI Ruby 1.8.x |
77 |
ruby19 - Build with MRI Ruby 1.9.x |
78 |
ruby20 - Build with MRI Ruby 2.0.x |
79 |
|
80 |
-- |
81 |
Arfrever Frehtes Taifersar Arahesis |