Gentoo Archives: gentoo-dev

From: Corentin Chary <corentin.chary@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] New eclass for Python
Date: Wed, 04 Apr 2012 14:30:26
Message-Id: CAHR064juD18LEm+HXQJMYtzgmodNXRVv0bOmZwnfn0VZT+unrg@mail.gmail.com
In Reply to: Re: [gentoo-dev] New eclass for Python by Mike Gilbert
1 On Wed, Apr 4, 2012 at 4:22 PM, Mike Gilbert <floppym@g.o> wrote:
2 > On Wed, Apr 4, 2012 at 4:50 AM, Corentin Chary <corentin.chary@×××××.com> wrote:
3 >> I have a package that depends on python-dateutil:python-2 for
4 >> python2_x and python-dateutil:python-3 for python3_x.
5 >> Would it be possible to have virtual targets like "python, python2,
6 >> python3, pypi, jithon" ?
7 >>
8 >
9 > With regards to python-dateutil: As of python-dateutil-2.1, there are
10 > no longer separate slots for python-2 and python-3. As well, I masked
11 > the only version (2.0) with SLOT=python-3.
12 >
13 > For future compatibility, you should remove the slot from your
14 > dependencies and just depend on dev-python/python-dateutil.
15 >
16
17 Yep, I just saw that. But well, celery is full of examples like thats
18 since it have different dependencies for python2, python2.5, python2.5
19 + tests, jython, jython + tests, etc..
20 Having a way to group similar python would be great.
21
22
23 --
24 Corentin Chary
25 http://xf.iksaif.net