Gentoo Archives: gentoo-dev

From: yac <yac@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Marking of deprecated USE flags
Date: Fri, 09 Aug 2013 17:40:05
Message-Id: 20130809193951.070ff696@gentoo.org
In Reply to: [gentoo-dev] Marking of deprecated USE flags by Arfrever Frehtes Taifersar Arahesis
1 On Fri, 9 Aug 2013 18:40:39 +0200
2 Arfrever Frehtes Taifersar Arahesis <arfrever.fta@×××××.com> wrote:
3
4 > Some people want that repoman print warnings for ebuilds, whose
5 > effective IUSE contains deprecated USE flags (e.g. USE flags
6 > corresponding to old versions of Python/Ruby). I suggest that
7 > deprecation of USE flags be specified by " (DEPRECATED)" suffix in
8 > descriptions of given flags in profiles/use.desc and
9 > profiles/desc/*.desc files.
10 >
11 > Any opinions about syntax?
12
13 Is there a use case for something like (DEPRECATED BY X) ; X being
14 another use flag or maybe bugid ?
15
16 > Example:
17 >
18 > Index: profiles/desc/python_single_target.desc
19 > ===================================================================
20 > RCS
21 > file: /var/cvsroot/gentoo-x86/profiles/desc/python_single_target.desc,v
22 > retrieving revision 1.5 diff -u -r1.5 python_single_target.desc
23 > --- profiles/desc/python_single_target.desc 5 Aug 2013 14:20:47
24 > -0000 1.5 +++ profiles/desc/python_single_target.desc 9 Aug
25 > 2013 16:27:37 -0000 @@ -4,14 +4,14 @@
26 >
27 > # This file contains descriptions of PYTHON_SINGLE_TARGET USE_EXPAND
28 > flags.
29 > -python2_5 - Build for Python 2.5 only
30 > +python2_5 - Build for Python 2.5 only (DEPRECATED)
31 > python2_6 - Build for Python 2.6 only
32 > python2_7 - Build for Python 2.7 only
33 > -python3_1 - Build for Python 3.1 only
34 > +python3_1 - Build for Python 3.1 only (DEPRECATED)
35 > python3_2 - Build for Python 3.2 only
36 > python3_3 - Build for Python 3.3 only
37 > -jython2_5 - Build for Jython 2.5 only
38 > +jython2_5 - Build for Jython 2.5 only (DEPRECATED)
39 > jython2_7 - Build for Jython 2.7 only
40 > -pypy1_9 - Build for PyPy 1.9 only
41 > +pypy1_9 - Build for PyPy 1.9 only (DEPRECATED)
42 > pypy2_0 - Build for PyPy 2.0 only
43 > pypy2_1 - Build for PyPy 2.1 only
44 > Index: profiles/desc/python_targets.desc
45 > ===================================================================
46 > RCS file: /var/cvsroot/gentoo-x86/profiles/desc/python_targets.desc,v
47 > retrieving revision 1.9
48 > diff -u -r1.9 python_targets.desc
49 > --- profiles/desc/python_targets.desc 5 Aug 2013 14:20:47
50 > -0000 1.9 +++ profiles/desc/python_targets.desc 9 Aug 2013
51 > 16:27:37 -0000 @@ -4,15 +4,15 @@
52 >
53 > # This file contains descriptions of PYTHON_TARGETS USE_EXPAND flags.
54 >
55 > -python2_5 - Build with Python 2.5
56 > +python2_5 - Build with Python 2.5 (DEPRECATED)
57 > python2_6 - Build with Python 2.6
58 > python2_7 - Build with Python 2.7
59 > -python3_1 - Build with Python 3.1
60 > +python3_1 - Build with Python 3.1 (DEPRECATED)
61 > python3_2 - Build with Python 3.2
62 > python3_3 - Build with Python 3.3
63 > python3_4 - Build with Python 3.4
64 > -jython2_5 - Build with Jython 2.5
65 > +jython2_5 - Build with Jython 2.5 (DEPRECATED)
66 > jython2_7 - Build with Jython 2.7
67 > -pypy1_9 - Build with PyPy 1.9
68 > +pypy1_9 - Build with PyPy 1.9 (DEPRECATED)
69 > pypy2_0 - Build with PyPy 2.0
70 > pypy2_1 - Build with PyPy 2.1
71 > Index: profiles/desc/ruby_targets.desc
72 > ===================================================================
73 > RCS file: /var/cvsroot/gentoo-x86/profiles/desc/ruby_targets.desc,v
74 > retrieving revision 1.3
75 > diff -u -r1.3 ruby_targets.desc
76 > --- profiles/desc/ruby_targets.desc 23 Jun 2013 12:31:14
77 > -0000 1.3 +++ profiles/desc/ruby_targets.desc 9 Aug 2013
78 > 16:27:37 -0000 @@ -6,7 +6,7 @@
79 >
80 > rbx - Build with Rubinius
81 > jruby - Build with JRuby
82 > -ree18 - Build with Ruby Enterprise Edition 1.8.x
83 > +ree18 - Build with Ruby Enterprise Edition 1.8.x (DEPRECATED)
84 > ruby18 - Build with MRI Ruby 1.8.x
85 > ruby19 - Build with MRI Ruby 1.9.x
86 > ruby20 - Build with MRI Ruby 2.0.x
87 >
88 > --
89 > Arfrever Frehtes Taifersar Arahesis

Attachments

File name MIME type
signature.asc application/pgp-signature