On Fri, 9 Aug 2013 18:40:39 +0200
Arfrever Frehtes Taifersar Arahesis <arfrever....@gmail.com> wrote:

> Some people want that repoman print warnings for ebuilds, whose
> effective IUSE contains deprecated USE flags (e.g. USE flags
> corresponding to old versions of Python/Ruby). I suggest that
> deprecation of USE flags be specified by " (DEPRECATED)" suffix in
> descriptions of given flags in profiles/use.desc and
> profiles/desc/*.desc files.
> 
> Any opinions about syntax?

Is there a use case for something like (DEPRECATED BY X) ; X being
another use flag or maybe bugid ?

> Example:
> 
> Index: profiles/desc/python_single_target.desc
> ===================================================================
> RCS
> file: /var/cvsroot/gentoo-x86/profiles/desc/python_single_target.desc,v
> retrieving revision 1.5 diff -u -r1.5 python_single_target.desc
> --- profiles/desc/python_single_target.desc     5 Aug 2013 14:20:47
> -0000       1.5 +++ profiles/desc/python_single_target.desc     9 Aug
> 2013 16:27:37 -0000 @@ -4,14 +4,14 @@
>  
>  # This file contains descriptions of PYTHON_SINGLE_TARGET USE_EXPAND
> flags. 
> -python2_5 - Build for Python 2.5 only
> +python2_5 - Build for Python 2.5 only (DEPRECATED)
>  python2_6 - Build for Python 2.6 only
>  python2_7 - Build for Python 2.7 only
> -python3_1 - Build for Python 3.1 only
> +python3_1 - Build for Python 3.1 only (DEPRECATED)
>  python3_2 - Build for Python 3.2 only
>  python3_3 - Build for Python 3.3 only
> -jython2_5 - Build for Jython 2.5 only
> +jython2_5 - Build for Jython 2.5 only (DEPRECATED)
>  jython2_7 - Build for Jython 2.7 only
> -pypy1_9 - Build for PyPy 1.9 only
> +pypy1_9 - Build for PyPy 1.9 only (DEPRECATED)
>  pypy2_0 - Build for PyPy 2.0 only
>  pypy2_1 - Build for PyPy 2.1 only
> Index: profiles/desc/python_targets.desc
> ===================================================================
> RCS file: /var/cvsroot/gentoo-x86/profiles/desc/python_targets.desc,v
> retrieving revision 1.9
> diff -u -r1.9 python_targets.desc
> --- profiles/desc/python_targets.desc   5 Aug 2013 14:20:47
> -0000       1.9 +++ profiles/desc/python_targets.desc   9 Aug 2013
> 16:27:37 -0000 @@ -4,15 +4,15 @@
>  
>  # This file contains descriptions of PYTHON_TARGETS USE_EXPAND flags.
>  
> -python2_5 - Build with Python 2.5
> +python2_5 - Build with Python 2.5 (DEPRECATED)
>  python2_6 - Build with Python 2.6
>  python2_7 - Build with Python 2.7
> -python3_1 - Build with Python 3.1
> +python3_1 - Build with Python 3.1 (DEPRECATED)
>  python3_2 - Build with Python 3.2
>  python3_3 - Build with Python 3.3
>  python3_4 - Build with Python 3.4
> -jython2_5 - Build with Jython 2.5
> +jython2_5 - Build with Jython 2.5 (DEPRECATED)
>  jython2_7 - Build with Jython 2.7
> -pypy1_9 - Build with PyPy 1.9
> +pypy1_9 - Build with PyPy 1.9 (DEPRECATED)
>  pypy2_0 - Build with PyPy 2.0
>  pypy2_1 - Build with PyPy 2.1
> Index: profiles/desc/ruby_targets.desc
> ===================================================================
> RCS file: /var/cvsroot/gentoo-x86/profiles/desc/ruby_targets.desc,v
> retrieving revision 1.3
> diff -u -r1.3 ruby_targets.desc
> --- profiles/desc/ruby_targets.desc     23 Jun 2013 12:31:14
> -0000      1.3 +++ profiles/desc/ruby_targets.desc     9 Aug 2013
> 16:27:37 -0000 @@ -6,7 +6,7 @@
>  
>  rbx - Build with Rubinius
>  jruby - Build with JRuby
> -ree18 - Build with Ruby Enterprise Edition 1.8.x
> +ree18 - Build with Ruby Enterprise Edition 1.8.x (DEPRECATED)
>  ruby18 - Build with MRI Ruby 1.8.x
>  ruby19 - Build with MRI Ruby 1.9.x
>  ruby20 - Build with MRI Ruby 2.0.x
> 
> --
> Arfrever Frehtes Taifersar Arahesis

Attachment: signature.asc
Description: PGP signature

Reply via email to