From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-dev+bounces-50875-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1SFRE9-0007gk-T0
	for garchives@archives.gentoo.org; Wed, 04 Apr 2012 14:30:26 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id BC4F7E0CBF;
	Wed,  4 Apr 2012 14:30:06 +0000 (UTC)
Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id D78A0E0BDD
	for <gentoo-dev@lists.gentoo.org>; Wed,  4 Apr 2012 14:29:18 +0000 (UTC)
Received: by bkwj4 with SMTP id j4so376694bkw.40
        for <gentoo-dev@lists.gentoo.org>; Wed, 04 Apr 2012 07:29:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        bh=hpmwbCQ3sIN1fN8Pud+cB7Dmp0fJB9o5HVmviVp+7eo=;
        b=fPZJKj+7PAuRaXi8l/e6G1RFCKAb/f1tSJn25rtPxURAn4yk/OFF9gQ5d5xhC2Iu7t
         l9LzNPcoOrpeI7G3jKnj3FvA9NZJrAy34WfMfyfsLZgB4s9fG5rYNpPe2yWzDhHgWYyL
         aE5FboQK4NuBqGwR/3z7BQHDPg3ydV/pJFV3JK4FxUmk605SqReeOnGkltqV9l2dNmsz
         L55Ygis6Q5HzVNL/zTli+GoCoBZEjzGYaxCboncU9RKrKdmK/VRtc+xgDAw+/az89ESL
         NEd4OMgsdwEDNWhHqaFCsZDSHvBKeCD4dwpZuCU/C0xs/2wi9JyPRhhOeryTZLKDfwQa
         OWBQ==
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.204.151.81 with SMTP id b17mr7369841bkw.17.1333549757935; Wed,
 04 Apr 2012 07:29:17 -0700 (PDT)
Received: by 10.205.32.202 with HTTP; Wed, 4 Apr 2012 07:29:17 -0700 (PDT)
In-Reply-To: <CAJ0EP42ak4gU9wbgK55MZRC3f=o-2jKgkEkV9M-na0bTYSSpLQ@mail.gmail.com>
References: <4F4D4380.9070909@gentoo.org>
	<4F6F6A6A.6050303@gentoo.org>
	<4F7018CA.80804@gentoo.org>
	<4F70954D.5000401@gentoo.org>
	<4F709804.8060607@gentoo.org>
	<CAHR064hOevJa9vBXdndsZqTyR-bhnfT7iKL5vYazCqB-DQ0Afg@mail.gmail.com>
	<CAJ0EP42ak4gU9wbgK55MZRC3f=o-2jKgkEkV9M-na0bTYSSpLQ@mail.gmail.com>
Date: Wed, 4 Apr 2012 16:29:17 +0200
Message-ID: <CAHR064juD18LEm+HXQJMYtzgmodNXRVv0bOmZwnfn0VZT+unrg@mail.gmail.com>
Subject: Re: [gentoo-dev] New eclass for Python
From: Corentin Chary <corentin.chary@gmail.com>
To: gentoo-dev@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
X-Archives-Salt: f1b70663-1f95-44f9-9b66-c2950899feb2
X-Archives-Hash: 1bbe3fdac9ad806e879911f04d3c9e32

On Wed, Apr 4, 2012 at 4:22 PM, Mike Gilbert <floppym@gentoo.org> wrote:
> On Wed, Apr 4, 2012 at 4:50 AM, Corentin Chary <corentin.chary@gmail.com> wrote:
>> I have a package that depends on python-dateutil:python-2 for
>> python2_x and python-dateutil:python-3 for python3_x.
>> Would it be possible to have virtual targets like "python, python2,
>> python3, pypi, jithon" ?
>>
>
> With regards to python-dateutil: As of python-dateutil-2.1, there are
> no longer separate slots for python-2 and python-3. As well, I masked
> the only version (2.0) with SLOT=python-3.
>
> For future compatibility, you should remove the slot from your
> dependencies and just depend on dev-python/python-dateutil.
>

Yep, I just saw that. But well, celery is full of examples like thats
since it have different dependencies for python2, python2.5, python2.5
+ tests, jython, jython + tests, etc..
Having a way to group similar python would be great.


-- 
Corentin Chary
http://xf.iksaif.net