Re: [gentoo-dev] PYTHON_DEPEND - Suggested replacement for NEED_PYTHON

2010-01-12 Thread Arfrever Frehtes Taifersar Arahesis
2010-01-11 11:14:11 Maciej Mrozowski napisał(a): > On Monday 11 of January 2010 01:25:45 Arfrever Frehtes Taifersar Arahesis > wrote: > > 2010-01-10 21:56:01 Fabian Groffen napisał(a): > > > On 10-01-2010 09:29:28 +0100, Arfrever Frehtes Taifersar Arahesis wrote: > > > > I would like to suggest in

Re: [gentoo-dev] PYTHON_DEPEND - Suggested replacement for NEED_PYTHON

2010-01-12 Thread Arfrever Frehtes Taifersar Arahesis
2010-01-11 12:04:05 Gilles Dartiguelongue napisał(a): > It looks like what you really want is a ranged dependencies. Dependencies specified in PYTHON_DEPEND can be expanded into ranged dependencies in EAPIs, which support ranged dependencies. -- Arfrever Frehtes Taifersar Arahesis signature.as

Re: [gentoo-dev] PYTHON_DEPEND - Suggested replacement for NEED_PYTHON

2010-01-11 Thread Sebastian Pipping
On 01/11/10 09:47, Arfrever Frehtes Taifersar Arahesis wrote: > 2010-01-11 04:55:02 Sebastian Pipping napisał(a): > PYTHON_DEPEND="2:2.5:2.6" > Dependency on Python 2.6 or 2.5. >> >> The colon (':') has two different semantics here. > > The colon is only separator of components, so i

Re: [gentoo-dev] PYTHON_DEPEND - Suggested replacement for NEED_PYTHON

2010-01-11 Thread Gilles Dartiguelongue
It looks like what you really want is a ranged dependencies. From the look of it though I have to second the "it does not seem intuitive" opinion as it gives another meaning to the slot syntax marker (':'). Other than that, it seems like a worthy addition to the eclass. -- Gilles Dartiguelongue

Re: [gentoo-dev] PYTHON_DEPEND - Suggested replacement for NEED_PYTHON

2010-01-11 Thread Maciej Mrozowski
On Monday 11 of January 2010 01:25:45 Arfrever Frehtes Taifersar Arahesis wrote: > 2010-01-10 21:56:01 Fabian Groffen napisał(a): > > On 10-01-2010 09:29:28 +0100, Arfrever Frehtes Taifersar Arahesis wrote: > > > I would like to suggest introduction of support for PYTHON_DEPEND > > > variable, whi

Re: [gentoo-dev] PYTHON_DEPEND - Suggested replacement for NEED_PYTHON

2010-01-11 Thread Arfrever Frehtes Taifersar Arahesis
2010-01-11 08:50:30 Fabian Groffen napisał(a): > 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 dependenc

Re: [gentoo-dev] PYTHON_DEPEND - Suggested replacement for NEED_PYTHON

2010-01-11 Thread Arfrever Frehtes Taifersar Arahesis
2010-01-11 04:55:02 Sebastian Pipping napisał(a): > >>> PYTHON_DEPEND="2:2.5:2.6" > >>> Dependency on Python 2.6 or 2.5. > > The colon (':') has two different semantics here. The colon is only separator of components, so it has the same semantic. Each component has strictly defined meaning.

Re: [gentoo-dev] PYTHON_DEPEND - Suggested replacement for NEED_PYTHON

2010-01-11 Thread Fabian Groffen
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:

Re: [gentoo-dev] PYTHON_DEPEND - Suggested replacement for NEED_PYTHON

2010-01-10 Thread Sebastian Pipping
>>> PYTHON_DEPEND="2:2.5:2.6" >>> Dependency on Python 2.6 or 2.5. The colon (':') has two different semantics here. This violates "different things should look different". You are designing a language here. Please improve the proposal. Sebastian

Re: [gentoo-dev] PYTHON_DEPEND - Suggested replacement for NEED_PYTHON

2010-01-10 Thread Arfrever Frehtes Taifersar Arahesis
2010-01-10 21:56:01 Fabian Groffen napisał(a): > On 10-01-2010 09:29:28 +0100, Arfrever Frehtes Taifersar Arahesis wrote: > > I would like to suggest introduction of support for PYTHON_DEPEND variable, > > which > > would be a better replacement for NEED_PYTHON variable. NEED_PYTHON variable > > d

Re: [gentoo-dev] PYTHON_DEPEND - Suggested replacement for NEED_PYTHON

2010-01-10 Thread Arfrever Frehtes Taifersar Arahesis
2010-01-10 19:41:55 Sebastian Pipping napisał(a): > On 01/10/10 09:29, Arfrever Frehtes Taifersar Arahesis wrote: > > I would like to suggest introduction of support for PYTHON_DEPEND variable, > > which > > would be a better replacement for NEED_PYTHON variable. NEED_PYTHON variable > > does not

Re: [gentoo-dev] PYTHON_DEPEND - Suggested replacement for NEED_PYTHON

2010-01-10 Thread Fabian Groffen
On 10-01-2010 09:29:28 +0100, Arfrever Frehtes Taifersar Arahesis wrote: > I would like to suggest introduction of support for PYTHON_DEPEND variable, > which > would be a better replacement for NEED_PYTHON variable. NEED_PYTHON variable > does not allow to specify that e.g. only versions of Pytho

Re: [gentoo-dev] PYTHON_DEPEND - Suggested replacement for NEED_PYTHON

2010-01-10 Thread Sebastian Pipping
On 01/10/10 09:29, Arfrever Frehtes Taifersar Arahesis wrote: > I would like to suggest introduction of support for PYTHON_DEPEND variable, > which > would be a better replacement for NEED_PYTHON variable. NEED_PYTHON variable > does not allow to specify that e.g. only versions of Python 2 are acc