On 11-01-2010 01:25:45 +0100, Arfrever Frehtes Taifersar Arahesis wrote:
> > Can you explain the intended use of this variable, and why normal DEPEND
> > is not sufficient?
> 
> PYTHON_DEPEND is intented to simplify specification of dependency on Python.
> 
> PYTHON_DEPEND="2:2.5" is shorter than:
> DEPEND="|| ( =dev-lang/python-2.7* =dev-lang/python-2.6* 
> =dev-lang/python-2.5* )"

So if there is enough space to express the dependency with the current
syntax, is it worth introducing a new shorthand for it then?

Also for this example, why does 2:2.5 expand to 2.7, 2.6 and 2.5?  I
would have expected 2.0 ... 2.5.  Maybe the language isn't as intuitive
then as Sebastian pointed out.


-- 
Fabian Groffen
Gentoo on a different level

Reply via email to