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 ) id 1SFahy-00085n-As for garchives@archives.gentoo.org; Thu, 05 Apr 2012 00:37:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7222B21C0DB; Thu, 5 Apr 2012 00:37:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 75AF921C0D3 for ; Thu, 5 Apr 2012 00:36:40 +0000 (UTC) Received: from mail-qa0-f46.google.com (mail-qa0-f46.google.com [209.85.216.46]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id AC31E1B4002 for ; Thu, 5 Apr 2012 00:36:39 +0000 (UTC) Received: by qatm19 with SMTP id m19so956373qat.12 for ; Wed, 04 Apr 2012 17:36:37 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.224.180.200 with SMTP id bv8mr1503075qab.29.1333586197602; Wed, 04 Apr 2012 17:36:37 -0700 (PDT) Received: by 10.229.214.134 with HTTP; Wed, 4 Apr 2012 17:36:37 -0700 (PDT) In-Reply-To: <20120405000727.GA6994@localhost> References: <4F4D4380.9070909@gentoo.org> <4F6F6A6A.6050303@gentoo.org> <4F7018CA.80804@gentoo.org> <4F70954D.5000401@gentoo.org> <4F709804.8060607@gentoo.org> <20120405000727.GA6994@localhost> Date: Wed, 4 Apr 2012 20:36:37 -0400 Message-ID: Subject: Re: [gentoo-dev] New eclass for Python From: Mike Gilbert To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 54ef80a9-e55c-44fd-9e41-089dee5a5c46 X-Archives-Hash: a3f18405d012bbeec675e2b53309ff9a On Wed, Apr 4, 2012 at 8:07 PM, Brian Harring wrote: > On Wed, Apr 04, 2012 at 10:41:03AM -0400, Mike Gilbert wrote: >> On Wed, Apr 4, 2012 at 4:50 AM, Corentin Chary 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. > > Think through the performance implications of that, and the fact that > moves control/decisions outside of the PM resolvers purview. > > If it's use controlled and is part of metadata, sure, but anything > else? =C2=A0Not so much. :) All I'm talking about is a function or function(s) to generate deps like th= ese: python2_6? ( dev-python/python-dateutil[python2_6] ) python2_7? ( dev-python/python-dateutil[python2_7] ) I'm not sure how that would affect "performance".