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 1NeSQD-0007s6-3L for garchives@archives.gentoo.org; Mon, 08 Feb 2010 12:08:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 837C2E0C79; Mon, 8 Feb 2010 12:08:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1B9B3E0BC9 for ; Mon, 8 Feb 2010 12:08:41 +0000 (UTC) Received: from afta-gentoo.localnet (ip-85-198-235-97.broker.com.pl [85.198.235.97]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 740F61B42F8 for ; Mon, 8 Feb 2010 12:08:40 +0000 (UTC) From: Arfrever Frehtes Taifersar Arahesis To: Gentoo Development Subject: Re: [gentoo-dev] Python-3.2-related changes Date: Mon, 8 Feb 2010 13:11:50 +0100 User-Agent: KMail/1.12.4 (Linux/2.6.32-tuxonice-r1-AFTA; KDE/4.3.5; x86_64; ; ) References: <201002051740.29640.Arfrever@gentoo.org> <4B6F1FCD.7080409@gentoo.org> <20100208002022.GA6052@hrair> In-Reply-To: <20100208002022.GA6052@hrair> 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: multipart/signed; boundary="nextPart2704433.gzpm8xfJfG"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201002081312.18334.Arfrever@gentoo.org> X-Archives-Salt: e0c37819-2f10-4809-9972-873bda0207a9 X-Archives-Hash: 820609e2b9219603bcb221d8dec03c38 --nextPart2704433.gzpm8xfJfG Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 2010-02-08 01:20:22 Brian Harring napisa=C5=82(a): > On Sun, Feb 07, 2010 at 12:17:17PM -0800, Zac Medico wrote: > > I noticed that this generates a depedency like "|| ( > > =3Ddev-lang/python-2.7* =3Ddev-lang/python-2.6* )" which is very similar > > to the way that QT3VERSIONS works in qt3.eclass. One thing that is > > sub-optimal about these types of dependencies is that you end up > > with lots of installed packages that have out-dated dependencies > > when the next minor version of python is released (python-2.8 in > > this case). In the case of the python dependencies, it might be more > > optimal to use a version range like ">=3Ddev-lang/python-2.6 > > =20 > Thing is, the first deps are valid- the deps you posted however=20 > aren't and cannot be used as you're proposing. >=20 > Under || ( dev-lang/python:2.7 dev-lang/python:2.6 ) > Having python:2.6 or python:2.7 merged satisfies it. >=20 > Under >=3Ddev-lang/python:2.6 having "|| ( python:2.6 python:2.7 )" satisfies it, as does=20 > "|| ( python:2.4 python:2.5 ) || ( python:3.0 python:3.1 python:3.2 )" >=20 > Literally, python:2.5 and python:3.1 merged would satisfy it, which is=20 > completely contrary to the intent and an unlikely scenario (several of=20 > my machines have such a deployment). I will improve handling of cases when minimal and maximal versions aren't specified. E.g. PYTHON_DEPEND=3D"2" will be translated into dependency on "=3Ddev-lang/python-2*". =2D-=20 Arfrever Frehtes Taifersar Arahesis --nextPart2704433.gzpm8xfJfG Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iQIcBAABAgAGBQJLb/+iAAoJEFtpjAED8H0Y4F8P/0wdAJddVMDVfYHu28zxlLNY 6gTn/ZivbH73g2UATdrfYvaLHgx2ork+EhrzUMN3W1VomfREFh/bEV8YBwJKzynR qHeGkuLy+4VzckiIUSHSOwSPkj8eWbkjFbEWpg+jRkK6npmOBCu/DlmVDBDqne6c nH/wh9HWSjkTBDJIFxjRXWyk7KeI/YYrgSGBIYTCtUN7RQUC3vlVt0rrqrXo3Imj tNcuOAGdiEERkBbgwrxISoJX2JSdOFHvlhwP8tX2zkuDUO0H3p1exjjet3qwLbYk bqIljGb37mBZ0apynTLaISCY9k1wUYJ6jChvfrZpxrbKEfG+4wTC0KrapPyoFDDS 4K3xNAyVj2/9jlbJCHh2lrNlRzL4BZwHgvpfvbANpj8ZDcsC/h7ReyhKQKEZb0Ff QwCIig/m5APam2DODPBNXSDAbmzGuilaKFBq22QHR+I1j+Cnu2lNLRBXLcLQGuri HD7TVUY+1cMRHi+YZtf+X2MglBB0UNDErAHZ9qIavpom07RnvFqhTxG19bgtLjkJ VapQa1E613bD7Bahx284ydrvdCGL1ds4fVhSesKNKU27/RuA7rf7UuYDpltRkuWw e0MAobfLLEkHuakcIZMLS2aaDgsaFEvdQmenFU5fSYcd5EIEfXry7L0YifGHmuNs B0U1t8gjYRFMoz79yhKD =Hi7z -----END PGP SIGNATURE----- --nextPart2704433.gzpm8xfJfG--