Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-python
Navigation:
Lists: gentoo-python: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-python@g.o
From: "Nikolaj Sjujskij" <sterkrig@...>
Subject: Re: New eclass for Python
Date: Mon, 14 May 2012 21:42:37 +0400
Den 2012-05-14 20:12:51 skrev Krzysztof Pawlik <nelchael@g.o>:

> On 13/05/12 21:57, Dirkjan Ochtman wrote:
>> On Sat, May 12, 2012 at 10:32 PM, Mike Gilbert <floppym@g.o>  
>> wrote:
>>> Why not emulate php/ruby and set a default value in the base profile?
>>> See profiles/base/make.defaults.
>>>
>>> I think PYTHON_TARGETS="python2_7 python3_2" would be a reasonable  
>>> choice.
>>
>> Yeah, I think we should provide a default value, and this default
>> value looks good to me.
>
> Feel free to do so :) I would disagree with adding py3 to default, but  
> it's only me.
  It would be pretty strange if we had had Py3k as default Python (i.e. in  
stage3) and PYTHON_TARGETS for another version altogether.

And how would new eclass behave in such case? Just-out-of-stage3 system  
would have only Python 3.2 installed, but PYTHON_TARGETS="python2_7  
python3_2". Let's say user tries to:
  # emerge -av pygments
Of course, assuming dev-python/pygments had been ported to new eclass.  
Would python-distutils-ng handle this correctly and transparently? Without  
obscure errors like "You wants Python 2.7 but haz no Python 2.7"? Without  
pulling dev-lang/python:2.7 in? If not, I call this serious usability  
regression.


Replies:
Re: New eclass for Python
-- Krzysztof Pawlik
References:
New eclass for Python
-- Krzysztof Pawlik
Re: New eclass for Python
-- Nikolaj Sjujskij
Re: New eclass for Python
-- Krzysztof Pawlik
Re: New eclass for Python
-- Michał Górny
Re: New eclass for Python
-- Mike Gilbert
Re: New eclass for Python
-- Dirkjan Ochtman
Re: New eclass for Python
-- Krzysztof Pawlik
Navigation:
Lists: gentoo-python: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: New eclass for Python
Next by thread:
Re: New eclass for Python
Previous by date:
Re: New eclass for Python
Next by date:
Re: New eclass for Python


Updated Jun 01, 2012

Summary: Archive of the gentoo-python mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.