Gentoo Archives: gentoo-dev

From: Brian Harring <ferringb@×××××.com>
To: gentoo-dev@l.g.o
Cc: Arfrever@g.o
Subject: Re: [gentoo-dev] Python-3.2-related changes
Date: Sat, 06 Feb 2010 12:15:19
Message-Id: 20100206121441.GA6406@hrair
In Reply to: Re: [gentoo-dev] Python-3.2-related changes by Arfrever Frehtes Taifersar Arahesis
1 On Sat, Feb 06, 2010 at 12:03:11PM +0100, Arfrever Frehtes Taifersar Arahesis wrote:
2 > 2010-02-05 17:40:00 Arfrever Frehtes Taifersar Arahesis napisał(a):
3 > > - Dependency on Python 2 should be set correctly. You can specify it directly in
4 > > {,R}DEPEND or use PYTHON_DEPEND.
5 > >
6 > > Example:
7 > > PYTHON_DEPEND="2"
8 > >
9 > > inherit python
10 >
11 > It might be useful to provide another example:
12 > If given package requires e.g. Python >=2.6, but does not support Python 3, then you can
13 > set PYTHON_DEPEND="2:2.6".
14
15 We really need better syntax than that. Particular reason you're
16 jamming py2k and py3k all into one? Breaking it down into
17 PYTHON2K_DEPEND and PYTHON3K_DEPEND would involve lest magic in
18 parsing and would be clear in the reading I'd expect.
19
20 ~harring

Replies

Subject Author
Re: [gentoo-dev] Python-3.2-related changes Arfrever Frehtes Taifersar Arahesis <Arfrever@g.o>