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 1SFaqJ-0001BI-4u for garchives@archives.gentoo.org; Thu, 05 Apr 2012 00:46:27 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4BE7CE1082; Thu, 5 Apr 2012 00:46:13 +0000 (UTC) Received: from mail-pz0-f52.google.com (mail-pz0-f52.google.com [209.85.210.52]) by pigeon.gentoo.org (Postfix) with ESMTP id 04D99E0EAA for ; Thu, 5 Apr 2012 00:45:42 +0000 (UTC) Received: by dake40 with SMTP id e40so880604dak.11 for ; Wed, 04 Apr 2012 17:45:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=xtZH1UoJQglnuRTNNRPU8nYhXMd8kEs9g3JsduW/jaw=; b=0g2cKvIUedYpy/A3fez6nts0XEE3LvmTqpWaIcQoQzcsTmOwGqlfu0HNjRfA+E4lxn MdeTTQm0+F6ch5seb+HqY67Kad9i0b0jPDs34SYeXC1Poyd9RNT2azdf8Kun/aOSrlwm 7OzTDyPrrmLEBeWy1WxRWZY1Md8xV33di6Puq69VMfHr2A2/s1ZEVt6Z/2tTU+i2yaM4 8d25azNdWJXEMw2t43LzWAK1pPubqhGaVgJr+/S2qJcO1OL0G6SsBzn5BuUWN+zOefBd ksWcVuVYpPXZch+edFLrUTeGUsyiLKSpzpEl3LAL7vwExR20LBJZyy1Wnnz4hQQgFppv mxqg== Received: by 10.68.219.3 with SMTP id pk3mr43993pbc.34.1333586742213; Wed, 04 Apr 2012 17:45:42 -0700 (PDT) Received: from smtp.gmail.com:587 (74-95-192-101-SFBA.hfc.comcastbusiness.net. [74.95.192.101]) by mx.google.com with ESMTPS id g8sm1709019pbo.25.2012.04.04.17.45.40 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 Apr 2012 17:45:41 -0700 (PDT) Received: by smtp.gmail.com:587 (sSMTP sendmail emulation); Wed, 04 Apr 2012 17:45:41 -0700 Date: Wed, 4 Apr 2012 17:45:41 -0700 From: Brian Harring To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] New eclass for Python Message-ID: <20120405004541.GB6994@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> 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 80eedd43-7f2a-496f-9ad8-ba2b14d750a8 X-Archives-Hash: e9f6d5a940bfe6fbdd291ab9c7c30910 On Wed, Apr 04, 2012 at 08:36:37PM -0400, Mike Gilbert wrote: > 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? ??Not so much. :) > > All I'm talking about is a function or function(s) to generate deps like these: > > 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". Nah, that's fine- that's metadata level representation of it. Sorry, aparenytly I misread your original email- interpretted it as shelling out for that decision (something people propose occasionally, and usually needs to be stomped out w/ maximal force), rather than representing it properly in dependencies. What you're intending there is perfectly sane/acceptable; pardon the noise ;) ~brian