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-devhelp
Navigation:
Lists: gentoo-devhelp: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-devhelp@g.o
From: Nikos Chantziaras <realnc@...>
Subject: Re: PYTHON_DEPEND syntax
Date: Tue, 16 Aug 2011 18:27:43 +0300
On 08/16/2011 06:21 PM, Nathan Phillip Brink wrote:
> On Tue, Aug 16, 2011 at 05:25:47PM +0300, Nikos Chantziaras wrote:
>> I'm not sure I understand PYTHON_DEPEND. If I have a package that works
>> with Python 2.6 and newer (like 2.7), but is incompatible with 3.x
>> versions, how do I state that?  What I want is:
>>
>>    >= 2.6&&  <  3
>
> I think that the correct syntax for this would be
> PYTHON_DEPEND="2:2.6" if I'm reading the docs for
> _python_parse_PYTHON_DEPEND() correctly.
>
> Are you installing a python module or just something which uses
> python? For a module, you will need to define PYTHON_RESTRICT_ABIS to
> "2.[1-5] 3" after setting SUPPORT_PYTHON_ABIS=1 and doing all the
> magic to support multiple ABIs (which might be none if you're using
> distutils).
>
> There is useful information at
> http://www.gentoo.org/proj/en/Python/developersguide.xml too.

Thanks.  I tend to RTFM less these days directly on Gentoo.org since 
most of the time the docs are outdated and don't apply to what I'm 
looking for.  But in this case, they helped :-)



Replies:
Re: Re: PYTHON_DEPEND syntax
-- Peter Volkov
References:
PYTHON_DEPEND syntax
-- Nikos Chantziaras
Re: PYTHON_DEPEND syntax
-- Nathan Phillip Brink
Navigation:
Lists: gentoo-devhelp: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: PYTHON_DEPEND syntax
Next by thread:
Re: Re: PYTHON_DEPEND syntax
Previous by date:
Re: PYTHON_DEPEND syntax
Next by date:
games eclass has no effect with distutils


Updated Jun 03, 2012

Summary: Archive of the gentoo-devhelp mailing list.

Donate to support our development efforts.

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