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-50876-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1SFRQ2-0001LS-TU
	for garchives@archives.gentoo.org; Wed, 04 Apr 2012 14:42:43 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E22A7E0C81;
	Wed,  4 Apr 2012 14:42:08 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 6059EE0C48
	for <gentoo-dev@lists.gentoo.org>; Wed,  4 Apr 2012 14:41:06 +0000 (UTC)
Received: from mail-qc0-f181.google.com (mail-qc0-f181.google.com [209.85.216.181])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: floppym)
	by smtp.gentoo.org (Postfix) with ESMTPSA id CB9C51B401E
	for <gentoo-dev@lists.gentoo.org>; Wed,  4 Apr 2012 14:41:05 +0000 (UTC)
Received: by qcsk26 with SMTP id k26so215357qcs.40
        for <gentoo-dev@lists.gentoo.org>; Wed, 04 Apr 2012 07:41:03 -0700 (PDT)
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.224.116.74 with SMTP id l10mr22797533qaq.42.1333550463781;
 Wed, 04 Apr 2012 07:41:03 -0700 (PDT)
Received: by 10.229.214.134 with HTTP; Wed, 4 Apr 2012 07:41:03 -0700 (PDT)
In-Reply-To: <CAHR064hOevJa9vBXdndsZqTyR-bhnfT7iKL5vYazCqB-DQ0Afg@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>
Date: Wed, 4 Apr 2012 10:41:03 -0400
Message-ID: <CAJ0EP42T070KHaD3_XcrVZJN60SCzAFYqVpExPiXamvzLkK8Mw@mail.gmail.com>
Subject: Re: [gentoo-dev] New eclass for Python
From: Mike Gilbert <floppym@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
X-Archives-Salt: abcafe95-49f0-4e86-b7c6-5f35dd364bb7
X-Archives-Hash: 8d06f220457c5ec35fedd95a3fb01e9b

On Wed, Apr 4, 2012 at 4:50 AM, Corentin Chary <corentin.chary@gmail.com> wrote:
> I have a feature request for distutil-ng (or maybe it's already
> possible but I don't know how).
>
> 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" ?
>

One way to implement this would be to have a separate function that
you would call to generate abi-specific dependencies.