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 1SFR7h-0006jZ-NY for garchives@archives.gentoo.org; Wed, 04 Apr 2012 14:23:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B82E0E0C19; Wed, 4 Apr 2012 14:23:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id CE9C7E0CA6 for ; Wed, 4 Apr 2012 14:22:24 +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 3E0791B4002 for ; Wed, 4 Apr 2012 14:22:24 +0000 (UTC) Received: by qatm19 with SMTP id m19so478213qat.12 for ; Wed, 04 Apr 2012 07:22:22 -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.229.111.66 with SMTP id r2mr6867614qcp.140.1333549342173; Wed, 04 Apr 2012 07:22:22 -0700 (PDT) Received: by 10.229.214.134 with HTTP; Wed, 4 Apr 2012 07:22:22 -0700 (PDT) In-Reply-To: References: <4F4D4380.9070909@gentoo.org> <4F6F6A6A.6050303@gentoo.org> <4F7018CA.80804@gentoo.org> <4F70954D.5000401@gentoo.org> <4F709804.8060607@gentoo.org> Date: Wed, 4 Apr 2012 10:22:22 -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 X-Archives-Salt: 89cbfe28-6521-4ec2-adf6-b9aff1e294cb X-Archives-Hash: 35654cd5a98afceee5b3f7c5259924a4 On Wed, Apr 4, 2012 at 4:50 AM, Corentin Chary 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.